Home
last modified time | relevance | path

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

12345678910>>...15

/external/llvm/lib/Analysis/
DDelinearization.cpp72 static Value *getPointerOperand(Instruction &Inst) { in getPointerOperand() function
74 return Load->getPointerOperand(); in getPointerOperand()
76 return Store->getPointerOperand(); in getPointerOperand()
78 return Gep->getPointerOperand(); in getPointerOperand()
96 const SCEV *AccessFn = SE->getSCEVAtScope(getPointerOperand(*Inst), L); in print()
DMemoryLocation.cpp26 return MemoryLocation(LI->getPointerOperand(), in get()
35 return MemoryLocation(SI->getPointerOperand(), in get()
44 return MemoryLocation(VI->getPointerOperand(), UnknownSize, AATags); in get()
53 CXI->getPointerOperand(), in get()
62 return MemoryLocation(RMWI->getPointerOperand(), in get()
DLoads.cpp77 const Value *Base = GEP->getPointerOperand(); in isDereferenceableAndAlignedPointer()
268 AccessedPtr = LI->getPointerOperand(); in isSafeToLoadUnconditionally()
271 AccessedPtr = SI->getPointerOperand(); in isSafeToLoadUnconditionally()
313 Value *Ptr = Load->getPointerOperand(); in FindAvailableLoadedValue()
351 LI->getPointerOperand()->stripPointerCasts(), StrippedPtr) && in FindAvailableLoadedValue()
367 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in FindAvailableLoadedValue()
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/IR/
DOperator.h420 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()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/NVPTX/
DNVPTXLowerAlloca.cpp88 if (LI && LI->getPointerOperand() == allocaInst && in runOnFunction()
94 if (SI && SI->getPointerOperand() == allocaInst && in runOnFunction()
100 if (GI && GI->getPointerOperand() == allocaInst) { in runOnFunction()
/external/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp69 Value *getPointerOperand(Value *I);
209 Value *Vectorizer::getPointerOperand(Value *I) { in getPointerOperand() function in Vectorizer
211 return LI->getPointerOperand(); in getPointerOperand()
213 return SI->getPointerOperand(); in getPointerOperand()
227 Value *PtrA = getPointerOperand(A); in isConsecutiveAccess()
228 Value *PtrB = getPointerOperand(B); in isConsecutiveAccess()
277 GetElementPtrInst *GEPA = dyn_cast<GetElementPtrInst>(getPointerOperand(A)); in isConsecutiveAccess()
278 GetElementPtrInst *GEPB = dyn_cast<GetElementPtrInst>(getPointerOperand(B)); in isConsecutiveAccess()
403 Value *PtrOperand = getPointerOperand(V); in eraseInstructions()
478 Value *Ptr0 = getPointerOperand(M0); in getVectorizablePrefixEndIdx()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
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()
DLoads.cpp84 const Value *Base = GEP->getPointerOperand(); in isDereferenceableAndAlignedPointer()
201 Value *Ptr = LI->getPointerOperand(); in isDereferenceableAndAlignedInLoop()
311 AccessedPtr = LI->getPointerOperand(); in isSafeToLoadUnconditionally()
317 AccessedPtr = SI->getPointerOperand(); in isSafeToLoadUnconditionally()
372 Load->getPointerOperand(), Load->getType(), Load->isAtomic(), ScanBB, in FindAvailableLoadedValue()
411 LI->getPointerOperand()->stripPointerCasts(), StrippedPtr) && in FindAvailablePtrLoadStore()
428 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in FindAvailablePtrLoadStore()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
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()
/external/llvm/lib/Target/NVPTX/
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()
/external/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp442 return (getPointerOperand() == Inst.getPointerOperand() && in isMatchingMemLoc()
445 bool isValid() const { return getPointerOperand() != nullptr; } in isValid()
455 Value *getPointerOperand() const { in getPointerOperand() function in __anon9bb0c3230311::EarlyCSE::ParseMemoryInst
458 return LI->getPointerOperand(); in getPointerOperand()
460 return SI->getPointerOperand(); in getPointerOperand()
636 LoadValue InVal = AvailableLoads.lookup(MemInst.getPointerOperand()); in processNode()
659 MemInst.getPointerOperand(), in processNode()
714 LoadValue InVal = AvailableLoads.lookup(MemInst.getPointerOperand()); in processNode()
722 ParseMemoryInst(LastStore, TTI).getPointerOperand() == in processNode()
723 MemInst.getPointerOperand()) && in processNode()
[all …]
DLoopLoadElimination.cpp67 Value *LoadPtr = Load->getPointerOperand(); in isDependenceDistanceOfOne()
68 Value *StorePtr = Store->getPointerOperand(); in isDependenceDistanceOfOne()
98 Value *getLoadPtr() const { return Load->getPointerOperand(); } in getLoadPtr()
181 if (Store->getPointerOperand()->getType() != in findStoreToLoadDependences()
182 Load->getPointerOperand()->getType()) in findStoreToLoadDependences()
329 PtrsWrittenOnFwdingPath.insert(S->getPointerOperand()); in findPointersWrittenOnForwardingPath()
394 Value *Ptr = Cand.Load->getPointerOperand(); in propagateStoredValueToLoadUsers()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/AMDGPU/
DAMDGPUPerfHintAnalysis.cpp125 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()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Scalar/
DMergedLoadStoreMotion.cpp227 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()
DLoopLoadElimination.cpp98 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()
/external/llvm/include/llvm/IR/
DOperator.h388 Value *getPointerOperand() { in getPointerOperand() function
391 const Value *getPointerOperand() const { in getPointerOperand() function
400 return getPointerOperand()->getType(); in getPointerOperandType()
460 Value *getPointerOperand() { in getPointerOperand() function
463 const Value *getPointerOperand() const { in getPointerOperand() function
472 return getPointerOperand()->getType(); in getPointerOperandType()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
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()
/external/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp193 MadeChange |= instrument(LI->getPointerOperand(), LI, DL); in runOnFunction()
196 instrument(SI->getPointerOperand(), SI->getValueOperand(), DL); in runOnFunction()
199 instrument(AI->getPointerOperand(), AI->getCompareOperand(), DL); in runOnFunction()
202 instrument(AI->getPointerOperand(), AI->getValOperand(), DL); in runOnFunction()
DThreadSanitizer.cpp294 Addr = GEP->getPointerOperand(); in addrPointsToConstantData()
331 Value *Addr = Store->getPointerOperand(); in chooseInstructionsToInstrument()
337 Value *Addr = Load->getPointerOperand(); in chooseInstructionsToInstrument()
351 ? cast<StoreInst>(I)->getPointerOperand() in chooseInstructionsToInstrument()
352 : cast<LoadInst>(I)->getPointerOperand(); in chooseInstructionsToInstrument()
463 ? cast<StoreInst>(I)->getPointerOperand() in instrumentLoadOrStore()
464 : cast<LoadInst>(I)->getPointerOperand(); in instrumentLoadOrStore()
569 Value *Addr = LI->getPointerOperand(); in instrumentAtomic()
590 Value *Addr = SI->getPointerOperand(); in instrumentAtomic()
604 Value *Addr = RMWI->getPointerOperand(); in instrumentAtomic()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp342 Addr = GEP->getPointerOperand(); in addrPointsToConstantData()
379 Value *Addr = Store->getPointerOperand(); in chooseInstructionsToInstrument()
385 Value *Addr = Load->getPointerOperand(); in chooseInstructionsToInstrument()
399 ? cast<StoreInst>(I)->getPointerOperand() in chooseInstructionsToInstrument()
400 : cast<LoadInst>(I)->getPointerOperand(); in chooseInstructionsToInstrument()
524 ? cast<StoreInst>(I)->getPointerOperand() in instrumentLoadOrStore()
525 : cast<LoadInst>(I)->getPointerOperand(); in instrumentLoadOrStore()
632 Value *Addr = LI->getPointerOperand(); in instrumentAtomic()
647 Value *Addr = SI->getPointerOperand(); in instrumentAtomic()
661 Value *Addr = RMWI->getPointerOperand(); in instrumentAtomic()
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Analysis/
DLoads.cpp59 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()
DMemoryLocation.cpp40 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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp299 auto *V = getReplacement(LT->getPointerOperand()); in replace()
307 auto *V = getReplacement(GEP->getPointerOperand()); in replace()
457 Value *Ptr = LI.getPointerOperand(); in combineLoadToNewType()
486 Value *Ptr = SI.getPointerOperand(); in combineStoreToNewValue()
584 if (LI.getPointerOperand()->isSwiftError()) in combineLoadToOperationType()
603 peekThroughBitcast(LI.getPointerOperand(), /*OneUseOnly=*/true), in combineLoadToOperationType()
607 return SI && SI->getPointerOperand() != &LI && in combineLoadToOperationType()
608 !SI->getPointerOperand()->isSwiftError(); in combineLoadToOperationType()
681 auto *Addr = LI.getPointerOperand(); in unpackLoadToAggregate()
732 auto *Addr = LI.getPointerOperand(); in unpackLoadToAggregate()
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp160 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()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DOperator.h487 Value *getPointerOperand() { in getPointerOperand() function
490 const Value *getPointerOperand() const { in getPointerOperand() function
499 return getPointerOperand()->getType(); in getPointerOperandType()
565 Value *getPointerOperand() { in getPointerOperand() function
568 const Value *getPointerOperand() const { in getPointerOperand() function
578 return getPointerOperand()->getType(); in getPointerOperandType()

12345678910>>...15