Home
last modified time | relevance | path

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

123

/minix3/external/bsd/llvm/dist/llvm/lib/Analysis/
H A DDelinearization.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()
H A DLoads.cpp130 AccessedPtr = LI->getPointerOperand(); in isSafeToLoadUnconditionally()
132 AccessedPtr = SI->getPointerOperand(); in isSafeToLoadUnconditionally()
209 LI->getPointerOperand()->stripPointerCasts(), StrippedPtr) && in FindAvailableLoadedValue()
217 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in FindAvailableLoadedValue()
H A DAliasAnalysis.cpp257 return Location(LI->getPointerOperand(), in getLocation()
265 return Location(SI->getPointerOperand(), in getLocation()
273 return Location(VI->getPointerOperand(), UnknownSize, AATags); in getLocation()
281 return Location(CXI->getPointerOperand(), in getLocation()
291 return Location(RMWI->getPointerOperand(), in getLocation()
H A DCFLAliasAnalysis.cpp272 auto *Ptr = Inst.getPointerOperand(); in visitAtomicCmpXchgInst()
278 auto *Ptr = Inst.getPointerOperand(); in visitAtomicRMWInst()
291 auto *Op = Inst.getPointerOperand(); in visitGetElementPtrInst()
309 auto *Ptr = Inst.getPointerOperand(); in visitLoadInst()
315 auto *Ptr = Inst.getPointerOperand(); in visitStoreInst()
533 Value *visitStoreInst(StoreInst &Inst) { return Inst.getPointerOperand(); } in visitStoreInst()
536 return Inst.getPointerOperand(); in visitAtomicCmpXchgInst()
540 return Inst.getPointerOperand(); in visitAtomicRMWInst()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp195 MadeChange |= instrument(LI->getPointerOperand(), LI); in runOnFunction()
197 MadeChange |= instrument(SI->getPointerOperand(), SI->getValueOperand()); in runOnFunction()
199 MadeChange |= instrument(AI->getPointerOperand(),AI->getCompareOperand()); in runOnFunction()
201 MadeChange |= instrument(AI->getPointerOperand(), AI->getValOperand()); in runOnFunction()
H A DThreadSanitizer.cpp242 Addr = GEP->getPointerOperand(); in addrPointsToConstantData()
280 WriteTargets.insert(Store->getPointerOperand()); in chooseInstructionsToInstrument()
283 Value *Addr = Load->getPointerOperand(); in chooseInstructionsToInstrument()
386 ? cast<StoreInst>(I)->getPointerOperand() in instrumentLoadOrStore()
387 : cast<LoadInst>(I)->getPointerOperand(); in instrumentLoadOrStore()
474 Value *Addr = LI->getPointerOperand(); in instrumentAtomic()
488 Value *Addr = SI->getPointerOperand(); in instrumentAtomic()
502 Value *Addr = RMWI->getPointerOperand(); in instrumentAtomic()
519 Value *Addr = CASI->getPointerOperand(); in instrumentAtomic()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DOperator.h388 Value *getPointerOperand() { in getPointerOperand() function
391 const Value *getPointerOperand() const { in getPointerOperand() function
400 return getPointerOperand()->getType(); in getPointerOperandType()
486 Value *getPointerOperand() { in getPointerOperand() function
489 const Value *getPointerOperand() const { in getPointerOperand() function
498 return getPointerOperand()->getType(); in getPointerOperandType()
H A DInstructions.h255 Value *getPointerOperand() { return getOperand(0); } in getPointerOperand() function
256 const Value *getPointerOperand() const { return getOperand(0); } in getPointerOperand() function
261 return getPointerOperand()->getType()->getPointerAddressSpace(); in getPointerAddressSpace()
377 Value *getPointerOperand() { return getOperand(1); } in getPointerOperand() function
378 const Value *getPointerOperand() const { return getOperand(1); } in getPointerOperand() function
383 return getPointerOperand()->getType()->getPointerAddressSpace(); in getPointerAddressSpace()
569 Value *getPointerOperand() { return getOperand(0); }
570 const Value *getPointerOperand() const { return getOperand(0); }
581 return getPointerOperand()->getType()->getPointerAddressSpace();
738 Value *getPointerOperand() { return getOperand(0); }
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp190 TLI->emitLoadLinked(Builder, LI->getPointerOperand(), LI->getOrdering()); in expandAtomicLoadToLL()
201 Value *Addr = LI->getPointerOperand(); in expandAtomicLoadToCmpXchg()
225 Builder.CreateAtomicRMW(AtomicRMWInst::Xchg, SI->getPointerOperand(), in expandAtomicStore()
282 Value *Addr = AI->getPointerOperand(); in expandAtomicRMWToLLSC()
338 Value *Addr = AI->getPointerOperand(); in expandAtomicRMWToCmpXchg()
403 Value *Addr = CI->getPointerOperand(); in expandAtomicCmpXchg()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/
H A DMergedLoadStoreMotion.cpp184 MD->invalidateCachedPointerInfo(LI->getPointerOperand()); in INITIALIZE_PASS_DEPENDENCY()
337 Instruction *A0 = dyn_cast<Instruction>(L0->getPointerOperand()); in hoistLoad()
338 Instruction *A1 = dyn_cast<Instruction>(L1->getPointerOperand()); in hoistLoad()
478 Instruction *A0 = dyn_cast<Instruction>(S0->getPointerOperand()); in sinkStore()
479 Instruction *A1 = dyn_cast<Instruction>(S1->getPointerOperand()); in sinkStore()
H A DLowerAtomic.cpp26 Value *Ptr = CXI->getPointerOperand(); in LowerAtomicCmpXchgInst()
45 Value *Ptr = RMWI->getPointerOperand(); in LowerAtomicRMWInst()
H A DAlignmentFromAssumptions.cpp273 AAPtr = PToI->getPointerOperand(); in extractAlignmentInfo()
282 AAPtr = PToI->getPointerOperand(); in extractAlignmentInfo()
328 LI->getPointerOperand(), SE); in processAssumption()
336 SI->getPointerOperand(), SE); in processAssumption()
H A DCorrelatedValuePropagation.cpp145 Pointer = L->getPointerOperand(); in processMemAccess()
147 Pointer = cast<StoreInst>(I)->getPointerOperand(); in processMemAccess()
H A DLoadCombine.cpp99 POP.Pointer = LI.getPointerOperand(); in getPointerOffsetPair()
110 POP.Pointer = GEP->getPointerOperand(); in getPointerOffsetPair()
H A DMemCpyOptimizer.cpp227 SI->getPointerOperand(), SI->getAlignment(), SI); in addStore()
409 if (!IsPointerOffset(StartPtr, NextStore->getPointerOperand(), in INITIALIZE_PASS_DEPENDENCY()
534 SI->getPointerOperand()->stripPointerCasts(), in processStore()
535 LI->getPointerOperand()->stripPointerCasts(), in processStore()
557 if (Instruction *I = tryMergingIntoMemset(SI, SI->getPointerOperand(), in processStore()
H A DEarlyCSE.cpp545 LastStore->getPointerOperand() == SI->getPointerOperand()) { in INITIALIZE_PASS_DEPENDENCY()
560 AvailableLoads->insert(SI->getPointerOperand(), in INITIALIZE_PASS_DEPENDENCY()
H A DDeadStoreElimination.cpp306 return SI->getPointerOperand(); in getStoredPointerOperand()
514 if (SI->getPointerOperand() == DepLoad->getPointerOperand() && in runOnBasicBlock()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/X86/
H A DX86TargetObjectFile.cpp88 dyn_cast<GlobalVariable>(SubLHS->getPointerOperand()); in getExecutableRelativeSymbol()
90 dyn_cast<GlobalVariable>(SubRHS->getPointerOperand()); in getExecutableRelativeSymbol()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp250 if (Store->getPointerOperand() != Loc.Ptr) return; in ContractRelease()
272 Value *Args[] = { Load->getPointerOperand(), New }; in ContractRelease()
499 Arg = cast<GEPOperator>(Arg)->getPointerOperand(); in runOnFunction()
H A DObjCARC.h340 if (AA.pointsToConstantMemory(LI->getPointerOperand())) in IsPotentialRetainableObjPtr()
374 StripPointerCastsAndObjCCalls(LI->getPointerOperand()); in IsObjCIdentifiedObject()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/R600/
H A DAMDGPUTargetTransformInfo.cpp114 const Value *Ptr = GEP->getPointerOperand(); in getUnrollingPreferences()
H A DSITypeRewriter.cpp82 Value *Ptr = I.getPointerOperand(); in visitLoadInst()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXFavorNonGenericAddrSpaces.cpp113 Operator *Cast = dyn_cast<Operator>(GEP->getPointerOperand()); in hoistAddrSpaceCastFromGEP()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp1663 Value *GpPtr = Gep->getPointerOperand(); in isConsecutivePtr()
1775 Value *Ptr = LI ? LI->getPointerOperand() : SI->getPointerOperand(); in vectorizeMemoryInstruction()
1805 if (Gep && Legal->isInductionVariable(Gep->getPointerOperand())) { in vectorizeMemoryInstruction()
1807 Value *PtrOperand = Gep->getPointerOperand(); in vectorizeMemoryInstruction()
1818 assert(SE->isLoopInvariant(SE->getSCEV(Gep->getPointerOperand()), in vectorizeMemoryInstruction()
1858 assert(!Legal->isUniform(SI->getPointerOperand()) && in vectorizeMemoryInstruction()
3506 SafePointes.insert(LI->getPointerOperand()); in canVectorizeWithIfConvert()
3508 SafePointes.insert(SI->getPointerOperand()); in canVectorizeWithIfConvert()
3980 Ptr = LI->getPointerOperand(); in collectStridedAccess()
3982 Ptr = SI->getPointerOperand(); in collectStridedAccess()
[all …]
H A DSLPVectorizer.cpp388 return (LI->getPointerOperand() == Scalar); in InTreeUserNeedToExtract()
392 return (SI->getPointerOperand() == Scalar); in InTreeUserNeedToExtract()
495 static Value *getPointerOperand(Value *I);
1834 Value *BoUpSLP::getPointerOperand(Value *I) { in getPointerOperand() function in __anon6868a6e70111::BoUpSLP
1836 return LI->getPointerOperand(); in getPointerOperand()
1838 return SI->getPointerOperand(); in getPointerOperand()
1851 Value *PtrA = getPointerOperand(A); in isConsecutiveAccess()
1852 Value *PtrB = getPointerOperand(B); in isConsecutiveAccess()
2161 Value *VecPtr = Builder.CreateBitCast(LI->getPointerOperand(), in vectorizeTree()
2167 if (ScalarToTreeEntry.count(LI->getPointerOperand())) in vectorizeTree()
[all …]

123