| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXLowerAlloca.cpp | 109 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 D | BPFCheckAndAdjustIR.cpp | 441 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 D | AMDGPUAsanInstrumentation.cpp | 225 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 D | AMDGPURewriteOutArguments.cpp | 134 U->getOperandNo() != StoreInst::getPointerOperandIndex()) in getStoredType()
|
| H A D | AMDGPUPromoteAlloca.cpp | 881 U->getOperandNo() != StoreInst::getPointerOperandIndex()) in tryPromoteAllocaToVector()
|
| H A D | SIISelLowering.cpp | 17743 const unsigned PtrOpIdx = RMW ? AtomicRMWInst::getPointerOperandIndex() in emitExpandAtomicAddrSpacePredicate() 17744 : AtomicCmpXchgInst::getPointerOperandIndex(); in emitExpandAtomicAddrSpacePredicate()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | HWAddressSanitizer.cpp | 870 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 D | AddressSanitizer.cpp | 1480 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 D | Operator.h | 463 static unsigned getPointerOperandIndex() { 577 static unsigned getPointerOperandIndex() {
|
| H A D | Instructions.h | 261 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 D | ArgumentPromotion.cpp | 396 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 D | AttributorAttributes.cpp | 12904 if (U.getOperandNo() != InstType::getPointerOperandIndex()) in makeChange()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILDataScalarization.cpp | 160 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 D | AlignmentFromAssumptions.cpp | 272 if (SI && SI->getPointerOperandIndex() != U.getOperandNo()) in processAssumption()
|
| H A D | InferAddressSpaces.cpp | 1100 return replaceOperandIfSame(MemInstr, InstrType::getPointerOperandIndex(), in replaceSimplePointerUse()
|
| H A D | SROA.cpp | 1853 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 D | LICM.cpp | 2039 if (U.getOperandNo() != StoreInst::getPointerOperandIndex()) in promoteLoopAccessesToScalars()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| H A D | Instruction.h | 1176 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 D | SPIRVEmitIntrinsics.cpp | 1026 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 D | HexagonCommonGEP.cpp | 1011 unsigned PtrX = LoadInst::getPointerOperandIndex(); in separateConstantChains() 1015 unsigned PtrX = StoreInst::getPointerOperandIndex(); in separateConstantChains()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 5580 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 D | SimplifyCFG.cpp | 2444 return U.getOperandNo() == LoadInst::getPointerOperandIndex(); in sinkCommonCodeFromPredecessors() 2446 return U.getOperandNo() == StoreInst::getPointerOperandIndex(); in sinkCommonCodeFromPredecessors()
|