| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Operator.h | 499 Value *getPointerOperand() { in getPointerOperand() function 502 const Value *getPointerOperand() const { in getPointerOperand() function 511 return getPointerOperand()->getType(); in getPointerOperandType() 602 Value *getPointerOperand() { in getPointerOperand() function 605 const Value *getPointerOperand() const { in getPointerOperand() function 615 return getPointerOperand()->getType(); in getPointerOperandType() 645 Value *getPointerOperand() { return getOperand(0); } in getPointerOperand() function 647 const Value *getPointerOperand() const { return getOperand(0); } in getPointerOperand() function 650 return getPointerOperand()->getType()->getPointerAddressSpace(); in getSrcAddressSpace()
|
| H A D | Instructions.h | 267 Value *getPointerOperand() { return getOperand(0); } in getPointerOperand() function 401 Value *getPointerOperand() { return getOperand(1); } in getPointerOperand() function 1069 Value *getPointerOperand() { 1072 const Value *getPointerOperand() const { 1082 return getPointerOperand()->getType(); 5238 Value *getPointerOperand() { 5243 const Value *getPointerOperand() const { 5267 return Load->getPointerOperand(); 5269 return Store->getPointerOperand(); 5283 return Gep->getPointerOperand(); [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXLowerAlloca.cpp | 91 if (LI && LI->getPointerOperand() == allocaInst && in runOnFunction() 97 if (SI && SI->getPointerOperand() == allocaInst && in runOnFunction() 103 if (GI && GI->getPointerOperand() == allocaInst) { in runOnFunction()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | Loads.cpp | 123 const Value *Base = GEP->getPointerOperand(); in isDereferenceableAndAlignedPointer() 277 Value *Ptr = LI->getPointerOperand(); in isDereferenceableAndAlignedInLoop() 382 AccessedPtr = LI->getPointerOperand(); in isSafeToLoadUnconditionally() 389 AccessedPtr = SI->getPointerOperand(); in isSafeToLoadUnconditionally() 483 Value *LoadPtr = LI->getPointerOperand()->stripPointerCasts(); in getAvailableLoadStore() 503 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in getAvailableLoadStore() 556 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in findAvailablePtrLoadStore() 572 Loc.Ptr, AccessTy, SI->getPointerOperand(), in findAvailablePtrLoadStore() 609 Value *StrippedPtr = Load->getPointerOperand()->stripPointerCasts(); in FindAvailableLoadedValue()
|
| H A D | MemoryLocation.cpp | 43 LI->getPointerOperand(), in get() 52 return MemoryLocation(SI->getPointerOperand(), in get() 62 return MemoryLocation(VI->getPointerOperand(), in get() 71 return MemoryLocation(CXI->getPointerOperand(), in get() 82 return MemoryLocation(RMWI->getPointerOperand(), in get()
|
| H A D | MemDerefPrinter.cpp | 59 Value *PO = LI->getPointerOperand(); in runOnFunction() 94 Value *PO = LI->getPointerOperand(); in run()
|
| H A D | CFLGraph.h | 307 auto *Ptr = Inst.getPointerOperand(); in visitAtomicCmpXchgInst() 313 auto *Ptr = Inst.getPointerOperand(); in visitAtomicRMWInst() 330 auto *Op = GEPOp.getPointerOperand(); in visitGEP() 354 auto *Ptr = Inst.getPointerOperand(); in visitLoadInst() 360 auto *Ptr = Inst.getPointerOperand(); in visitStoreInst()
|
| H A D | ObjCARCAnalysisUtils.cpp | 40 if (AA.pointsToConstantMemory(LI->getPointerOperand())) in IsPotentialRetainableObjPtr()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopLoadElimination.cpp | 100 Value *LoadPtr = Load->getPointerOperand(); in isDependenceDistanceOfOne() 101 Value *StorePtr = Store->getPointerOperand(); in isDependenceDistanceOfOne() 130 Value *getLoadPtr() const { return Load->getPointerOperand(); } in getLoadPtr() 366 PtrsWrittenOnFwdingPath.insert(S->getPointerOperand()); in findPointersWrittenOnForwardingPath() 429 Value *Ptr = Cand.Load->getPointerOperand(); in propagateStoredValueToLoadUsers() 507 assert(isa<SCEVAddRecExpr>(PSE.getSCEV(Cand.Load->getPointerOperand())) && in processLoop() 510 isa<SCEVAddRecExpr>(PSE.getSCEV(Cand.Store->getPointerOperand())) && in processLoop() 573 PSE.getSCEV(Cand.Load->getPointerOperand())) || in processLoop() 575 PSE.getSCEV(Cand.Store->getPointerOperand())); in processLoop()
|
| H A D | ConstraintElimination.cpp | 65 {1, GEP->getPointerOperand()}, in decompose() 69 {1, GEP->getPointerOperand()}, in decompose() 71 return {{0, nullptr}, {1, GEP->getPointerOperand()}, {1, Op0}}; in decompose() 76 return {{CI->getSExtValue(), nullptr}, {1, GEP->getPointerOperand()}}; in decompose() 82 {1, GEP->getPointerOperand()}, in decompose() 87 {1, GEP->getPointerOperand()}, in decompose() 91 Result = {{0, nullptr}, {1, GEP->getPointerOperand()}, {1, Op0}}; in decompose()
|
| H A D | MergedLoadStoreMotion.cpp | 231 auto *A0 = dyn_cast<Instruction>(S0->getPointerOperand()); in canSinkStoresAndGEPs() 232 auto *A1 = dyn_cast<Instruction>(S1->getPointerOperand()); in canSinkStoresAndGEPs() 246 auto *A0 = dyn_cast<Instruction>(S0->getPointerOperand()); in sinkStoresAndGEPs() 247 auto *A1 = dyn_cast<Instruction>(S1->getPointerOperand()); in sinkStoresAndGEPs()
|
| H A D | MemCpyOptimizer.cpp | 447 isPointerOffset(StartPtr, NextStore->getPointerOperand(), DL); in tryMergingIntoMemset() 543 if (auto *Ptr = dyn_cast<Instruction>(SI->getPointerOperand())) in moveUp() 726 SI->getPointerOperand(), SI->getAlign(), in processStore() 727 LI->getPointerOperand(), LI->getAlign(), Size); in processStore() 730 SI->getPointerOperand(), SI->getAlign(), in processStore() 731 LI->getPointerOperand(), LI->getAlign(), Size); in processStore() 794 LI, SI, SI->getPointerOperand()->stripPointerCasts(), in processStore() 795 LI->getPointerOperand()->stripPointerCasts(), in processStore() 816 if (Instruction *I = tryMergingIntoMemset(SI, SI->getPointerOperand(), in processStore() 829 auto *M = Builder.CreateMemSet(SI->getPointerOperand(), ByteVal, Size, in processStore() [all …]
|
| H A D | LowerAtomic.cpp | 26 Value *Ptr = CXI->getPointerOperand(); in LowerAtomicCmpXchgInst() 45 Value *Ptr = RMWI->getPointerOperand(); in lowerAtomicRMWInst()
|
| H A D | EarlyCSE.cpp | 766 bool isValid() const { return getPointerOperand() != nullptr; } in isValid() 778 Value *getPointerOperand() const { in getPointerOperand() function in __anon0a18f2bf0311::EarlyCSE::ParseMemoryInst 1160 if (Earlier.getPointerOperand() != Later.getPointerOperand()) in overridingStores() 1407 LoadValue InVal = AvailableLoads.lookup(MemInst.getPointerOperand()); in processNode() 1426 AvailableLoads.insert(MemInst.getPointerOperand(), in processNode() 1490 LoadValue InVal = AvailableLoads.lookup(MemInst.getPointerOperand()); in processNode() 1498 ParseMemoryInst(LastStore, TTI).getPointerOperand() == in processNode() 1499 MemInst.getPointerOperand() || in processNode() 1550 AvailableLoads.insert(MemInst.getPointerOperand(), in processNode()
|
| H A D | GVNHoist.cpp | 189 unsigned V = VN.lookupOrAdd(Load->getPointerOperand()); in insert() 208 Value *Ptr = Store->getPointerOperand(); in insert() 976 OtherGep = cast<GetElementPtrInst>(OtherLd->getPointerOperand()); in makeGepsAvailable() 979 cast<StoreInst>(OtherInst)->getPointerOperand()); in makeGepsAvailable() 1070 Gep = dyn_cast<GetElementPtrInst>(Ld->getPointerOperand()); in makeGepOperandsAvailable() 1072 Gep = dyn_cast<GetElementPtrInst>(St->getPointerOperand()); in makeGepOperandsAvailable()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPerfHintAnalysis.cpp | 124 return LI->getPointerOperand(); in getMemoryInstrPtr() 127 return SI->getPointerOperand(); in getMemoryInstrPtr() 130 return AI->getPointerOperand(); in getMemoryInstrPtr() 133 return AI->getPointerOperand(); in getMemoryInstrPtr() 159 auto M = LD->getPointerOperand(); in isIndirectAccess() 168 auto P = GEP->getPointerOperand(); in isIndirectAccess()
|
| H A D | AMDGPULowerModuleLDSPass.cpp | 348 if (SI->getPointerOperand() == Ptr) in refineUsesAlignment() 355 if (AI->getPointerOperand() == Ptr) in refineUsesAlignment() 360 if (AI->getPointerOperand() == Ptr) in refineUsesAlignment() 367 if (GEP->getPointerOperand() == Ptr && in refineUsesAlignment()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | BoundsChecking.cpp | 158 Or = getBoundsCheckCond(LI->getPointerOperand(), LI, DL, TLI, in addBoundsChecking() 162 Or = getBoundsCheckCond(SI->getPointerOperand(), SI->getValueOperand(), in addBoundsChecking() 167 getBoundsCheckCond(AI->getPointerOperand(), AI->getCompareOperand(), in addBoundsChecking() 171 Or = getBoundsCheckCond(AI->getPointerOperand(), AI->getValOperand(), in addBoundsChecking()
|
| H A D | ThreadSanitizer.cpp | 444 Addr = GEP->getPointerOperand(); in addrPointsToConstantData() 481 Value *Addr = IsWrite ? cast<StoreInst>(I)->getPointerOperand() in chooseInstructionsToInstrument() 482 : cast<LoadInst>(I)->getPointerOperand(); in chooseInstructionsToInstrument() 645 Value *Addr = IsWrite ? cast<StoreInst>(II.Inst)->getPointerOperand() in instrumentLoadOrStore() 646 : cast<LoadInst>(II.Inst)->getPointerOperand(); in instrumentLoadOrStore() 774 Value *Addr = LI->getPointerOperand(); in instrumentAtomic() 789 Value *Addr = SI->getPointerOperand(); in instrumentAtomic() 804 Value *Addr = RMWI->getPointerOperand(); in instrumentAtomic() 822 Value *Addr = CASI->getPointerOperand(); in instrumentAtomic()
|
| H A D | MemProfiler.cpp | 339 Access.Addr = LI->getPointerOperand(); in isInterestingMemoryAccess() 347 Access.Addr = SI->getPointerOperand(); in isInterestingMemoryAccess() 355 Access.Addr = RMW->getPointerOperand(); in isInterestingMemoryAccess() 363 Access.Addr = XCHG->getPointerOperand(); in isInterestingMemoryAccess()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 295 auto *V = getReplacement(LT->getPointerOperand()); in replace() 307 auto *V = getReplacement(GEP->getPointerOperand()); in replace() 476 Value *Ptr = LI.getPointerOperand(); in combineLoadToNewType() 499 Value *Ptr = SI.getPointerOperand(); in combineStoreToNewValue() 599 if (LI.getPointerOperand()->isSwiftError()) in combineLoadToOperationType() 667 auto *Addr = LI.getPointerOperand(); in unpackLoadToAggregate() 716 auto *Addr = LI.getPointerOperand(); in unpackLoadToAggregate() 928 auto *Ptr = SI.getPointerOperand(); in canSimplifyNullStoreOrGEP() 1132 if (SI.getPointerOperand()->isSwiftError()) in combineStoreToValueType() 1195 auto *Addr = SI.getPointerOperand(); in unpackStoreToAggregate() [all …]
|
| H A D | InstCombineAtomicRMW.cpp | 127 RMWI.getPointerOperand(), &RMWI); in visitAtomicRMWInst() 155 LoadInst *Load = new LoadInst(RMWI.getType(), RMWI.getPointerOperand(), "", in visitAtomicRMWInst()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | AtomicExpandPass.cpp | 360 Value *Addr = LI->getPointerOperand(); in convertAtomicLoadToIntegerType() 385 Value *Addr = RMWI->getPointerOperand(); in convertAtomicXchgToIntegerType() 409 LI, LI->getType(), LI->getPointerOperand(), LI->getAlign(), in tryExpandAtomicLoad() 444 Value *Addr = LI->getPointerOperand(); in expandAtomicLoadToCmpXchg() 474 Value *Addr = SI->getPointerOperand(); in convertAtomicStoreToIntegerType() 587 expandAtomicOpToLLSC(AI, AI->getType(), AI->getPointerOperand(), in tryExpandAtomicRMW() 916 Value *Addr = CI->getPointerOperand(); in expandPartwordCmpXchg() 1132 Value *Addr = CI->getPointerOperand(); in convertCmpXchgToIntegerType() 1164 Value *Addr = CI->getPointerOperand(); in expandAtomicCmpXchg() 1522 Builder, AI->getType(), AI->getPointerOperand(), AI->getAlign(), in expandAtomicRMWToCmpXchg() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoadStoreVectorizer.cpp | 473 GEPA->getPointerOperand() != GEPB->getPointerOperand()) in lookThroughComplexAddresses() 857 Value *Ptr = LI->getPointerOperand(); in collectInstructions() 904 Value *Ptr = SI->getPointerOperand(); in collectInstructions() 1111 Align NewAlign = getOrEnforceKnownAlignment(S0->getPointerOperand(), in vectorizeStoreChain() 1164 Builder.CreateBitCast(S0->getPointerOperand(), VecTy->getPointerTo(AS)), in vectorizeStoreChain() 1256 Align NewAlign = getOrEnforceKnownAlignment(L0->getPointerOperand(), in vectorizeLoadChain() 1285 Builder.CreateBitCast(L0->getPointerOperand(), VecTy->getPointerTo(AS)); in vectorizeLoadChain()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | VNCoercion.cpp | 237 Value *StorePtr = DepSI->getPointerOperand(); in analyzeLoadFromClobberingStore() 269 GetPointerBaseWithConstantOffset(LI->getPointerOperand(), LIOffs, DL); in getLoadLoadClobberFullWidthSize() 341 Value *DepPtr = DepLI->getPointerOperand(); in analyzeLoadFromClobberingLoad() 504 Value *PtrVal = SrcVal->getPointerOperand(); in getLoadValueForLoad()
|