Home
last modified time | relevance | path

Searched refs:getPointerOperand (Results 1 – 25 of 88) sorted by relevance

1234

/NextBSD/contrib/llvm/lib/Analysis/
HDDelinearization.cpp73 static Value *getPointerOperand(Instruction &Inst) { in getPointerOperand() function
75 return Load->getPointerOperand(); in getPointerOperand()
77 return Store->getPointerOperand(); in getPointerOperand()
79 return Gep->getPointerOperand(); in getPointerOperand()
97 const SCEV *AccessFn = SE->getSCEVAtScope(getPointerOperand(*Inst), L); in print()
HDMemoryLocation.cpp26 return MemoryLocation(LI->getPointerOperand(), in get()
35 return MemoryLocation(SI->getPointerOperand(), in get()
44 return MemoryLocation(VI->getPointerOperand(), UnknownSize, AATags); in get()
53 CXI->getPointerOperand(), in get()
62 return MemoryLocation(RMWI->getPointerOperand(), in get()
HDLoads.cpp139 AccessedPtr = LI->getPointerOperand(); in isSafeToLoadUnconditionally()
142 AccessedPtr = SI->getPointerOperand(); in isSafeToLoadUnconditionally()
219 LI->getPointerOperand()->stripPointerCasts(), StrippedPtr) && in FindAvailableLoadedValue()
227 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in FindAvailableLoadedValue()
HDCFLAliasAnalysis.cpp296 auto *Ptr = Inst.getPointerOperand(); in visitAtomicCmpXchgInst()
302 auto *Ptr = Inst.getPointerOperand(); in visitAtomicRMWInst()
314 auto *Op = Inst.getPointerOperand(); in visitGetElementPtrInst()
335 auto *Ptr = Inst.getPointerOperand(); in visitLoadInst()
341 auto *Ptr = Inst.getPointerOperand(); in visitStoreInst()
572 Value *visitStoreInst(StoreInst &Inst) { return Inst.getPointerOperand(); } in visitStoreInst()
575 return Inst.getPointerOperand(); in visitAtomicCmpXchgInst()
579 return Inst.getPointerOperand(); in visitAtomicRMWInst()
HDMemDerefPrinter.cpp56 Value *PO = LI->getPointerOperand(); in runOnFunction()
/NextBSD/contrib/llvm/lib/Target/NVPTX/
HDNVPTXLowerAlloca.cpp88 if (LI && LI->getPointerOperand() == allocaInst && !LI->isVolatile()) { in runOnBasicBlock()
93 if (SI && SI->getPointerOperand() == allocaInst && !SI->isVolatile()) { in runOnBasicBlock()
98 if (GI && GI->getPointerOperand() == allocaInst) { in runOnBasicBlock()
/NextBSD/contrib/llvm/lib/Transforms/Instrumentation/
HDThreadSanitizer.cpp251 Addr = GEP->getPointerOperand(); in addrPointsToConstantData()
290 WriteTargets.insert(Store->getPointerOperand()); in chooseInstructionsToInstrument()
293 Value *Addr = Load->getPointerOperand(); in chooseInstructionsToInstrument()
305 ? cast<StoreInst>(I)->getPointerOperand() in chooseInstructionsToInstrument()
306 : cast<LoadInst>(I)->getPointerOperand(); in chooseInstructionsToInstrument()
413 ? cast<StoreInst>(I)->getPointerOperand() in instrumentLoadOrStore()
414 : cast<LoadInst>(I)->getPointerOperand(); in instrumentLoadOrStore()
512 Value *Addr = LI->getPointerOperand(); in instrumentAtomic()
526 Value *Addr = SI->getPointerOperand(); in instrumentAtomic()
540 Value *Addr = RMWI->getPointerOperand(); in instrumentAtomic()
[all …]
HDBoundsChecking.cpp194 MadeChange |= instrument(LI->getPointerOperand(), LI, DL); in runOnFunction()
197 instrument(SI->getPointerOperand(), SI->getValueOperand(), DL); in runOnFunction()
200 instrument(AI->getPointerOperand(), AI->getCompareOperand(), DL); in runOnFunction()
203 instrument(AI->getPointerOperand(), AI->getValOperand(), DL); in runOnFunction()
/NextBSD/contrib/llvm/include/llvm/IR/
HDOperator.h388 Value *getPointerOperand() { in getPointerOperand() function
391 const Value *getPointerOperand() const { in getPointerOperand() function
400 return getPointerOperand()->getType(); in getPointerOperandType()
459 Value *getPointerOperand() { in getPointerOperand() function
462 const Value *getPointerOperand() const { in getPointerOperand() function
471 return getPointerOperand()->getType(); in getPointerOperandType()
HDInstructions.h284 Value *getPointerOperand() { return getOperand(0); } in getPointerOperand() function
285 const Value *getPointerOperand() const { return getOperand(0); } in getPointerOperand() function
290 return getPointerOperand()->getType()->getPointerAddressSpace(); in getPointerAddressSpace()
409 Value *getPointerOperand() { return getOperand(1); } in getPointerOperand() function
410 const Value *getPointerOperand() const { return getOperand(1); } in getPointerOperand() function
415 return getPointerOperand()->getType()->getPointerAddressSpace(); in getPointerAddressSpace()
607 Value *getPointerOperand() { return getOperand(0); }
608 const Value *getPointerOperand() const { return getOperand(0); }
619 return getPointerOperand()->getType()->getPointerAddressSpace();
779 Value *getPointerOperand() { return getOperand(0); }
[all …]
/NextBSD/contrib/llvm/lib/CodeGen/
HDAtomicExpandPass.cpp186 TLI->emitLoadLinked(Builder, LI->getPointerOperand(), LI->getOrdering()); in expandAtomicLoadToLL()
197 Value *Addr = LI->getPointerOperand(); in expandAtomicLoadToCmpXchg()
221 Builder.CreateAtomicRMW(AtomicRMWInst::Xchg, SI->getPointerOperand(), in expandAtomicStore()
287 Value *Addr = AI->getPointerOperand(); in expandAtomicRMWToLLSC()
343 Value *Addr = AI->getPointerOperand(); in expandAtomicRMWToCmpXchg()
407 Value *Addr = CI->getPointerOperand(); in expandAtomicCmpXchg()
/NextBSD/contrib/llvm/lib/Transforms/Scalar/
HDMergedLoadStoreMotion.cpp184 MD->invalidateCachedPointerInfo(LI->getPointerOperand()); in INITIALIZE_PASS_DEPENDENCY()
333 Instruction *A0 = dyn_cast<Instruction>(L0->getPointerOperand()); in hoistLoad()
334 Instruction *A1 = dyn_cast<Instruction>(L1->getPointerOperand()); in hoistLoad()
470 Instruction *A0 = dyn_cast<Instruction>(S0->getPointerOperand()); in sinkStore()
471 Instruction *A1 = dyn_cast<Instruction>(S1->getPointerOperand()); in sinkStore()
HDAlignmentFromAssumptions.cpp272 AAPtr = PToI->getPointerOperand(); in extractAlignmentInfo()
281 AAPtr = PToI->getPointerOperand(); in extractAlignmentInfo()
327 LI->getPointerOperand(), SE); in processAssumption()
335 SI->getPointerOperand(), SE); in processAssumption()
HDLowerAtomic.cpp26 Value *Ptr = CXI->getPointerOperand(); in LowerAtomicCmpXchgInst()
45 Value *Ptr = RMWI->getPointerOperand(); in LowerAtomicRMWInst()
HDLoadCombine.cpp90 POP.Pointer = LI.getPointerOperand(); in getPointerOffsetPair()
102 POP.Pointer = GEP->getPointerOperand(); in getPointerOffsetPair()
HDCorrelatedValuePropagation.cpp167 Pointer = L->getPointerOperand(); in processMemAccess()
169 Pointer = cast<StoreInst>(I)->getPointerOperand(); in processMemAccess()
HDMemCpyOptimizer.cpp227 SI->getPointerOperand(), SI->getAlignment(), SI); in addStore()
408 if (!IsPointerOffset(StartPtr, NextStore->getPointerOperand(), Offset, in INITIALIZE_PASS_DEPENDENCY()
532 LI, SI->getPointerOperand()->stripPointerCasts(), in processStore()
533 LI->getPointerOperand()->stripPointerCasts(), in processStore()
555 if (Instruction *I = tryMergingIntoMemset(SI, SI->getPointerOperand(), in processStore()
/NextBSD/contrib/llvm/lib/Target/PowerPC/
HDPPCLoopPreIncPrep.cpp130 return LMemI->getPointerOperand(); in GetPointerOperand()
132 return SMemI->getPointerOperand(); in GetPointerOperand()
183 PtrValue = LMemI->getPointerOperand(); in runOnLoop()
186 PtrValue = SMemI->getPointerOperand(); in runOnLoop()
HDPPCLoopDataPrefetch.cpp165 PtrValue = LMemI->getPointerOperand(); in runOnLoop()
169 PtrValue = SMemI->getPointerOperand(); in runOnLoop()
/NextBSD/contrib/llvm/lib/Target/X86/
HDX86TargetObjectFile.cpp101 const auto *GOLHS = dyn_cast<GlobalObject>(SubLHS->getPointerOperand()); in getExecutableRelativeSymbol()
102 const auto *GVRHS = dyn_cast<GlobalVariable>(SubRHS->getPointerOperand()); in getExecutableRelativeSymbol()
/NextBSD/contrib/llvm/lib/Transforms/ObjCARC/
HDObjCARC.h203 if (AA.pointsToConstantMemory(LI->getPointerOperand())) in IsPotentialRetainableObjPtr()
237 GetRCIdentityRoot(LI->getPointerOperand()); in IsObjCIdentifiedObject()
HDObjCARCContract.cpp264 if (Store->getPointerOperand() == Loc.Ptr) in findSafeStoreForStoreStrongContraction()
379 Value *Args[] = { Load->getPointerOperand(), New }; in tryToContractReleaseIntoStoreStrong()
606 Arg = cast<GEPOperator>(Arg)->getPointerOperand(); in runOnFunction()
/NextBSD/contrib/llvm/lib/Target/AMDGPU/
HDAMDGPUTargetTransformInfo.cpp46 const Value *Ptr = GEP->getPointerOperand(); in getUnrollingPreferences()
/NextBSD/contrib/llvm/lib/Transforms/Vectorize/
HDLoopVectorize.cpp1792 Value *GpPtr = Gep->getPointerOperand(); in isConsecutivePtr()
2026 Value *Ptr = LI ? LI->getPointerOperand() : SI->getPointerOperand(); in vectorizeInterleaveGroup()
2150 Value *Ptr = LI ? LI->getPointerOperand() : SI->getPointerOperand(); in vectorizeMemoryInstruction()
2181 if (Gep && Legal->isInductionVariable(Gep->getPointerOperand())) { in vectorizeMemoryInstruction()
2183 Value *PtrOperand = Gep->getPointerOperand(); in vectorizeMemoryInstruction()
2194 assert(SE->isLoopInvariant(SE->getSCEV(Gep->getPointerOperand()), in vectorizeMemoryInstruction()
2234 assert(!Legal->isUniform(SI->getPointerOperand()) && in vectorizeMemoryInstruction()
3762 SafePointes.insert(LI->getPointerOperand()); in canVectorizeWithIfConvert()
3764 SafePointes.insert(SI->getPointerOperand()); in canVectorizeWithIfConvert()
4113 Ptr = LI->getPointerOperand(); in collectStridedAccess()
[all …]
/NextBSD/contrib/llvm/include/llvm/Analysis/
HDLoopAccessAnalysis.h188 Value *Ptr = SI->getPointerOperand(); in addAccess()
197 Value *Ptr = LI->getPointerOperand(); in addAccess()

1234