Home
last modified time | relevance | path

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

1234567

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DOperator.h412 Value *getPointerOperand() { in getPointerOperand() function
415 const Value *getPointerOperand() const { in getPointerOperand() function
424 return getPointerOperand()->getType(); in getPointerOperandType()
515 Value *getPointerOperand() { in getPointerOperand() function
518 const Value *getPointerOperand() const { in getPointerOperand() function
528 return getPointerOperand()->getType(); in getPointerOperandType()
558 Value *getPointerOperand() { return getOperand(0); } in getPointerOperand() function
560 const Value *getPointerOperand() const { return getOperand(0); } in getPointerOperand() function
563 return getPointerOperand()->getType()->getPointerAddressSpace(); in getSrcAddressSpace()
H A DInstructions.h264 Value *getPointerOperand() { return getOperand(0); } in getPointerOperand() function
401 Value *getPointerOperand() { return getOperand(1); } in getPointerOperand() function
1065 Value *getPointerOperand() {
1068 const Value *getPointerOperand() const {
1078 return getPointerOperand()->getType();
5346 Value *getPointerOperand() {
5351 const Value *getPointerOperand() const {
5379 return Load->getPointerOperand();
5381 return Store->getPointerOperand();
5395 return Gep->getPointerOperand();
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A 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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMergedLoadStoreMotion.cpp232 if (S0->getPointerOperand() == S1->getPointerOperand()) in canSinkStoresAndGEPs()
234 auto *GEP0 = dyn_cast<GetElementPtrInst>(S0->getPointerOperand()); in canSinkStoresAndGEPs()
235 auto *GEP1 = dyn_cast<GetElementPtrInst>(S1->getPointerOperand()); in canSinkStoresAndGEPs()
248 Value *Ptr0 = S0->getPointerOperand(); in sinkStoresAndGEPs()
249 Value *Ptr1 = S1->getPointerOperand(); in sinkStoresAndGEPs()
H A DLoopLoadElimination.cpp96 Value *LoadPtr = Load->getPointerOperand(); in isDependenceDistanceOfOne()
97 Value *StorePtr = Store->getPointerOperand(); in isDependenceDistanceOfOne()
135 Value *getLoadPtr() const { return Load->getPointerOperand(); } in getLoadPtr()
374 PtrsWrittenOnFwdingPath.insert(S->getPointerOperand()); in findPointersWrittenOnForwardingPath()
437 Value *Ptr = Cand.Load->getPointerOperand(); in propagateStoredValueToLoadUsers()
529 assert(isa<SCEVAddRecExpr>(PSE.getSCEV(Cand.Load->getPointerOperand())) && in processLoop()
532 isa<SCEVAddRecExpr>(PSE.getSCEV(Cand.Store->getPointerOperand())) && in processLoop()
595 PSE.getSCEV(Cand.Load->getPointerOperand())) || in processLoop()
597 PSE.getSCEV(Cand.Store->getPointerOperand())); in processLoop()
H A DInferAlignment.cpp29 Value *PtrOp = LI->getPointerOperand(); in tryToImproveAlign()
37 Value *PtrOp = SI->getPointerOperand(); in tryToImproveAlign()
H A DEarlyCSE.cpp608 return hash_combine(GEP->getOpcode(), GEP->getPointerOperand(), in getHashValue()
620 if (LGEP->getPointerOperand() != RGEP->getPointerOperand()) in isEqual()
899 bool isValid() const { return getPointerOperand() != nullptr; } in isValid()
911 Value *getPointerOperand() const { in getPointerOperand() function in __anon472e9e410411::EarlyCSE::ParseMemoryInst
1318 if (Earlier.getPointerOperand() != Later.getPointerOperand()) in overridingStores()
1580 LoadValue InVal = AvailableLoads.lookup(MemInst.getPointerOperand()); in processNode()
1602 AvailableLoads.insert(MemInst.getPointerOperand(), in processNode()
1692 LoadValue InVal = AvailableLoads.lookup(MemInst.getPointerOperand()); in processNode()
1700 ParseMemoryInst(LastStore, TTI).getPointerOperand() == in processNode()
1701 MemInst.getPointerOperand() || in processNode()
[all …]
H A DMemCpyOptimizer.cpp181 SI->getPointerOperand(), SI->getAlign(), SI); in addStore()
525 if (!AddArg(SI->getPointerOperand())) in moveUp()
686 SI->getPointerOperand(), SI->getAlign(), in processStoreOfLoad()
687 LI->getPointerOperand(), LI->getAlign(), Size); in processStoreOfLoad()
690 SI->getPointerOperand(), SI->getAlign(), in processStoreOfLoad()
691 LI->getPointerOperand(), LI->getAlign(), Size); in processStoreOfLoad()
726 LI, SI, SI->getPointerOperand()->stripPointerCasts(), in processStoreOfLoad()
727 LI->getPointerOperand()->stripPointerCasts(), in processStoreOfLoad()
740 if (auto *DestAlloca = dyn_cast<AllocaInst>(SI->getPointerOperand())) { in processStoreOfLoad()
741 if (auto *SrcAlloca = dyn_cast<AllocaInst>(LI->getPointerOperand())) { in processStoreOfLoad()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A 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()
H A DAMDGPULateCodeGenPrepare.cpp151 GetPointerBaseWithConstantOffset(LI.getPointerOperand(), Offset, *DL); in visitLoadInst()
173 IRB.CreateAddrSpaceCast(Base, LI.getPointerOperand()->getType()), in visitLoadInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DLoads.cpp57 const Value *Base = GEP->getPointerOperand(); in isDereferenceableAndAlignedPointer()
265 Value *Ptr = LI->getPointerOperand(); in isDereferenceableAndAlignedInLoop()
399 AccessedPtr = LI->getPointerOperand(); in isSafeToLoadUnconditionally()
406 AccessedPtr = SI->getPointerOperand(); in isSafeToLoadUnconditionally()
504 Value *LoadPtr = LI->getPointerOperand()->stripPointerCasts(); in getAvailableLoadStore()
524 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in getAvailableLoadStore()
617 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in findAvailablePtrLoadStore()
633 Loc.Ptr, AccessTy, SI->getPointerOperand(), in findAvailablePtrLoadStore()
670 Value *StrippedPtr = Load->getPointerOperand()->stripPointerCasts(); in FindAvailableLoadedValue()
H A 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()
H A DObjCARCAnalysisUtils.cpp40 if (AA.pointsToConstantMemory(LI->getPointerOperand())) in IsPotentialRetainableObjPtr()
H A DMemDerefPrinter.cpp32 Value *PO = LI->getPointerOperand(); in run()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp161 Or = getBoundsCheckCond(LI->getPointerOperand(), LI, DL, TLI, in addBoundsChecking()
165 Or = getBoundsCheckCond(SI->getPointerOperand(), SI->getValueOperand(), in addBoundsChecking()
170 getBoundsCheckCond(AI->getPointerOperand(), AI->getCompareOperand(), in addBoundsChecking()
174 Or = getBoundsCheckCond(AI->getPointerOperand(), AI->getValOperand(), in addBoundsChecking()
H A DThreadSanitizer.cpp383 Addr = GEP->getPointerOperand(); in addrPointsToConstantData()
420 Value *Addr = IsWrite ? cast<StoreInst>(I)->getPointerOperand() in chooseInstructionsToInstrument()
421 : cast<LoadInst>(I)->getPointerOperand(); in chooseInstructionsToInstrument()
591 Value *Addr = IsWrite ? cast<StoreInst>(II.Inst)->getPointerOperand() in instrumentLoadOrStore()
592 : cast<LoadInst>(II.Inst)->getPointerOperand(); in instrumentLoadOrStore()
719 Value *Addr = LI->getPointerOperand(); in instrumentAtomic()
730 Value *Addr = SI->getPointerOperand(); in instrumentAtomic()
744 Value *Addr = RMWI->getPointerOperand(); in instrumentAtomic()
762 Value *Addr = CASI->getPointerOperand(); in instrumentAtomic()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp135 Builder, PointerTypes, I, LI->getPointerOperand(), in runOnModule()
145 Builder, PointerTypes, I, SI->getPointerOperand(), in runOnModule()
156 Builder, PointerTypes, I, GEP->getPointerOperand(), in runOnModule()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp363 auto *V = getReplacement(LT->getPointerOperand()); in replace()
383 auto *V = getReplacement(GEP->getPointerOperand()); in replace()
584 Value *Ptr = SI.getPointerOperand(); in combineStoreToNewValue()
660 if (Load.getPointerOperand()->isSwiftError()) in combineLoadToOperationType()
730 auto *Addr = LI.getPointerOperand(); in unpackLoadToAggregate()
775 auto *Addr = LI.getPointerOperand(); in unpackLoadToAggregate()
986 auto *Ptr = SI.getPointerOperand(); in canSimplifyNullStoreOrGEP()
1187 if (SI.getPointerOperand()->isSwiftError()) in combineStoreToValueType()
1255 auto *Addr = SI.getPointerOperand(); in unpackStoreToAggregate()
1299 auto *Addr = SI.getPointerOperand(); in unpackStoreToAggregate()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp375 Value *Addr = LI->getPointerOperand(); in convertAtomicLoadToIntegerType()
397 Value *Addr = RMWI->getPointerOperand(); in convertAtomicXchgToIntegerType()
423 LI, LI->getType(), LI->getPointerOperand(), LI->getAlign(), in tryExpandAtomicLoad()
476 Value *Addr = LI->getPointerOperand(); in expandAtomicLoadToCmpXchg()
506 Value *Addr = SI->getPointerOperand(); in convertAtomicStoreToIntegerType()
581 expandAtomicOpToLLSC(AI, AI->getType(), AI->getPointerOperand(), in tryExpandAtomicRMW()
961 Value *Addr = CI->getPointerOperand(); in expandPartwordCmpXchg()
1178 Value *Addr = CI->getPointerOperand(); in convertCmpXchgToIntegerType()
1207 Value *Addr = CI->getPointerOperand(); in expandAtomicCmpXchg()
1571 Builder, AI->getType(), AI->getPointerOperand(), AI->getAlign(), in expandAtomicRMWToCmpXchg()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUMemoryUtils.cpp99 return I && AA->isNoAlias(I->getPointerOperand(), Ptr); in isReallyAClobber()
137 if (isReallyAClobber(Load->getPointerOperand(), Def, AA)) { in isClobberedInFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerAtomic.cpp24 Value *Ptr = CXI->getPointerOperand(); in lowerAtomicCmpXchgInst()
107 Value *Ptr = RMWI->getPointerOperand(); in lowerAtomicRMWInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp538 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(LI->getPointerOperand()); in tryToRecognizeTableBasedCttz()
549 GlobalVariable *GVTable = dyn_cast<GlobalVariable>(GEP->getPointerOperand()); in tryToRecognizeTableBasedCttz()
672 Value *Load1Ptr = LI1->getPointerOperand(); in foldLoadsRecursive()
678 Value *Load2Ptr = LI2->getPointerOperand(); in foldLoadsRecursive()
805 Value *Load1Ptr = LI1->getPointerOperand(); in foldConsecutiveLoads()
861 PtrOp = GEP->getPointerOperand(); in getStrideAndModOffsetOfGEP()
887 auto *PtrOp = LI->getPointerOperand(); in foldPatternedLoads()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFPreserveStaticOffset.cpp214 Args.push_back(GEP.Members[0]->getPointerOperand()); in fillCommonArgs()
437 return L->getPointerOperand() == I; in isPointerOperand()
439 return S->getPointerOperand() == I; in isPointerOperand()
441 return GEP->getPointerOperand() == I; in isPointerOperand()
616 return GEP->getPointerOperand() == Op; in removePAICalls()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp286 Pointer = SI->getPointerOperand(); in insertPtrCastInstr()
290 Pointer = LI->getPointerOperand(); in insertPtrCastInstr()
294 Pointer = GEPI->getPointerOperand(); in insertPtrCastInstr()
452 {I.getPointerOperand(), IRB->getInt16(Flags), in visitLoadInst()
465 auto *PtrOp = I.getPointerOperand(); in visitStoreInst()
496 {I.getPointerOperand()->getType()}, {Args}); in visitAtomicCmpXchgInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerRefTypesIntPtrConv.cpp67 PTI->getPointerOperand()->getType())) && in runOnFunction()

1234567