Home
last modified time | relevance | path

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

12345

/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DMemoryLocation.cpp41 LI->getPointerOperand(), in get()
50 return MemoryLocation(SI->getPointerOperand(), in get()
60 return MemoryLocation(VI->getPointerOperand(), LocationSize::unknown(), in get()
69 return MemoryLocation(CXI->getPointerOperand(), in get()
80 return MemoryLocation(RMWI->getPointerOperand(), in get()
H A DLoads.cpp81 const Value *Base = GEP->getPointerOperand(); in isDereferenceableAndAlignedPointer()
284 AccessedPtr = LI->getPointerOperand(); in isSafeToLoadUnconditionally()
287 AccessedPtr = SI->getPointerOperand(); in isSafeToLoadUnconditionally()
332 Load->getPointerOperand(), Load->getType(), Load->isAtomic(), ScanBB, in FindAvailableLoadedValue()
375 LI->getPointerOperand()->stripPointerCasts(), StrippedPtr) && in FindAvailablePtrLoadStore()
389 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in FindAvailablePtrLoadStore()
H A DCFLGraph.h298 auto *Ptr = Inst.getPointerOperand(); in visitAtomicCmpXchgInst()
304 auto *Ptr = Inst.getPointerOperand(); in visitAtomicRMWInst()
321 auto *Op = GEPOp.getPointerOperand(); in visitGEP()
345 auto *Ptr = Inst.getPointerOperand(); in visitLoadInst()
351 auto *Ptr = Inst.getPointerOperand(); in visitStoreInst()
H A DMemDerefPrinter.cpp56 Value *PO = LI->getPointerOperand(); in runOnFunction()
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAlloca.cpp91 if (LI && LI->getPointerOperand() == allocaInst && !LI->isVolatile()) { in runOnBasicBlock()
96 if (SI && SI->getPointerOperand() == allocaInst && !SI->isVolatile()) { in runOnBasicBlock()
101 if (GI && GI->getPointerOperand() == allocaInst) { in runOnBasicBlock()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUPerfHintAnalysis.cpp126 return LI->getPointerOperand(); in getMemoryInstrPtr()
129 return SI->getPointerOperand(); in getMemoryInstrPtr()
132 return AI->getPointerOperand(); in getMemoryInstrPtr()
135 return AI->getPointerOperand(); in getMemoryInstrPtr()
161 auto M = LD->getPointerOperand(); in isIndirectAccess()
170 auto P = GEP->getPointerOperand(); in isIndirectAccess()
H A DAMDGPUAnnotateUniformValues.cpp95 const Value *Ptr = Load->getPointerOperand(); in isClobberedInFunction()
125 Value *Ptr = I.getPointerOperand(); in visitLoadInst()
H A DAMDGPUPromoteAlloca.cpp335 return isa<GetElementPtrInst>(LI->getPointerOperand()) && LI->isSimple(); in canVectorizeInst()
348 return (SI->getPointerOperand() == User) && isa<GetElementPtrInst>(User) && SI->isSimple(); in canVectorizeInst()
426 Value *Ptr = cast<LoadInst>(Inst)->getPointerOperand(); in tryPromoteAllocaToVector()
442 Value *Ptr = SI->getPointerOperand(); in tryPromoteAllocaToVector()
551 if (SI->getPointerOperand() != Val) in collectUsesWithPtrTypes()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp300 auto *V = getReplacement(LT->getPointerOperand()); in replace()
308 auto *V = getReplacement(GEP->getPointerOperand()); in replace()
457 Value *Ptr = LI.getPointerOperand(); in combineLoadToNewType()
523 Value *Ptr = SI.getPointerOperand(); in combineStoreToNewValue()
620 if (LI.getPointerOperand()->isSwiftError()) in combineLoadToOperationType()
715 auto *Addr = LI.getPointerOperand(); in unpackLoadToAggregate()
765 auto *Addr = LI.getPointerOperand(); in unpackLoadToAggregate()
971 auto *Ptr = SI.getPointerOperand(); in canSimplifyNullStoreOrGEP()
1183 if (SI.getPointerOperand()->isSwiftError()) in combineStoreToValueType()
1242 auto *Addr = SI.getPointerOperand(); in unpackStoreToAggregate()
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp339 Addr = GEP->getPointerOperand(); in addrPointsToConstantData()
376 Value *Addr = Store->getPointerOperand(); in chooseInstructionsToInstrument()
382 Value *Addr = Load->getPointerOperand(); in chooseInstructionsToInstrument()
396 ? cast<StoreInst>(I)->getPointerOperand() in chooseInstructionsToInstrument()
397 : cast<LoadInst>(I)->getPointerOperand(); in chooseInstructionsToInstrument()
521 ? cast<StoreInst>(I)->getPointerOperand() in instrumentLoadOrStore()
522 : cast<LoadInst>(I)->getPointerOperand(); in instrumentLoadOrStore()
629 Value *Addr = LI->getPointerOperand(); in instrumentAtomic()
644 Value *Addr = SI->getPointerOperand(); in instrumentAtomic()
658 Value *Addr = RMWI->getPointerOperand(); in instrumentAtomic()
[all …]
H A DBoundsChecking.cpp156 Or = getBoundsCheckCond(LI->getPointerOperand(), LI, DL, TLI, in addBoundsChecking()
159 Or = getBoundsCheckCond(SI->getPointerOperand(), SI->getValueOperand(), in addBoundsChecking()
162 Or = getBoundsCheckCond(AI->getPointerOperand(), AI->getCompareOperand(), in addBoundsChecking()
165 Or = getBoundsCheckCond(AI->getPointerOperand(), AI->getValOperand(), DL, in addBoundsChecking()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DOperator.h467 Value *getPointerOperand() { in getPointerOperand() function
470 const Value *getPointerOperand() const { in getPointerOperand() function
479 return getPointerOperand()->getType(); in getPointerOperandType()
545 Value *getPointerOperand() { in getPointerOperand() function
548 const Value *getPointerOperand() const { in getPointerOperand() function
558 return getPointerOperand()->getType(); in getPointerOperandType()
H A DInstructions.h285 Value *getPointerOperand() { return getOperand(0); } in getPointerOperand() function
413 Value *getPointerOperand() { return getOperand(1); } in getPointerOperand() function
992 Value *getPointerOperand() {
995 const Value *getPointerOperand() const {
1005 return getPointerOperand()->getType();
4930 Value *getPointerOperand() {
4935 const Value *getPointerOperand() const {
4959 return Load->getPointerOperand();
4961 return Store->getPointerOperand();
4967 inline Value *getPointerOperand(Value *V) {
[all …]
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp380 Value *Addr = LI->getPointerOperand(); in convertAtomicLoadToIntegerType()
403 LI, LI->getType(), LI->getPointerOperand(), LI->getOrdering(), in tryExpandAtomicLoad()
434 Value *Addr = LI->getPointerOperand(); in expandAtomicLoadToCmpXchg()
464 Value *Addr = SI->getPointerOperand(); in convertAtomicStoreToIntegerType()
558 expandAtomicOpToLLSC(AI, AI->getType(), AI->getPointerOperand(), in tryExpandAtomicRMW()
820 Value *Addr = CI->getPointerOperand(); in expandPartwordCmpXchg()
1035 Value *Addr = CI->getPointerOperand(); in convertCmpXchgToIntegerType()
1069 Value *Addr = CI->getPointerOperand(); in expandAtomicCmpXchg()
1409 Builder, AI->getType(), AI->getPointerOperand(), AI->getOrdering(), in expandAtomicRMWToCmpXchg()
1449 I, Size, Align, I->getPointerOperand(), nullptr, nullptr, in expandAtomicLoadToLibcall()
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp261 SI->getPointerOperand(), SI->getAlignment(), SI); in addStore()
424 if (!IsPointerOffset(StartPtr, NextStore->getPointerOperand(), Offset, in INITIALIZE_PASS_DEPENDENCY()
539 if (auto *Ptr = dyn_cast<Instruction>(SI->getPointerOperand())) in moveUp()
676 SI->getPointerOperand(), findStoreAlignment(DL, SI), in processStore()
677 LI->getPointerOperand(), findLoadAlignment(DL, LI), Size); in processStore()
680 SI->getPointerOperand(), findStoreAlignment(DL, SI), in processStore()
681 LI->getPointerOperand(), findLoadAlignment(DL, LI), Size); in processStore()
709 Value *CpyDest = SI->getPointerOperand()->stripPointerCasts(); in processStore()
730 LI, SI->getPointerOperand()->stripPointerCasts(), in processStore()
731 LI->getPointerOperand()->stripPointerCasts(), in processStore()
[all …]
H A DEarlyCSE.cpp546 return (getPointerOperand() == Inst.getPointerOperand() && in isMatchingMemLoc()
550 bool isValid() const { return getPointerOperand() != nullptr; } in isValid()
561 Value *getPointerOperand() const { in getPointerOperand() function in __anonb85134700311::EarlyCSE::ParseMemoryInst
982 LoadValue InVal = AvailableLoads.lookup(MemInst.getPointerOperand()); in processNode()
1012 MemInst.getPointerOperand(), in processNode()
1075 LoadValue InVal = AvailableLoads.lookup(MemInst.getPointerOperand()); in processNode()
1089 ParseMemoryInst(LastStore, TTI).getPointerOperand() == in processNode()
1090 MemInst.getPointerOperand() || in processNode()
1149 MemInst.getPointerOperand(), in processNode()
H A DAlignmentFromAssumptions.cpp264 AAPtr = PToI->getPointerOperand(); in extractAlignmentInfo()
273 AAPtr = PToI->getPointerOperand(); in extractAlignmentInfo()
324 LI->getPointerOperand(), SE); in processAssumption()
332 SI->getPointerOperand(), SE); in processAssumption()
H A DLoopLoadElimination.cpp95 Value *LoadPtr = Load->getPointerOperand(); in isDependenceDistanceOfOne()
96 Value *StorePtr = Store->getPointerOperand(); in isDependenceDistanceOfOne()
126 Value *getLoadPtr() const { return Load->getPointerOperand(); } in getLoadPtr()
361 PtrsWrittenOnFwdingPath.insert(S->getPointerOperand()); in findPointersWrittenOnForwardingPath()
426 Value *Ptr = Cand.Load->getPointerOperand(); in propagateStoredValueToLoadUsers()
H A DLowerAtomic.cpp26 Value *Ptr = CXI->getPointerOperand(); in LowerAtomicCmpXchgInst()
45 Value *Ptr = RMWI->getPointerOperand(); in LowerAtomicRMWInst()
H A DInferAddressSpaces.cpp361 PushPtrOperand(GEP->getPointerOperand()); in collectFlatAddressExpressions()
363 PushPtrOperand(LI->getPointerOperand()); in collectFlatAddressExpressions()
365 PushPtrOperand(SI->getPointerOperand()); in collectFlatAddressExpressions()
367 PushPtrOperand(RMW->getPointerOperand()); in collectFlatAddressExpressions()
369 PushPtrOperand(CmpX->getPointerOperand()); in collectFlatAddressExpressions()
387 PushPtrOperand(ASC->getPointerOperand()); in collectFlatAddressExpressions()
H A DLoopIdiomRecognize.cpp408 Value *StorePtr = SI->getPointerOperand(); in isLegalStore()
478 dyn_cast<SCEVAddRecExpr>(SE->getSCEV(LI->getPointerOperand())); in isLegalStore()
511 Value *Ptr = GetUnderlyingObject(SI->getPointerOperand(), *DL); in collectStores()
516 Value *Ptr = GetUnderlyingObject(SI->getPointerOperand(), *DL); in collectStores()
594 Value *FirstStorePtr = SL[i]->getPointerOperand(); in processLoopStores()
630 Value *SecondStorePtr = SL[k]->getPointerOperand(); in processLoopStores()
701 Value *StorePtr = HeadStore->getPointerOperand(); in processLoopStores()
970 Value *StorePtr = SI->getPointerOperand(); in processLoopStoreOfLoopLoad()
984 cast<SCEVAddRecExpr>(SE->getSCEV(LI->getPointerOperand())); in processLoopStoreOfLoopLoad()
H A DGVNHoist.cpp189 unsigned V = VN.lookupOrAdd(Load->getPointerOperand()); in insert()
208 Value *Ptr = Store->getPointerOperand(); in insert()
880 OtherGep = cast<GetElementPtrInst>(OtherLd->getPointerOperand()); in makeGepsAvailable()
883 cast<StoreInst>(OtherInst)->getPointerOperand()); in makeGepsAvailable()
982 Gep = dyn_cast<GetElementPtrInst>(Ld->getPointerOperand()); in makeGepOperandsAvailable()
984 Gep = dyn_cast<GetElementPtrInst>(St->getPointerOperand()); in makeGepOperandsAvailable()
/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp392 GEPA->getPointerOperand() != GEPB->getPointerOperand()) in lookThroughComplexAddresses()
760 Value *Ptr = LI->getPointerOperand(); in collectInstructions()
807 Value *Ptr = SI->getPointerOperand(); in collectInstructions()
1013 unsigned NewAlign = getOrEnforceKnownAlignment(S0->getPointerOperand(), in vectorizeStoreChain()
1064 Builder.CreateBitCast(S0->getPointerOperand(), VecTy->getPointerTo(AS)), in vectorizeStoreChain()
1155 unsigned NewAlign = getOrEnforceKnownAlignment(L0->getPointerOperand(), in vectorizeLoadChain()
1184 Builder.CreateBitCast(L0->getPointerOperand(), VecTy->getPointerTo(AS)); in vectorizeLoadChain()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCLoopPreIncPrep.cpp157 return LMemI->getPointerOperand(); in GetPointerOperand()
159 return SMemI->getPointerOperand(); in GetPointerOperand()
270 PtrValue = LMemI->getPointerOperand(); in runOnLoop()
273 PtrValue = SMemI->getPointerOperand(); in runOnLoop()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DObjCARCAnalysisUtils.h190 if (AA.pointsToConstantMemory(LI->getPointerOperand())) in IsPotentialRetainableObjPtr()
224 GetRCIdentityRoot(LI->getPointerOperand()); in IsObjCIdentifiedObject()

12345