Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp233 Addr = GEP->getPointerOperand(); in addrPointsToConstantData()
271 WriteTargets.insert(Store->getPointerOperand()); in chooseInstructionsToInstrument()
274 Value *Addr = Load->getPointerOperand(); in chooseInstructionsToInstrument()
371 ? cast<StoreInst>(I)->getPointerOperand() in instrumentLoadOrStore()
372 : cast<LoadInst>(I)->getPointerOperand(); in instrumentLoadOrStore()
437 Value *Addr = LI->getPointerOperand(); in instrumentAtomic()
452 Value *Addr = SI->getPointerOperand(); in instrumentAtomic()
467 Value *Addr = RMWI->getPointerOperand(); in instrumentAtomic()
484 Value *Addr = CASI->getPointerOperand(); in instrumentAtomic()
DBoundsChecking.cpp196 MadeChange |= instrument(LI->getPointerOperand(), LI); in runOnFunction()
198 MadeChange |= instrument(SI->getPointerOperand(), SI->getValueOperand()); in runOnFunction()
200 MadeChange |= instrument(AI->getPointerOperand(),AI->getCompareOperand()); in runOnFunction()
202 MadeChange |= instrument(AI->getPointerOperand(), AI->getValOperand()); in runOnFunction()
DAddressSanitizer.cpp606 return LI->getPointerOperand(); in isInterestingMemoryAccess()
611 return SI->getPointerOperand(); in isInterestingMemoryAccess()
616 return RMW->getPointerOperand(); in isInterestingMemoryAccess()
621 return XCHG->getPointerOperand(); in isInterestingMemoryAccess()
/external/llvm/lib/Analysis/
DAliasAnalysis.cpp227 return Location(LI->getPointerOperand(), in getLocation()
233 return Location(SI->getPointerOperand(), in getLocation()
239 return Location(VI->getPointerOperand(), in getLocation()
246 return Location(CXI->getPointerOperand(), in getLocation()
253 return Location(RMWI->getPointerOperand(), in getLocation()
DLint.cpp462 visitMemoryReference(I, I.getPointerOperand(), in visitLoadInst()
468 visitMemoryReference(I, I.getPointerOperand(), in visitStoreInst()
614 if (Value *U = FindAvailableLoadedValue(L->getPointerOperand(), in findValueImpl()
DDependenceAnalysis.cpp650 Value *getPointerOperand(Instruction *I) { in getPointerOperand() function
652 return LI->getPointerOperand(); in getPointerOperand()
654 return SI->getPointerOperand(); in getPointerOperand()
3214 Value *SrcPtr = getPointerOperand(Src); in depends()
3215 Value *DstPtr = getPointerOperand(Dst); in depends()
3245 const SCEV *SrcPtrSCEV = SE->getSCEV(SrcGEP->getPointerOperand()); in depends()
3246 const SCEV *DstPtrSCEV = SE->getSCEV(DstGEP->getPointerOperand()); in depends()
3654 Value *SrcPtr = getPointerOperand(Src); in getSplitIteration()
3655 Value *DstPtr = getPointerOperand(Dst); in getSplitIteration()
3670 const SCEV *SrcPtrSCEV = SE->getSCEV(SrcGEP->getPointerOperand()); in getSplitIteration()
[all …]
DMemoryBuiltins.cpp543 SizeOffsetType PtrData = compute(GEP.getPointerOperand()); in visitGEPOperator()
744 SizeOffsetEvalType PtrData = compute_(GEP.getPointerOperand()); in visitGEPOperator()
/external/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp25 Value *Ptr = CXI->getPointerOperand(); in LowerAtomicCmpXchgInst()
41 Value *Ptr = RMWI->getPointerOperand(); in LowerAtomicRMWInst()
DMemCpyOptimizer.cpp215 SI->getPointerOperand(), SI->getAlignment(), SI); in addStore()
395 if (!IsPointerOffset(StartPtr, NextStore->getPointerOperand(), in INITIALIZE_PASS_DEPENDENCY()
520 SI->getPointerOperand()->stripPointerCasts(), in processStore()
521 LI->getPointerOperand()->stripPointerCasts(), in processStore()
543 if (Instruction *I = tryMergingIntoMemset(SI, SI->getPointerOperand(), in processStore()
DCorrelatedValuePropagation.cpp143 Pointer = L->getPointerOperand(); in processMemAccess()
145 Pointer = cast<StoreInst>(I)->getPointerOperand(); in processMemAccess()
DEarlyCSE.cpp535 LastStore->getPointerOperand() == SI->getPointerOperand()) { in INITIALIZE_PASS_DEPENDENCY()
550 AvailableLoads->insert(SI->getPointerOperand(), in INITIALIZE_PASS_DEPENDENCY()
DDeadStoreElimination.cpp301 return SI->getPointerOperand(); in getStoredPointerOperand()
519 if (SI->getPointerOperand() == DepLoad->getPointerOperand() && in runOnBasicBlock()
DGVN.cpp924 Value *StorePtr = DepSI->getPointerOperand(); in AnalyzeLoadFromClobberingStore()
939 Value *DepPtr = DepLI->getPointerOperand(); in AnalyzeLoadFromClobberingLoad()
1066 Value *PtrVal = SrcVal->getPointerOperand(); in GetLoadValueForLoad()
1408 LI->getPointerOperand(), in processNonLocalLoad()
1616 PHITransAddr Address(LI->getPointerOperand(), TD); in processNonLocalLoad()
1630 << *LI->getPointerOperand() << "\n"); in processNonLocalLoad()
1797 L->getPointerOperand(), in processLoad()
1815 L->getPointerOperand(), in processLoad()
1825 L->getPointerOperand(), in processLoad()
/external/llvm/include/llvm/IR/
DInstructions.h225 Value *getPointerOperand() { return getOperand(0); } in getPointerOperand() function
226 const Value *getPointerOperand() const { return getOperand(0); } in getPointerOperand() function
231 return getPointerOperand()->getType()->getPointerAddressSpace(); in getPointerAddressSpace()
348 Value *getPointerOperand() { return getOperand(1); } in getPointerOperand() function
349 const Value *getPointerOperand() const { return getOperand(1); } in getPointerOperand() function
354 return getPointerOperand()->getType()->getPointerAddressSpace(); in getPointerAddressSpace()
513 Value *getPointerOperand() { return getOperand(0); }
514 const Value *getPointerOperand() const { return getOperand(0); }
525 return getPointerOperand()->getType()->getPointerAddressSpace();
660 Value *getPointerOperand() { return getOperand(0); }
[all …]
DOperator.h382 Value *getPointerOperand() { in getPointerOperand() function
385 const Value *getPointerOperand() const { in getPointerOperand() function
395 return getPointerOperand()->getType(); in getPointerOperandType()
/external/llvm/lib/Transforms/ObjCARC/
DObjCARC.h331 if (AA.pointsToConstantMemory(LI->getPointerOperand())) in IsPotentialRetainableObjPtr()
365 StripPointerCastsAndObjCCalls(LI->getPointerOperand()); in IsObjCIdentifiedObject()
DObjCARCContract.cpp276 if (Store->getPointerOperand() != Loc.Ptr) return; in ContractRelease()
298 Value *Args[] = { Load->getPointerOperand(), New }; in ContractRelease()
519 Arg = cast<GEPOperator>(Arg)->getPointerOperand(); in runOnFunction()
DDependencyAnalysis.cpp97 const Value *Op = GetUnderlyingObjCPtr(SI->getPointerOperand()); in CanUse()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp820 Value *GpPtr = Gep->getPointerOperand(); in isConsecutivePtr()
906 Value *Ptr = LI ? LI->getPointerOperand() : SI->getPointerOperand(); in vectorizeMemoryInstruction()
922 if (Gep && Legal->isInductionVariable(Gep->getPointerOperand())) { in vectorizeMemoryInstruction()
923 Value *PtrOperand = Gep->getPointerOperand(); in vectorizeMemoryInstruction()
933 assert(SE->isLoopInvariant(SE->getSCEV(Gep->getPointerOperand()), in vectorizeMemoryInstruction()
959 assert(!Legal->isUniform(SI->getPointerOperand()) && in vectorizeMemoryInstruction()
2520 Value* Ptr = ST->getPointerOperand(); in canVectorizeMemory()
2535 Value* Ptr = LD->getPointerOperand(); in canVectorizeMemory()
3363 Value *Ptr = SI ? SI->getPointerOperand() : LI->getPointerOperand(); in getInstructionCost()
3486 return Legal->isConsecutivePtr(ST->getPointerOperand()) != 0; in isConsecutiveLoadOrStore()
[all …]
DBBVectorize.cpp597 IPtr = LI->getPointerOperand(); in getPairPtrInfo()
598 JPtr = LJ->getPointerOperand(); in getPairPtrInfo()
605 IPtr = SI->getPointerOperand(); in getPairPtrInfo()
606 JPtr = SJ->getPointerOperand(); in getPairPtrInfo()
1280 P.first == SI->getPointerOperand()) { in computePairsConnectedTo()
1291 P.second == SJ->getPointerOperand()) in computePairsConnectedTo()
1314 P.first == SJ->getPointerOperand()) in computePairsConnectedTo()
1333 P.second == SI->getPointerOperand()) in computePairsConnectedTo()
1338 P.second == SJ->getPointerOperand()) in computePairsConnectedTo()
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp357 if (GEP1->getPointerOperand()->getType() != in isEquivalentGEP()
358 GEP2->getPointerOperand()->getType()) in isEquivalentGEP()
429 if (!enumerate(GEP1->getPointerOperand(), GEP2->getPointerOperand())) in compare()
DArgumentPromotion.cpp349 Value *V = LI->getPointerOperand(); in isSafeToPromoteArgument()
351 V = GEP->getPointerOperand(); in isSafeToPromoteArgument()
/external/llvm/tools/llvm-diff/
DDiffConsumer.cpp56 printValue(cast<StoreInst>(V)->getPointerOperand(), isL); in printValue()
/external/llvm/lib/Target/NVPTX/
DNVPTXUtilities.cpp351 V = GEP->getPointerOperand()->stripPointerCasts(); in skipPointerTransfer()
383 V = GEP->getPointerOperand()->stripPointerCasts(); in skipPointerTransfer()
/external/llvm/lib/Analysis/IPA/
DInlineCost.cpp319 bool SROACandidate = lookupSROAArgAndCost(I.getPointerOperand(), in visitGetElementPtr()
326 Value *Ptr = I.getPointerOperand(); in visitGetElementPtr()
871 V = GEP->getPointerOperand(); in stripAndComputeInBoundsConstantOffsets()

12