Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp748 Interesting.emplace_back(I, LI->getPointerOperandIndex(), false, in getInterestingMemoryOperands()
753 Interesting.emplace_back(I, SI->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
758 Interesting.emplace_back(I, RMW->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
763 Interesting.emplace_back(I, XCHG->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
777 static unsigned getPointerOperandIndex(Instruction *I) { in getPointerOperandIndex() function
779 return LI->getPointerOperandIndex(); in getPointerOperandIndex()
781 return SI->getPointerOperandIndex(); in getPointerOperandIndex()
783 return RMW->getPointerOperandIndex(); in getPointerOperandIndex()
785 return XCHG->getPointerOperandIndex(); in getPointerOperandIndex()
805 I->setOperand(getPointerOperandIndex(I), UntaggedPtr); in untagPointerOperand()
H A DAddressSanitizer.cpp1310 Interesting.emplace_back(I, LI->getPointerOperandIndex(), false, in getInterestingMemoryOperands()
1315 Interesting.emplace_back(I, SI->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
1320 Interesting.emplace_back(I, RMW->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
1325 Interesting.emplace_back(I, XCHG->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DOperator.h426 static unsigned getPointerOperandIndex() { in getPointerOperandIndex() function
530 static unsigned getPointerOperandIndex() { in getPointerOperandIndex() function
H A DInstructions.h266 static unsigned getPointerOperandIndex() { return 0U; } in getPointerOperandIndex() function
395 static unsigned getPointerOperandIndex() { return 1U; } in getPointerOperandIndex() function
645 static unsigned getPointerOperandIndex() { return 0U; }
879 static unsigned getPointerOperandIndex() { return 0U; }
1069 static unsigned getPointerOperandIndex() {
1863 static unsigned getPointerOperandIndex() { return 0U; }
5237 static unsigned getPointerOperandIndex() { return 0U; }
5342 static unsigned getPointerOperandIndex() {
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp997 return OpNo == LoadInst::getPointerOperandIndex() && in isSimplePointerUseValidToReplace()
1001 return OpNo == StoreInst::getPointerOperandIndex() && in isSimplePointerUseValidToReplace()
1005 return OpNo == AtomicRMWInst::getPointerOperandIndex() && in isSimplePointerUseValidToReplace()
1009 return OpNo == AtomicCmpXchgInst::getPointerOperandIndex() && in isSimplePointerUseValidToReplace()
H A DSROA.cpp1602 CondMemOp.setOperand(I.getPointerOperandIndex(), Ptr); in rewriteMemOpOfSelect()
4185 if (S.getUse() != &SI->getOperandUse(SI->getPointerOperandIndex())) in presplitLoadsAndStores()
4352 &PLoad->getOperandUse(PLoad->getPointerOperandIndex()), in presplitLoadsAndStores()
4507 &PStore->getOperandUse(PStore->getPointerOperandIndex()), in presplitLoadsAndStores()
H A DLICM.cpp2089 if (U.getOperandNo() != StoreInst::getPointerOperandIndex()) in promoteLoopAccessesToScalars()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp136 U->getOperandNo() != StoreInst::getPointerOperandIndex()) in getStoredType()
H A DAMDGPUPromoteAlloca.cpp443 U->getOperandNo() != StoreInst::getPointerOperandIndex()) in tryPromoteAllocaToVector()
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonCommonGEP.cpp1016 unsigned PtrX = LoadInst::getPointerOperandIndex(); in separateConstantChains()
1020 unsigned PtrX = StoreInst::getPointerOperandIndex(); in separateConstantChains()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp992 MemI.setOperand(MemI.getPointerOperandIndex(), NewGEPI); in replaceGEPIdxWithZero()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp5000 if (U.getOperandNo() != StoreInst::getPointerOperandIndex()) in FindAllMemoryUses()
5007 if (U.getOperandNo() != AtomicRMWInst::getPointerOperandIndex()) in FindAllMemoryUses()
5014 if (U.getOperandNo() != AtomicCmpXchgInst::getPointerOperandIndex()) in FindAllMemoryUses()