Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp746 Interesting.emplace_back(I, LI->getPointerOperandIndex(), false, in getInterestingMemoryOperands()
751 Interesting.emplace_back(I, SI->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
756 Interesting.emplace_back(I, RMW->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
761 Interesting.emplace_back(I, XCHG->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
774 static unsigned getPointerOperandIndex(Instruction *I) { in getPointerOperandIndex() function
776 return LI->getPointerOperandIndex(); in getPointerOperandIndex()
778 return SI->getPointerOperandIndex(); in getPointerOperandIndex()
780 return RMW->getPointerOperandIndex(); in getPointerOperandIndex()
782 return XCHG->getPointerOperandIndex(); in getPointerOperandIndex()
801 I->setOperand(getPointerOperandIndex(I), UntaggedPtr); in untagPointerOperand()
H A DAddressSanitizer.cpp1280 Interesting.emplace_back(I, LI->getPointerOperandIndex(), false, in getInterestingMemoryOperands()
1285 Interesting.emplace_back(I, SI->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
1290 Interesting.emplace_back(I, RMW->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
1295 Interesting.emplace_back(I, XCHG->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DOperator.h422 static unsigned getPointerOperandIndex() { in getPointerOperandIndex() function
526 static unsigned getPointerOperandIndex() { in getPointerOperandIndex() function
H A DInstructions.h263 static unsigned getPointerOperandIndex() { return 0U; } in getPointerOperandIndex() function
392 static unsigned getPointerOperandIndex() { return 1U; } in getPointerOperandIndex() function
642 static unsigned getPointerOperandIndex() { return 0U; }
868 static unsigned getPointerOperandIndex() { return 0U; }
1058 static unsigned getPointerOperandIndex() {
1854 static unsigned getPointerOperandIndex() { return 0U; }
5202 static unsigned getPointerOperandIndex() { return 0U; }
5307 static unsigned getPointerOperandIndex() {
/llvm-project-15.0.7/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()
605 U->getOperandNo() == StoreInst::getPointerOperandIndex()) { in findArgParts()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp995 return OpNo == LoadInst::getPointerOperandIndex() && in isSimplePointerUseValidToReplace()
999 return OpNo == StoreInst::getPointerOperandIndex() && in isSimplePointerUseValidToReplace()
1003 return OpNo == AtomicRMWInst::getPointerOperandIndex() && in isSimplePointerUseValidToReplace()
1007 return OpNo == AtomicCmpXchgInst::getPointerOperandIndex() && in isSimplePointerUseValidToReplace()
H A DSROA.cpp3842 if (S.getUse() != &SI->getOperandUse(SI->getPointerOperandIndex())) in presplitLoadsAndStores()
4009 &PLoad->getOperandUse(PLoad->getPointerOperandIndex()), in presplitLoadsAndStores()
4163 &PStore->getOperandUse(PStore->getPointerOperandIndex()), in presplitLoadsAndStores()
H A DLICM.cpp2028 if (U.getOperandNo() != StoreInst::getPointerOperandIndex()) in promoteLoopAccessesToScalars()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp136 U->getOperandNo() != StoreInst::getPointerOperandIndex()) in getStoredType()
H A DAMDGPUPromoteAlloca.cpp434 U->getOperandNo() != StoreInst::getPointerOperandIndex()) in tryPromoteAllocaToVector()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonCommonGEP.cpp1016 unsigned PtrX = LoadInst::getPointerOperandIndex(); in separateConstantChains()
1020 unsigned PtrX = StoreInst::getPointerOperandIndex(); in separateConstantChains()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp896 MemI.setOperand(MemI.getPointerOperandIndex(), NewGEPI); in replaceGEPIdxWithZero()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp4906 if (U.getOperandNo() != StoreInst::getPointerOperandIndex()) in FindAllMemoryUses()
4913 if (U.getOperandNo() != AtomicRMWInst::getPointerOperandIndex()) in FindAllMemoryUses()
4920 if (U.getOperandNo() != AtomicCmpXchgInst::getPointerOperandIndex()) in FindAllMemoryUses()