/external/llvm/lib/Analysis/ |
D | Delinearization.cpp | 73 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()
|
D | MemoryLocation.cpp | 26 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()
|
D | Loads.cpp | 140 AccessedPtr = LI->getPointerOperand(); in isSafeToLoadUnconditionally() 143 AccessedPtr = SI->getPointerOperand(); in isSafeToLoadUnconditionally() 232 LI->getPointerOperand()->stripPointerCasts(), StrippedPtr) && in FindAvailableLoadedValue() 240 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in FindAvailableLoadedValue()
|
D | CFLAliasAnalysis.cpp | 191 auto *Ptr = Inst.getPointerOperand(); in visitAtomicCmpXchgInst() 197 auto *Ptr = Inst.getPointerOperand(); in visitAtomicRMWInst() 209 auto *Op = Inst.getPointerOperand(); in visitGetElementPtrInst() 230 auto *Ptr = Inst.getPointerOperand(); in visitLoadInst() 236 auto *Ptr = Inst.getPointerOperand(); in visitStoreInst() 477 Value *visitStoreInst(StoreInst &Inst) { return Inst.getPointerOperand(); } in visitStoreInst() 480 return Inst.getPointerOperand(); in visitAtomicCmpXchgInst() 484 return Inst.getPointerOperand(); in visitAtomicRMWInst()
|
D | MemDerefPrinter.cpp | 58 Value *PO = LI->getPointerOperand(); in runOnFunction()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerAlloca.cpp | 88 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()
|
/external/llvm/lib/Transforms/Scalar/ |
D | EarlyCSE.cpp | 451 return (getPointerOperand() == Inst.getPointerOperand() && in isMatchingMemLoc() 454 bool isValid() const { return getPointerOperand() != nullptr; } in isValid() 464 Value *getPointerOperand() const { in getPointerOperand() function in __anoncdf6c96d0311::EarlyCSE::ParseMemoryInst 467 return LI->getPointerOperand(); in getPointerOperand() 469 return SI->getPointerOperand(); in getPointerOperand() 610 LoadValue InVal = AvailableLoads.lookup(MemInst.getPointerOperand()); in processNode() 632 MemInst.getPointerOperand(), in processNode() 687 LoadValue InVal = AvailableLoads.lookup(MemInst.getPointerOperand()); in processNode() 695 ParseMemoryInst(LastStore, TTI).getPointerOperand() == in processNode() 696 MemInst.getPointerOperand()) && in processNode() [all …]
|
D | LoopLoadElimination.cpp | 65 Value *LoadPtr = Load->getPointerOperand(); in isDependenceDistanceOfOne() 66 Value *StorePtr = Store->getPointerOperand(); in isDependenceDistanceOfOne() 89 Value *getLoadPtr() const { return Load->getPointerOperand(); } in getLoadPtr() 309 PtrsWrittenOnFwdingPath.insert(S->getPointerOperand()); in findPointersWrittenOnForwardingPath() 374 Value *Ptr = Cand.Load->getPointerOperand(); in propagateStoredValueToLoadUsers()
|
D | MergedLoadStoreMotion.cpp | 188 MD->invalidateCachedPointerInfo(LI->getPointerOperand()); in INITIALIZE_PASS_DEPENDENCY() 336 Instruction *A0 = dyn_cast<Instruction>(L0->getPointerOperand()); in hoistLoad() 337 Instruction *A1 = dyn_cast<Instruction>(L1->getPointerOperand()); in hoistLoad() 464 Instruction *A0 = dyn_cast<Instruction>(S0->getPointerOperand()); in sinkStore() 465 Instruction *A1 = dyn_cast<Instruction>(S1->getPointerOperand()); in sinkStore()
|
D | AlignmentFromAssumptions.cpp | 275 AAPtr = PToI->getPointerOperand(); in extractAlignmentInfo() 284 AAPtr = PToI->getPointerOperand(); in extractAlignmentInfo() 330 LI->getPointerOperand(), SE); in processAssumption() 338 SI->getPointerOperand(), SE); in processAssumption()
|
D | LowerAtomic.cpp | 26 Value *Ptr = CXI->getPointerOperand(); in LowerAtomicCmpXchgInst() 45 Value *Ptr = RMWI->getPointerOperand(); in LowerAtomicRMWInst()
|
D | LoadCombine.cpp | 91 POP.Pointer = LI.getPointerOperand(); in getPointerOffsetPair() 103 POP.Pointer = GEP->getPointerOperand(); in getPointerOffsetPair()
|
D | DeadStoreElimination.cpp | 303 return SI->getPointerOperand(); in getStoredPointerOperand() 523 if (SI->getPointerOperand() == DepLoad->getPointerOperand() && in runOnBasicBlock() 541 GetUnderlyingObject(SI->getPointerOperand(), DL)); in runOnBasicBlock()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | ThreadSanitizer.cpp | 249 Addr = GEP->getPointerOperand(); in addrPointsToConstantData() 288 WriteTargets.insert(Store->getPointerOperand()); in chooseInstructionsToInstrument() 291 Value *Addr = Load->getPointerOperand(); in chooseInstructionsToInstrument() 303 ? cast<StoreInst>(I)->getPointerOperand() in chooseInstructionsToInstrument() 304 : cast<LoadInst>(I)->getPointerOperand(); in chooseInstructionsToInstrument() 411 ? cast<StoreInst>(I)->getPointerOperand() in instrumentLoadOrStore() 412 : cast<LoadInst>(I)->getPointerOperand(); in instrumentLoadOrStore() 510 Value *Addr = LI->getPointerOperand(); in instrumentAtomic() 524 Value *Addr = SI->getPointerOperand(); in instrumentAtomic() 538 Value *Addr = RMWI->getPointerOperand(); in instrumentAtomic() [all …]
|
D | BoundsChecking.cpp | 194 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()
|
/external/llvm/include/llvm/IR/ |
D | Operator.h | 388 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()
|
D | Instructions.h | 286 Value *getPointerOperand() { return getOperand(0); } in getPointerOperand() function 287 const Value *getPointerOperand() const { return getOperand(0); } in getPointerOperand() function 292 return getPointerOperand()->getType()->getPointerAddressSpace(); in getPointerAddressSpace() 410 Value *getPointerOperand() { return getOperand(1); } in getPointerOperand() function 411 const Value *getPointerOperand() const { return getOperand(1); } in getPointerOperand() function 416 return getPointerOperand()->getType()->getPointerAddressSpace(); in getPointerAddressSpace() 612 Value *getPointerOperand() { return getOperand(0); } 613 const Value *getPointerOperand() const { return getOperand(0); } 624 return getPointerOperand()->getType()->getPointerAddressSpace(); 786 Value *getPointerOperand() { return getOperand(0); } [all …]
|
/external/llvm/lib/CodeGen/ |
D | AtomicExpandPass.cpp | 218 Value *Addr = LI->getPointerOperand(); in convertAtomicLoadToIntegerType() 241 LI, LI->getPointerOperand(), LI->getOrdering(), in tryExpandAtomicLoad() 258 TLI->emitLoadLinked(Builder, LI->getPointerOperand(), LI->getOrdering()); in expandAtomicLoadToLL() 270 Value *Addr = LI->getPointerOperand(); in expandAtomicLoadToCmpXchg() 300 Value *Addr = SI->getPointerOperand(); in convertAtomicStoreToIntegerType() 323 Builder.CreateAtomicRMW(AtomicRMWInst::Xchg, SI->getPointerOperand(), in expandAtomicStore() 384 return expandAtomicOpToLLSC(AI, AI->getPointerOperand(), AI->getOrdering(), in tryExpandAtomicRMW() 454 Value *Addr = CI->getPointerOperand(); in expandAtomicCmpXchg() 629 Value *Addr = AI->getPointerOperand(); in expandAtomicRMWToCmpXchg()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCLoopPreIncPrep.cpp | 135 return LMemI->getPointerOperand(); in GetPointerOperand() 137 return SMemI->getPointerOperand(); in GetPointerOperand() 190 PtrValue = LMemI->getPointerOperand(); in runOnLoop() 193 PtrValue = SMemI->getPointerOperand(); in runOnLoop()
|
D | PPCLoopDataPrefetch.cpp | 166 PtrValue = LMemI->getPointerOperand(); in runOnLoop() 170 PtrValue = SMemI->getPointerOperand(); in runOnLoop()
|
/external/llvm/lib/Target/X86/ |
D | X86TargetObjectFile.cpp | 102 const auto *GOLHS = dyn_cast<GlobalObject>(SubLHS->getPointerOperand()); in getExecutableRelativeSymbol() 103 const auto *GVRHS = dyn_cast<GlobalVariable>(SubRHS->getPointerOperand()); in getExecutableRelativeSymbol()
|
/external/llvm/include/llvm/Analysis/ |
D | ObjCARCAnalysisUtils.h | 176 if (AA.pointsToConstantMemory(LI->getPointerOperand())) in IsPotentialRetainableObjPtr() 210 GetRCIdentityRoot(LI->getPointerOperand()); in IsObjCIdentifiedObject()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAnnotateUniformValues.cpp | 61 Value *Ptr = I.getPointerOperand(); in visitLoadInst()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCContract.cpp | 264 if (Store->getPointerOperand() == Loc.Ptr) in findSafeStoreForStoreStrongContraction() 379 Value *Args[] = { Load->getPointerOperand(), New }; in tryToContractReleaseIntoStoreStrong() 606 Arg = cast<GEPOperator>(Arg)->getPointerOperand(); in runOnFunction()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 2006 Value *GpPtr = Gep->getPointerOperand(); in isConsecutivePtr() 2240 Value *Ptr = LI ? LI->getPointerOperand() : SI->getPointerOperand(); in vectorizeInterleaveGroup() 2364 Value *Ptr = LI ? LI->getPointerOperand() : SI->getPointerOperand(); in vectorizeMemoryInstruction() 2395 if (Gep && Legal->isInductionVariable(Gep->getPointerOperand())) { in vectorizeMemoryInstruction() 2397 Value *PtrOperand = Gep->getPointerOperand(); in vectorizeMemoryInstruction() 2408 assert(PSE.getSE()->isLoopInvariant(PSE.getSCEV(Gep->getPointerOperand()), in vectorizeMemoryInstruction() 2450 assert(!Legal->isUniform(SI->getPointerOperand()) && in vectorizeMemoryInstruction() 4022 SafePointes.insert(LI->getPointerOperand()); in canVectorizeWithIfConvert() 4024 SafePointes.insert(SI->getPointerOperand()); in canVectorizeWithIfConvert() 4399 Ptr = LI->getPointerOperand(); in collectStridedAccess() [all …]
|