| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | Operator.h | 420 Value *getPointerOperand() { in getPointerOperand() function 423 const Value *getPointerOperand() const { in getPointerOperand() function 432 return getPointerOperand()->getType(); in getPointerOperandType() 523 Value *getPointerOperand() { in getPointerOperand() function 526 const Value *getPointerOperand() const { in getPointerOperand() function 536 return getPointerOperand()->getType(); in getPointerOperandType() 566 Value *getPointerOperand() { return getOperand(0); } in getPointerOperand() function 568 const Value *getPointerOperand() const { return getOperand(0); } in getPointerOperand() function 571 return getPointerOperand()->getType()->getPointerAddressSpace(); in getSrcAddressSpace()
|
| H A D | Instructions.h | 264 Value *getPointerOperand() { return getOperand(0); } in getPointerOperand() function 265 const Value *getPointerOperand() const { return getOperand(0); } in getPointerOperand() function 267 Type *getPointerOperandType() const { return getPointerOperand()->getType(); } in getPointerOperandType() 393 Value *getPointerOperand() { return getOperand(1); } in getPointerOperand() function 394 const Value *getPointerOperand() const { return getOperand(1); } in getPointerOperand() function 396 Type *getPointerOperandType() const { return getPointerOperand()->getType(); } in getPointerOperandType() 643 Value *getPointerOperand() { return getOperand(0); } 644 const Value *getPointerOperand() const { return getOperand(0); } 655 return getPointerOperand()->getType()->getPointerAddressSpace(); 877 Value *getPointerOperand() { return getOperand(0); } [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXLowerAlloca.cpp | 88 if (LI && LI->getPointerOperand() == allocaInst && in runOnFunction() 94 if (SI && SI->getPointerOperand() == allocaInst && in runOnFunction() 100 if (GI && GI->getPointerOperand() == allocaInst) { in runOnFunction()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPerfHintAnalysis.cpp | 125 return {LI->getPointerOperand(), LI->getType()}; in getMemoryInstrPtrAndType() 127 return {SI->getPointerOperand(), SI->getValueOperand()->getType()}; in getMemoryInstrPtrAndType() 129 return {AI->getPointerOperand(), AI->getCompareOperand()->getType()}; in getMemoryInstrPtrAndType() 131 return {AI->getPointerOperand(), AI->getValOperand()->getType()}; in getMemoryInstrPtrAndType() 155 auto M = LD->getPointerOperand(); in isIndirectAccess() 164 auto P = GEP->getPointerOperand(); in isIndirectAccess() 205 if (!isGlobalAddr(Ld->getPointerOperand())) in isGlobalLoadUsedInBB()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | MergedLoadStoreMotion.cpp | 227 if (S0->getPointerOperand() == S1->getPointerOperand()) in canSinkStoresAndGEPs() 229 auto *GEP0 = dyn_cast<GetElementPtrInst>(S0->getPointerOperand()); in canSinkStoresAndGEPs() 230 auto *GEP1 = dyn_cast<GetElementPtrInst>(S1->getPointerOperand()); in canSinkStoresAndGEPs() 243 Value *Ptr0 = S0->getPointerOperand(); in sinkStoresAndGEPs() 244 Value *Ptr1 = S1->getPointerOperand(); in sinkStoresAndGEPs()
|
| H A D | LoopLoadElimination.cpp | 98 Value *LoadPtr = Load->getPointerOperand(); in isDependenceDistanceOfOne() 99 Value *StorePtr = Store->getPointerOperand(); in isDependenceDistanceOfOne() 129 Value *getLoadPtr() const { return Load->getPointerOperand(); } in getLoadPtr() 367 PtrsWrittenOnFwdingPath.insert(S->getPointerOperand()); in findPointersWrittenOnForwardingPath() 430 Value *Ptr = Cand.Load->getPointerOperand(); in propagateStoredValueToLoadUsers() 522 assert(isa<SCEVAddRecExpr>(PSE.getSCEV(Cand.Load->getPointerOperand())) && in processLoop() 525 isa<SCEVAddRecExpr>(PSE.getSCEV(Cand.Store->getPointerOperand())) && in processLoop() 588 PSE.getSCEV(Cand.Load->getPointerOperand())) || in processLoop() 590 PSE.getSCEV(Cand.Store->getPointerOperand())); in processLoop()
|
| H A D | MemCpyOptimizer.cpp | 180 SI->getPointerOperand(), SI->getAlign(), SI); in addStore() 466 isPointerOffset(StartPtr, NextStore->getPointerOperand(), DL); in tryMergingIntoMemset() 572 if (!AddArg(SI->getPointerOperand())) in moveUp() 733 SI->getPointerOperand(), SI->getAlign(), in processStoreOfLoad() 734 LI->getPointerOperand(), LI->getAlign(), Size); in processStoreOfLoad() 737 SI->getPointerOperand(), SI->getAlign(), in processStoreOfLoad() 738 LI->getPointerOperand(), LI->getAlign(), Size); in processStoreOfLoad() 773 LI, SI, SI->getPointerOperand()->stripPointerCasts(), in processStoreOfLoad() 774 LI->getPointerOperand()->stripPointerCasts(), in processStoreOfLoad() 827 if (Instruction *I = tryMergingIntoMemset(SI, SI->getPointerOperand(), in processStore() [all …]
|
| H A D | EarlyCSE.cpp | 785 bool isValid() const { return getPointerOperand() != nullptr; } in isValid() 797 Value *getPointerOperand() const { in getPointerOperand() function in __anon76457fe20311::EarlyCSE::ParseMemoryInst 1200 if (Earlier.getPointerOperand() != Later.getPointerOperand()) in overridingStores() 1471 LoadValue InVal = AvailableLoads.lookup(MemInst.getPointerOperand()); in processNode() 1490 AvailableLoads.insert(MemInst.getPointerOperand(), in processNode() 1554 LoadValue InVal = AvailableLoads.lookup(MemInst.getPointerOperand()); in processNode() 1562 ParseMemoryInst(LastStore, TTI).getPointerOperand() == in processNode() 1563 MemInst.getPointerOperand() || in processNode() 1614 AvailableLoads.insert(MemInst.getPointerOperand(), in processNode()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | Loads.cpp | 59 const Value *Base = GEP->getPointerOperand(); in isDereferenceableAndAlignedPointer() 267 Value *Ptr = LI->getPointerOperand(); in isDereferenceableAndAlignedInLoop() 374 AccessedPtr = LI->getPointerOperand(); in isSafeToLoadUnconditionally() 381 AccessedPtr = SI->getPointerOperand(); in isSafeToLoadUnconditionally() 480 Value *LoadPtr = LI->getPointerOperand()->stripPointerCasts(); in getAvailableLoadStore() 500 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in getAvailableLoadStore() 593 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in findAvailablePtrLoadStore() 609 Loc.Ptr, AccessTy, SI->getPointerOperand(), in findAvailablePtrLoadStore() 646 Value *StrippedPtr = Load->getPointerOperand()->stripPointerCasts(); in FindAvailableLoadedValue()
|
| H A D | MemoryLocation.cpp | 40 LI->getPointerOperand(), in get() 48 return MemoryLocation(SI->getPointerOperand(), in get() 55 return MemoryLocation(VI->getPointerOperand(), in get() 62 return MemoryLocation(CXI->getPointerOperand(), in get() 71 return MemoryLocation(RMWI->getPointerOperand(), in get()
|
| H A D | MemDerefPrinter.cpp | 56 Value *PO = LI->getPointerOperand(); in runOnFunction() 91 Value *PO = LI->getPointerOperand(); in run()
|
| H A D | ObjCARCAnalysisUtils.cpp | 40 if (AA.pointsToConstantMemory(LI->getPointerOperand())) in IsPotentialRetainableObjPtr()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | BoundsChecking.cpp | 160 Or = getBoundsCheckCond(LI->getPointerOperand(), LI, DL, TLI, in addBoundsChecking() 164 Or = getBoundsCheckCond(SI->getPointerOperand(), SI->getValueOperand(), in addBoundsChecking() 169 getBoundsCheckCond(AI->getPointerOperand(), AI->getCompareOperand(), in addBoundsChecking() 173 Or = getBoundsCheckCond(AI->getPointerOperand(), AI->getValOperand(), in addBoundsChecking()
|
| H A D | ThreadSanitizer.cpp | 388 Addr = GEP->getPointerOperand(); in addrPointsToConstantData() 425 Value *Addr = IsWrite ? cast<StoreInst>(I)->getPointerOperand() in chooseInstructionsToInstrument() 426 : cast<LoadInst>(I)->getPointerOperand(); in chooseInstructionsToInstrument() 593 Value *Addr = IsWrite ? cast<StoreInst>(II.Inst)->getPointerOperand() in instrumentLoadOrStore() 594 : cast<LoadInst>(II.Inst)->getPointerOperand(); in instrumentLoadOrStore() 722 Value *Addr = LI->getPointerOperand(); in instrumentAtomic() 737 Value *Addr = SI->getPointerOperand(); in instrumentAtomic() 752 Value *Addr = RMWI->getPointerOperand(); in instrumentAtomic() 770 Value *Addr = CASI->getPointerOperand(); in instrumentAtomic()
|
| H A D | MemProfiler.cpp | 283 Access.Addr = LI->getPointerOperand(); in isInterestingMemoryAccess() 289 Access.Addr = SI->getPointerOperand(); in isInterestingMemoryAccess() 295 Access.Addr = RMW->getPointerOperand(); in isInterestingMemoryAccess() 301 Access.Addr = XCHG->getPointerOperand(); in isInterestingMemoryAccess()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/ |
| H A D | DXILPrepare.cpp | 137 Builder, PointerTypes, I, LI->getPointerOperand(), in runOnModule() 147 Builder, PointerTypes, I, SI->getPointerOperand(), in runOnModule() 158 Builder, PointerTypes, I, GEP->getPointerOperand(), in runOnModule()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 362 auto *V = getReplacement(LT->getPointerOperand()); in replace() 382 auto *V = getReplacement(GEP->getPointerOperand()); in replace() 557 Value *Ptr = LI.getPointerOperand(); in combineLoadToNewType() 580 Value *Ptr = SI.getPointerOperand(); in combineStoreToNewValue() 681 if (Load.getPointerOperand()->isSwiftError()) in combineLoadToOperationType() 746 auto *Addr = LI.getPointerOperand(); in unpackLoadToAggregate() 791 auto *Addr = LI.getPointerOperand(); in unpackLoadToAggregate() 1004 auto *Ptr = SI.getPointerOperand(); in canSimplifyNullStoreOrGEP() 1208 if (SI.getPointerOperand()->isSwiftError()) in combineStoreToValueType() 1271 auto *Addr = SI.getPointerOperand(); in unpackStoreToAggregate() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | AtomicExpandPass.cpp | 375 Value *Addr = LI->getPointerOperand(); in convertAtomicLoadToIntegerType() 399 Value *Addr = RMWI->getPointerOperand(); in convertAtomicXchgToIntegerType() 427 LI, LI->getType(), LI->getPointerOperand(), LI->getAlign(), in tryExpandAtomicLoad() 465 LI->getPointerOperand(), LI->getOrdering()); in expandAtomicLoadToLL() 480 Value *Addr = LI->getPointerOperand(); in expandAtomicLoadToCmpXchg() 510 Value *Addr = SI->getPointerOperand(); in convertAtomicStoreToIntegerType() 537 AtomicRMWInst::Xchg, SI->getPointerOperand(), SI->getValueOperand(), in expandAtomicStore() 589 expandAtomicOpToLLSC(AI, AI->getType(), AI->getPointerOperand(), in tryExpandAtomicRMW() 867 createMaskInstrs(Builder, AI, AI->getType(), AI->getPointerOperand(), in expandPartwordAtomicRMW() 912 createMaskInstrs(Builder, AI, AI->getType(), AI->getPointerOperand(), in widenPartwordAtomicRMW() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/Utils/ |
| H A D | AMDGPUMemoryUtils.cpp | 139 return I && AA->isNoAlias(I->getPointerOperand(), Ptr); in isReallyAClobber() 177 if (isReallyAClobber(Load->getPointerOperand(), Def, AA)) { in isClobberedInFunction()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | LowerAtomic.cpp | 25 Value *Ptr = CXI->getPointerOperand(); in lowerAtomicCmpXchgInst() 105 Value *Ptr = RMWI->getPointerOperand(); in lowerAtomicRMWInst()
|
| H A D | VNCoercion.cpp | 222 Value *StorePtr = DepSI->getPointerOperand(); in analyzeLoadFromClobberingStore() 254 GetPointerBaseWithConstantOffset(LI->getPointerOperand(), LIOffs, DL); in getLoadLoadClobberFullWidthSize() 326 Value *DepPtr = DepLI->getPointerOperand(); in analyzeLoadFromClobberingLoad() 479 Value *PtrVal = SrcVal->getPointerOperand(); in getLoadValueForLoad()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/ |
| H A D | LoadStoreVectorizer.cpp | 475 GEPA->getPointerOperand() != GEPB->getPointerOperand()) in lookThroughComplexAddresses() 847 Value *Ptr = LI->getPointerOperand(); in collectInstructions() 887 Value *Ptr = SI->getPointerOperand(); in collectInstructions() 1099 Align NewAlign = getOrEnforceKnownAlignment(S0->getPointerOperand(), in vectorizeStoreChain() 1154 Builder.CreateBitCast(S0->getPointerOperand(), VecTy->getPointerTo(AS)), in vectorizeStoreChain() 1258 Align NewAlign = getOrEnforceKnownAlignment(L0->getPointerOperand(), in vectorizeLoadChain() 1289 Builder.CreateBitCast(L0->getPointerOperand(), VecTy->getPointerTo(AS)); in vectorizeLoadChain() 1324 reorder((BCInst && BCInst != L0->getPointerOperand()) ? BCInst : LI); in vectorizeLoadChain()
|
| H A D | LoopVectorizationLegality.cpp | 436 Value *APtr = A->getPointerOperand(); in storeToSameAddress() 437 Value *BPtr = B->getPointerOperand(); in storeToSameAddress() 954 if (Instruction *Ptr = dyn_cast<Instruction>(SI->getPointerOperand())) { in canVectorizeMemory() 1054 Value *InvariantAddress = RdxDesc.IntermediateStore->getPointerOperand(); in isInvariantAddressOfReduction() 1129 if (!SafePtrs.count(LI->getPointerOperand())) in blockCanBePredicated() 1188 SafePointers.insert(LI->getPointerOperand()); in canVectorizeWithIfConvert()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 533 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(LI->getPointerOperand()); in tryToRecognizeTableBasedCttz() 544 GlobalVariable *GVTable = dyn_cast<GlobalVariable>(GEP->getPointerOperand()); in tryToRecognizeTableBasedCttz() 667 Value *Load1Ptr = LI1->getPointerOperand(); in foldLoadsRecursive() 673 Value *Load2Ptr = LI2->getPointerOperand(); in foldLoadsRecursive() 797 Instruction *Inst = dyn_cast<Instruction>(LI1->getPointerOperand()); in foldConsecutiveLoads() 803 Value *Load1Ptr = LI1->getPointerOperand(); in foldConsecutiveLoads()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerRefTypesIntPtrConv.cpp | 65 if (!(PTI && WebAssembly::isRefType(PTI->getPointerOperand()->getType())) && in runOnFunction()
|