Home
last modified time | relevance | path

Searched refs:getPointerOperandIndex (Results 1 – 22 of 22) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAlloca.cpp109 LI->setOperand(LI->getPointerOperandIndex(), AllocaInGenericAS); in runOnFunction()
115 SI->setOperand(SI->getPointerOperandIndex(), AllocaInGenericAS); in runOnFunction()
120 GI->setOperand(GI->getPointerOperandIndex(), AllocaInGenericAS); in runOnFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp441 NewGEP->setOperand(GEP->getPointerOperandIndex(), WrappedPtr); in aspaceWrapValue()
500 PtrOpNum = LD->getPointerOperandIndex(); in insertASpaceCasts()
502 PtrOpNum = ST->getPointerOperandIndex(); in insertASpaceCasts()
504 PtrOpNum = CmpXchg->getPointerOperandIndex(); in insertASpaceCasts()
506 PtrOpNum = RMW->getPointerOperandIndex(); in insertASpaceCasts()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAsanInstrumentation.cpp225 Interesting.emplace_back(I, LI->getPointerOperandIndex(), false, in getInterestingMemoryOperands()
228 Interesting.emplace_back(I, SI->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
231 Interesting.emplace_back(I, RMW->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
234 Interesting.emplace_back(I, XCHG->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
H A DAMDGPURewriteOutArguments.cpp134 U->getOperandNo() != StoreInst::getPointerOperandIndex()) in getStoredType()
H A DAMDGPUPromoteAlloca.cpp881 U->getOperandNo() != StoreInst::getPointerOperandIndex()) in tryPromoteAllocaToVector()
H A DSIISelLowering.cpp17743 const unsigned PtrOpIdx = RMW ? AtomicRMWInst::getPointerOperandIndex() in emitExpandAtomicAddrSpacePredicate()
17744 : AtomicCmpXchgInst::getPointerOperandIndex(); in emitExpandAtomicAddrSpacePredicate()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp870 Interesting.emplace_back(I, LI->getPointerOperandIndex(), false, in getInterestingMemoryOperands()
875 Interesting.emplace_back(I, SI->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
880 Interesting.emplace_back(I, RMW->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
885 Interesting.emplace_back(I, XCHG->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
900 static unsigned getPointerOperandIndex(Instruction *I) { in getPointerOperandIndex() function
902 return LI->getPointerOperandIndex(); in getPointerOperandIndex()
904 return SI->getPointerOperandIndex(); in getPointerOperandIndex()
906 return RMW->getPointerOperandIndex(); in getPointerOperandIndex()
908 return XCHG->getPointerOperandIndex(); in getPointerOperandIndex()
928 I->setOperand(getPointerOperandIndex(I), UntaggedPtr); in untagPointerOperand()
H A DAddressSanitizer.cpp1480 Interesting.emplace_back(I, LI->getPointerOperandIndex(), false, in getInterestingMemoryOperands()
1485 Interesting.emplace_back(I, SI->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
1490 Interesting.emplace_back(I, RMW->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
1495 Interesting.emplace_back(I, XCHG->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DOperator.h463 static unsigned getPointerOperandIndex() {
577 static unsigned getPointerOperandIndex() {
H A DInstructions.h261 static unsigned getPointerOperandIndex() { return 0U; } in getPointerOperandIndex() function
388 static unsigned getPointerOperandIndex() { return 1U; } in getPointerOperandIndex() function
636 static unsigned getPointerOperandIndex() { return 0U; }
888 static unsigned getPointerOperandIndex() { return 0U; }
1059 static unsigned getPointerOperandIndex() {
1790 static unsigned getPointerOperandIndex() { return 0U; }
4936 static unsigned getPointerOperandIndex() { return 0U; }
5027 static unsigned getPointerOperandIndex() {
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp396 LI->setOperand(LoadInst::getPointerOperandIndex(), GetAlloca(Ptr)); in doPromotion()
403 SI->setOperand(StoreInst::getPointerOperandIndex(), GetAlloca(Ptr)); in doPromotion()
665 U->getOperandNo() == StoreInst::getPointerOperandIndex()) { in findArgParts()
H A DAttributorAttributes.cpp12904 if (U.getOperandNo() != InstType::getPointerOperandIndex()) in makeChange()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILDataScalarization.cpp160 LI.setOperand(LI.getPointerOperandIndex(), NewGlobal); in visitLoadInst()
180 SI.setOperand(SI.getPointerOperandIndex(), NewGlobal); in visitStoreInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DAlignmentFromAssumptions.cpp272 if (SI && SI->getPointerOperandIndex() != U.getOperandNo()) in processAssumption()
H A DInferAddressSpaces.cpp1100 return replaceOperandIfSame(MemInstr, InstrType::getPointerOperandIndex(), in replaceSimplePointerUse()
H A DSROA.cpp1853 CondMemOp.setOperand(I.getPointerOperandIndex(), Ptr); in rewriteMemOpOfSelect()
4517 if (S.getUse() != &SI->getOperandUse(SI->getPointerOperandIndex())) in presplitLoadsAndStores()
4684 &PLoad->getOperandUse(PLoad->getPointerOperandIndex()), in presplitLoadsAndStores()
4843 &PStore->getOperandUse(PStore->getPointerOperandIndex()), in presplitLoadsAndStores()
H A DLICM.cpp2039 if (U.getOperandNo() != StoreInst::getPointerOperandIndex()) in promoteLoopAccessesToScalars()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DInstruction.h1176 static unsigned getPointerOperandIndex() { in getPointerOperandIndex() function
1177 return llvm::VAArgInst::getPointerOperandIndex(); in getPointerOperandIndex()
1720 static unsigned getPointerOperandIndex() { in getPointerOperandIndex() function
1721 return llvm::GetElementPtrInst::getPointerOperandIndex(); in getPointerOperandIndex()
2380 static unsigned getPointerOperandIndex() { return 0u; } in getPointerOperandIndex() function
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp1026 GetElementPtrInst::getPointerOperandIndex())); in deduceOperandElementType()
1035 LoadInst::getPointerOperandIndex())); in deduceOperandElementType()
1044 StoreInst::getPointerOperandIndex())); in deduceOperandElementType()
1053 AtomicCmpXchgInst::getPointerOperandIndex())); in deduceOperandElementType()
1062 AtomicRMWInst::getPointerOperandIndex())); in deduceOperandElementType()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonCommonGEP.cpp1011 unsigned PtrX = LoadInst::getPointerOperandIndex(); in separateConstantChains()
1015 unsigned PtrX = StoreInst::getPointerOperandIndex(); in separateConstantChains()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp5580 if (U.getOperandNo() != StoreInst::getPointerOperandIndex()) in FindAllMemoryUses()
5587 if (U.getOperandNo() != AtomicRMWInst::getPointerOperandIndex()) in FindAllMemoryUses()
5594 if (U.getOperandNo() != AtomicCmpXchgInst::getPointerOperandIndex()) in FindAllMemoryUses()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp2444 return U.getOperandNo() == LoadInst::getPointerOperandIndex(); in sinkCommonCodeFromPredecessors()
2446 return U.getOperandNo() == StoreInst::getPointerOperandIndex(); in sinkCommonCodeFromPredecessors()