Home
last modified time | relevance | path

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

123456

/netbsd/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DOperator.h490 Value *getPointerOperand() { in getPointerOperand() function
493 const Value *getPointerOperand() const { in getPointerOperand() function
502 return getPointerOperand()->getType(); in getPointerOperandType()
593 Value *getPointerOperand() { in getPointerOperand() function
596 const Value *getPointerOperand() const { in getPointerOperand() function
606 return getPointerOperand()->getType(); in getPointerOperandType()
636 Value *getPointerOperand() { return getOperand(0); } in getPointerOperand() function
638 const Value *getPointerOperand() const { return getOperand(0); } in getPointerOperand() function
641 return getPointerOperand()->getType()->getPointerAddressSpace(); in getSrcAddressSpace()
H A DInstructions.h266 Value *getPointerOperand() { return getOperand(0); } in getPointerOperand() function
401 Value *getPointerOperand() { return getOperand(1); } in getPointerOperand() function
1062 Value *getPointerOperand() {
1065 const Value *getPointerOperand() const {
1075 return getPointerOperand()->getType();
5226 Value *getPointerOperand() {
5231 const Value *getPointerOperand() const {
5255 return Load->getPointerOperand();
5257 return Store->getPointerOperand();
5271 return Gep->getPointerOperand();
[all …]
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAlloca.cpp91 if (LI && LI->getPointerOperand() == allocaInst && in runOnFunction()
97 if (SI && SI->getPointerOperand() == allocaInst && in runOnFunction()
103 if (GI && GI->getPointerOperand() == allocaInst) { in runOnFunction()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopLoadElimination.cpp100 Value *LoadPtr = Load->getPointerOperand(); in isDependenceDistanceOfOne()
101 Value *StorePtr = Store->getPointerOperand(); in isDependenceDistanceOfOne()
131 Value *getLoadPtr() const { return Load->getPointerOperand(); } in getLoadPtr()
367 PtrsWrittenOnFwdingPath.insert(S->getPointerOperand()); in findPointersWrittenOnForwardingPath()
430 Value *Ptr = Cand.Load->getPointerOperand(); in propagateStoredValueToLoadUsers()
508 assert(isa<SCEVAddRecExpr>(PSE.getSCEV(Cand.Load->getPointerOperand())) && in processLoop()
511 isa<SCEVAddRecExpr>(PSE.getSCEV(Cand.Store->getPointerOperand())) && in processLoop()
574 PSE.getSCEV(Cand.Load->getPointerOperand())) || in processLoop()
576 PSE.getSCEV(Cand.Store->getPointerOperand())); in processLoop()
H A DConstraintElimination.cpp65 {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 DMergedLoadStoreMotion.cpp231 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 DMemCpyOptimizer.cpp183 addRange(OffsetFromFirst, StoreSize, SI->getPointerOperand(), in addStore()
438 isPointerOffset(StartPtr, NextStore->getPointerOperand(), DL); in tryMergingIntoMemset()
534 if (auto *Ptr = dyn_cast<Instruction>(SI->getPointerOperand())) in moveUp()
717 SI->getPointerOperand(), SI->getAlign(), in processStore()
718 LI->getPointerOperand(), LI->getAlign(), Size); in processStore()
721 SI->getPointerOperand(), SI->getAlign(), in processStore()
722 LI->getPointerOperand(), LI->getAlign(), Size); in processStore()
785 LI, SI, SI->getPointerOperand()->stripPointerCasts(), in processStore()
786 LI->getPointerOperand()->stripPointerCasts(), in processStore()
807 if (Instruction *I = tryMergingIntoMemset(SI, SI->getPointerOperand(), in processStore()
[all …]
H A DEarlyCSE.cpp766 bool isValid() const { return getPointerOperand() != nullptr; } in isValid()
778 Value *getPointerOperand() const { in getPointerOperand() function in __anon9c03e52c0311::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 DLowerAtomic.cpp26 Value *Ptr = CXI->getPointerOperand(); in LowerAtomicCmpXchgInst()
45 Value *Ptr = RMWI->getPointerOperand(); in lowerAtomicRMWInst()
H A DInferAddressSpaces.cpp444 PushPtrOperand(GEP->getPointerOperand()); in collectFlatAddressExpressions()
446 PushPtrOperand(LI->getPointerOperand()); in collectFlatAddressExpressions()
448 PushPtrOperand(SI->getPointerOperand()); in collectFlatAddressExpressions()
450 PushPtrOperand(RMW->getPointerOperand()); in collectFlatAddressExpressions()
452 PushPtrOperand(CmpX->getPointerOperand()); in collectFlatAddressExpressions()
470 PushPtrOperand(ASC->getPointerOperand()); in collectFlatAddressExpressions()
474 cast<PtrToIntInst>(I2P->getOperand(0))->getPointerOperand()); in collectFlatAddressExpressions()
H A DGVNHoist.cpp189 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()
/netbsd/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DLoads.cpp123 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 DMemoryLocation.cpp43 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 DMemDerefPrinter.cpp59 Value *PO = LI->getPointerOperand(); in runOnFunction()
94 Value *PO = LI->getPointerOperand(); in run()
H A DCFLGraph.h307 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 DObjCARCAnalysisUtils.cpp40 if (AA.pointsToConstantMemory(LI->getPointerOperand())) in IsPotentialRetainableObjPtr()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUPerfHintAnalysis.cpp123 return LI->getPointerOperand(); in getMemoryInstrPtr()
126 return SI->getPointerOperand(); in getMemoryInstrPtr()
129 return AI->getPointerOperand(); in getMemoryInstrPtr()
132 return AI->getPointerOperand(); in getMemoryInstrPtr()
158 auto M = LD->getPointerOperand(); in isIndirectAccess()
167 auto P = GEP->getPointerOperand(); in isIndirectAccess()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp283 auto *V = getReplacement(LT->getPointerOperand()); in replace()
295 auto *V = getReplacement(GEP->getPointerOperand()); in replace()
464 Value *Ptr = LI.getPointerOperand(); in combineLoadToNewType()
487 Value *Ptr = SI.getPointerOperand(); in combineStoreToNewValue()
587 if (LI.getPointerOperand()->isSwiftError()) in combineLoadToOperationType()
655 auto *Addr = LI.getPointerOperand(); in unpackLoadToAggregate()
704 auto *Addr = LI.getPointerOperand(); in unpackLoadToAggregate()
916 auto *Ptr = SI.getPointerOperand(); in canSimplifyNullStoreOrGEP()
1120 if (SI.getPointerOperand()->isSwiftError()) in combineStoreToValueType()
1183 auto *Addr = SI.getPointerOperand(); in unpackStoreToAggregate()
[all …]
H A DInstCombineAtomicRMW.cpp127 RMWI.getPointerOperand(), &RMWI); in visitAtomicRMWInst()
155 LoadInst *Load = new LoadInst(RMWI.getType(), RMWI.getPointerOperand(), "", in visitAtomicRMWInst()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp158 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 DThreadSanitizer.cpp414 Addr = GEP->getPointerOperand(); in addrPointsToConstantData()
451 Value *Addr = IsWrite ? cast<StoreInst>(I)->getPointerOperand() in chooseInstructionsToInstrument()
452 : cast<LoadInst>(I)->getPointerOperand(); in chooseInstructionsToInstrument()
615 Value *Addr = IsWrite ? cast<StoreInst>(II.Inst)->getPointerOperand() in instrumentLoadOrStore()
616 : cast<LoadInst>(II.Inst)->getPointerOperand(); in instrumentLoadOrStore()
744 Value *Addr = LI->getPointerOperand(); in instrumentAtomic()
759 Value *Addr = SI->getPointerOperand(); in instrumentAtomic()
773 Value *Addr = RMWI->getPointerOperand(); in instrumentAtomic()
790 Value *Addr = CASI->getPointerOperand(); in instrumentAtomic()
H A DMemProfiler.cpp339 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()
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp349 Value *Addr = LI->getPointerOperand(); in convertAtomicLoadToIntegerType()
372 LI, LI->getType(), LI->getPointerOperand(), LI->getAlign(), in tryExpandAtomicLoad()
407 Value *Addr = LI->getPointerOperand(); in expandAtomicLoadToCmpXchg()
437 Value *Addr = SI->getPointerOperand(); in convertAtomicStoreToIntegerType()
460 AtomicRMWInst::Xchg, SI->getPointerOperand(), SI->getValueOperand(), in expandAtomicStore()
550 expandAtomicOpToLLSC(AI, AI->getType(), AI->getPointerOperand(), in tryExpandAtomicRMW()
877 Value *Addr = CI->getPointerOperand(); in expandPartwordCmpXchg()
1093 Value *Addr = CI->getPointerOperand(); in convertCmpXchgToIntegerType()
1125 Value *Addr = CI->getPointerOperand(); in expandAtomicCmpXchg()
1481 Builder, AI->getType(), AI->getPointerOperand(), AI->getAlign(), in expandAtomicRMWToCmpXchg()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp398 GEPA->getPointerOperand() != GEPB->getPointerOperand()) in lookThroughComplexAddresses()
825 Value *Ptr = LI->getPointerOperand(); in collectInstructions()
872 Value *Ptr = SI->getPointerOperand(); in collectInstructions()
1079 Align NewAlign = getOrEnforceKnownAlignment(S0->getPointerOperand(), in vectorizeStoreChain()
1132 Builder.CreateBitCast(S0->getPointerOperand(), VecTy->getPointerTo(AS)), in vectorizeStoreChain()
1224 Align NewAlign = getOrEnforceKnownAlignment(L0->getPointerOperand(), in vectorizeLoadChain()
1253 Builder.CreateBitCast(L0->getPointerOperand(), VecTy->getPointerTo(AS)); in vectorizeLoadChain()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp237 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()

123456