Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAlloca.cpp90 LI->setOperand(LI->getPointerOperandIndex(), NewASCToGeneric); in runOnFunction()
96 SI->setOperand(SI->getPointerOperandIndex(), NewASCToGeneric); in runOnFunction()
101 GI->setOperand(GI->getPointerOperandIndex(), NewASCToGeneric); in runOnFunction()
/src/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp444 NewGEP->setOperand(GEP->getPointerOperandIndex(), WrappedPtr); in aspaceWrapValue()
504 PtrOpNum = LD->getPointerOperandIndex(); in insertASpaceCasts()
506 PtrOpNum = ST->getPointerOperandIndex(); in insertASpaceCasts()
508 PtrOpNum = CmpXchg->getPointerOperandIndex(); in insertASpaceCasts()
510 PtrOpNum = RMW->getPointerOperandIndex(); in insertASpaceCasts()
/src/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp832 Interesting.emplace_back(I, LI->getPointerOperandIndex(), false, in getInterestingMemoryOperands()
837 Interesting.emplace_back(I, SI->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
842 Interesting.emplace_back(I, RMW->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
847 Interesting.emplace_back(I, XCHG->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
862 static unsigned getPointerOperandIndex(Instruction *I) { in getPointerOperandIndex() function
864 return LI->getPointerOperandIndex(); in getPointerOperandIndex()
866 return SI->getPointerOperandIndex(); in getPointerOperandIndex()
868 return RMW->getPointerOperandIndex(); in getPointerOperandIndex()
870 return XCHG->getPointerOperandIndex(); in getPointerOperandIndex()
890 I->setOperand(getPointerOperandIndex(I), UntaggedPtr); in untagPointerOperand()
H A DAddressSanitizer.cpp1413 Interesting.emplace_back(I, LI->getPointerOperandIndex(), false, in getInterestingMemoryOperands()
1418 Interesting.emplace_back(I, SI->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
1423 Interesting.emplace_back(I, RMW->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
1428 Interesting.emplace_back(I, XCHG->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
/src/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp382 LI->setOperand(LoadInst::getPointerOperandIndex(), GetAlloca(Ptr)); in doPromotion()
389 SI->setOperand(StoreInst::getPointerOperandIndex(), GetAlloca(Ptr)); in doPromotion()
633 U->getOperandNo() == StoreInst::getPointerOperandIndex()) { in findArgParts()
/src/contrib/llvm-project/llvm/include/llvm/IR/
H A DOperator.h444 static unsigned getPointerOperandIndex() {
557 static unsigned getPointerOperandIndex() {
H A DInstructions.h255 static unsigned getPointerOperandIndex() { return 0U; } in getPointerOperandIndex() function
379 static unsigned getPointerOperandIndex() { return 1U; } in getPointerOperandIndex() function
623 static unsigned getPointerOperandIndex() { return 0U; }
854 static unsigned getPointerOperandIndex() { return 0U; }
1023 static unsigned getPointerOperandIndex() {
1670 static unsigned getPointerOperandIndex() { return 0U; }
4763 static unsigned getPointerOperandIndex() { return 0U; }
4853 static unsigned getPointerOperandIndex() {
/src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp1019 return OpNo == LoadInst::getPointerOperandIndex() && in isSimplePointerUseValidToReplace()
1023 return OpNo == StoreInst::getPointerOperandIndex() && in isSimplePointerUseValidToReplace()
1027 return OpNo == AtomicRMWInst::getPointerOperandIndex() && in isSimplePointerUseValidToReplace()
1031 return OpNo == AtomicCmpXchgInst::getPointerOperandIndex() && in isSimplePointerUseValidToReplace()
H A DAlignmentFromAssumptions.cpp271 if (SI && SI->getPointerOperandIndex() != U.getOperandNo()) in processAssumption()
H A DSROA.cpp1826 CondMemOp.setOperand(I.getPointerOperandIndex(), Ptr); in rewriteMemOpOfSelect()
4378 if (S.getUse() != &SI->getOperandUse(SI->getPointerOperandIndex())) in presplitLoadsAndStores()
4545 &PLoad->getOperandUse(PLoad->getPointerOperandIndex()), in presplitLoadsAndStores()
4704 &PStore->getOperandUse(PStore->getPointerOperandIndex()), in presplitLoadsAndStores()
H A DLICM.cpp2104 if (U.getOperandNo() != StoreInst::getPointerOperandIndex()) in promoteLoopAccessesToScalars()
/src/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp136 U->getOperandNo() != StoreInst::getPointerOperandIndex()) in getStoredType()
H A DAMDGPUPromoteAlloca.cpp785 U->getOperandNo() != StoreInst::getPointerOperandIndex()) in tryPromoteAllocaToVector()
/src/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp642 GetElementPtrInst::getPointerOperandIndex())); in deduceOperandElementType()
651 LoadInst::getPointerOperandIndex())); in deduceOperandElementType()
661 StoreInst::getPointerOperandIndex())); in deduceOperandElementType()
667 AtomicCmpXchgInst::getPointerOperandIndex())); in deduceOperandElementType()
673 AtomicRMWInst::getPointerOperandIndex())); in deduceOperandElementType()
/src/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonCommonGEP.cpp1016 unsigned PtrX = LoadInst::getPointerOperandIndex(); in separateConstantChains()
1020 unsigned PtrX = StoreInst::getPointerOperandIndex(); in separateConstantChains()
/src/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp5235 if (U.getOperandNo() != StoreInst::getPointerOperandIndex()) in FindAllMemoryUses()
5242 if (U.getOperandNo() != AtomicRMWInst::getPointerOperandIndex()) in FindAllMemoryUses()
5249 if (U.getOperandNo() != AtomicCmpXchgInst::getPointerOperandIndex()) in FindAllMemoryUses()