Home
last modified time | relevance | path

Searched refs:getOperandUse (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DGuardUtils.cpp83 WC = &BI->getOperandUse(0); in parseWidenableBranch()
103 WC = &And->getOperandUse(0); in parseWidenableBranch()
104 C = &And->getOperandUse(1); in parseWidenableBranch()
110 WC = &And->getOperandUse(1); in parseWidenableBranch()
111 C = &And->getOperandUse(0); in parseWidenableBranch()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp298 LVI->getConstantRangeAtUse(Cmp->getOperandUse(0), in processICmp()
300 LVI->getConstantRangeAtUse(Cmp->getOperandUse(1), in processICmp()
406 ConstantRange CR = LVI->getConstantRangeAtUse(I->getOperandUse(0), in processSwitch()
439 LVI->getConstantRangeAtUse(BO->getOperandUse(0), /*UndefAllowed*/ false); in willNotOverflow()
441 LVI->getConstantRangeAtUse(BO->getOperandUse(1), /*UndefAllowed*/ false); in willNotOverflow()
504 II->getOperandUse(0), /*UndefAllowed*/ IsIntMinPoison); in processAbsIntrinsic()
543 LVI->getConstantRangeAtUse(CI->getOperandUse(0), /*UndefAllowed*/ false); in processCmpIntrinsic()
545 LVI->getConstantRangeAtUse(CI->getOperandUse(1), /*UndefAllowed*/ false); in processCmpIntrinsic()
573 ConstantRange LHS_CR = LVI->getConstantRangeAtUse(MM->getOperandUse(0), in processMinMaxIntrinsic()
575 ConstantRange RHS_CR = LVI->getConstantRangeAtUse(MM->getOperandUse(1), in processMinMaxIntrinsic()
[all …]
H A DInductiveRangeCheckElimination.cpp495 extractRangeChecksFromCond(L, SE, cast<User>(Condition)->getOperandUse(0), in extractRangeChecksFromCond()
497 extractRangeChecksFromCond(L, SE, cast<User>(Condition)->getOperandUse(1), in extractRangeChecksFromCond()
551 InductiveRangeCheck::extractRangeChecksFromCond(L, SE, BI->getOperandUse(0), in extractRangeChecksFromBranch()
H A DGVNSink.cpp913 I0->getOperandUse(O).set(NewOperands[O]); in sinkLastInstruction()
H A DLICM.cpp2729 Use &U0 = BO->getOperandUse(0); in hoistMulAddAssociation()
2730 Use &U1 = BO->getOperandUse(1); in hoistMulAddAssociation()
H A DSROA.cpp4378 if (S.getUse() != &SI->getOperandUse(SI->getPointerOperandIndex())) in presplitLoadsAndStores()
4545 &PLoad->getOperandUse(PLoad->getPointerOperandIndex()), in presplitLoadsAndStores()
4704 &PStore->getOperandUse(PStore->getPointerOperandIndex()), in presplitLoadsAndStores()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCanonicalizeFreezeInLoops.cpp212 InsertFreezeAndForgetFromSCEV(StepI->getOperandUse(Info.StepValIdx)); in run()
216 InsertFreezeAndForgetFromSCEV(PHI->getOperandUse(OperandIdx)); in run()
H A DLCSSA.cpp183 &PN->getOperandUse(PN->getOperandNumForIncomingValue( in formLCSSAForInstructions()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DUser.h182 const Use &getOperandUse(unsigned i) const { in getOperandUse() function
186 Use &getOperandUse(unsigned i) { in getOperandUse() function
H A DAbstractCallSite.h206 return getInstruction()->getOperandUse(CalleeArgIdx); in getCalleeUseForCallback()
H A DInstrTypes.h1423 return User::getOperandUse(i);
1427 return User::getOperandUse(i);
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/
H A DAddressSanitizerCommon.h48 PtrUse = &I->getOperandUse(OperandNo); in IsWrite()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DSafepointIRVerifier.cpp78 return PU.getUser()->getOperandUse(PU.getOperandNo()); in getEdge()
118 const Use &U = PU.getUser()->getOperandUse(PU.getOperandNo()); in hasLiveIncomingEdges()
153 addDeadEdge(BI->getOperandUse(Cond->getZExtValue() ? 1 : 2)); in processFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp237 if (UA->isDivergentUse(I.getOperandUse(PtrIdx))) { in visitAtomicRMWInst()
241 bool ValDivergent = UA->isDivergentUse(I.getOperandUse(ValIdx)); in visitAtomicRMWInst()
327 const bool ValDivergent = UA->isDivergentUse(I.getOperandUse(ValIdx)); in visitIntrinsicInst()
344 if (UA->isDivergentUse(I.getOperandUse(Idx))) { in visitIntrinsicInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCBoolRetToInt.cpp207 runOnUse(R->getOperandUse(0), PromotablePHINodes, Bool2IntMap); in runOnFunction()
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DSandboxIR.cpp198 LLVMUse = &cast<llvm::User>(Val)->getOperandUse(OpIdx); in getOperandUseDefault()
230 Tracker.track(std::make_unique<UseSet>(getOperandUse(OperandIdx), Tracker)); in setOperand()
239 auto Use = getOperandUse(OpIdx); in replaceUsesOfWith()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DSandboxIR.h378 Value *getOperand(unsigned OpIdx) const { return getOperandUse(OpIdx).get(); } in getOperand()
381 Use getOperandUse(unsigned OpIdx) const { in getOperandUse() function
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp3000 replaceUse(II->getOperandUse(0), ConstantInt::getTrue(II->getContext())); in visitCallInst()
3357 replaceUse(II->getOperandUse(0), NewOp); in visitCallInst()
3395 replaceUse(II->getOperandUse(0), NewOp); in visitCallInst()
3430 replaceUse(II->getOperandUse(0), NewOp); in visitCallInst()
3460 replaceUse(II->getOperandUse(0), NewOp); in visitCallInst()
3491 replaceUse(II->getOperandUse(0), NewOp); in visitCallInst()
3533 replaceUse(II->getOperandUse(0), NewOp); in visitCallInst()
3568 replaceUse(II->getOperandUse(ArgIdx), NewOp); in visitCallInst()
H A DInstCombineSimplifyDemanded.cpp93 Use &U = I->getOperandUse(OpNo); in SimplifyDemandedBits()
2063 Use &U = I->getOperandUse(OpNo); in SimplifyDemandedFPClass()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp645 &PHI->getOperandUse( in run()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonCommonGEP.cpp1017 if (&Ld->getOperandUse(PtrX) == U) in separateConstantChains()
1021 if (&St->getOperandUse(PtrX) == U) in separateConstantChains()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp1687 U = &SV->getOperandUse(0); in lookThroughShuffles()
1690 U = &SV->getOperandUse(1); in lookThroughShuffles()
1703 U ? lookThroughShuffles(&cast<Instruction>(U->get())->getOperandUse(Op), in generateInstLaneVectorFromOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp15987 Ops.push_back(&GEP->getOperandUse(1)); in shouldSinkVectorOfPtrs()
16002 Ops.push_back(&cast<Instruction>(Op)->getOperandUse(0)); in shouldSinkVScale()
16008 Ops.push_back(&cast<Instruction>(ZExtOp)->getOperandUse(0)); in shouldSinkVScale()
16009 Ops.push_back(&cast<Instruction>(Op)->getOperandUse(0)); in shouldSinkVScale()
16026 Ops.push_back(&II->getOperandUse(0)); in shouldSinkOperands()
16027 Ops.push_back(&II->getOperandUse(1)); in shouldSinkOperands()
16043 Ops.push_back(&II->getOperandUse(0)); in shouldSinkOperands()
16045 Ops.push_back(&II->getOperandUse(1)); in shouldSinkOperands()
16053 Ops.push_back(&II->getOperandUse(1)); in shouldSinkOperands()
16055 Ops.push_back(&II->getOperandUse(2)); in shouldSinkOperands()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp850 Ops.push_back(&cast<Instruction>(V)->getOperandUse(0)); in shouldSinkOperands()
852 Ops.push_back(&I->getOperandUse(1)); in shouldSinkOperands()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp1811 int Idx = CmpI->getOperandUse(0) == LoadU; in updateImpl()
4448 AnyChange |= A.changeUseAfterManifest(RI.getOperandUse(0), UV); in manifest()
11141 return A.isAssumedDead(SI->getOperandUse(0), this, in handleLoadInst()
11576 if (A.changeUseAfterManifest(RetI.getOperandUse(0), *NewVal)) in manifest()
12050 int Idx = &Cmp->getOperandUse(0) == &U; in checkUse()

12