Home
last modified time | relevance | path

Searched refs:StorePtr (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DLoads.cpp447 const Value *StorePtr, in areNonOverlapSameBaseLoadAndStore() argument
451 APInt StoreOffset(DL.getIndexTypeSizeInBits(StorePtr->getType()), 0); in areNonOverlapSameBaseLoadAndStore()
454 const Value *StoreBase = StorePtr->stripAndAccumulateConstantOffsets( in areNonOverlapSameBaseLoadAndStore()
499 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in getAvailableLoadStore() local
500 if (!AreEquivalentAddressValues(StorePtr, Ptr)) in getAvailableLoadStore()
555 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in findAvailablePtrLoadStore() local
561 (isa<AllocaInst>(StorePtr) || isa<GlobalVariable>(StorePtr)) && in findAvailablePtrLoadStore()
562 StrippedPtr != StorePtr) in findAvailablePtrLoadStore()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopLoadElimination.cpp99 Value *StorePtr = Store->getPointerOperand(); in isDependenceDistanceOfOne() local
103 StorePtr->getType()->getPointerAddressSpace() && in isDependenceDistanceOfOne()
111 getPtrStride(PSE, LoadType, StorePtr, L) != 1) in isDependenceDistanceOfOne()
118 auto *StorePtrSCEV = cast<SCEVAddRecExpr>(PSE.getSCEV(StorePtr)); in isDependenceDistanceOfOne()
H A DLoopIdiomRecognize.cpp488 Value *StorePtr = SI->getPointerOperand(); in isLegalStore() local
507 dyn_cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr)); in isLegalStore()
537 StorePtr->getType()->getPointerAddressSpace() == 0 && in isLegalStore()
774 Value *StorePtr = HeadStore->getPointerOperand(); in processLoopStores() local
775 const SCEVAddRecExpr *StoreEv = cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr)); in processLoopStores()
785 Type *IntIdxTy = DL->getIndexType(StorePtr->getType()); in processLoopStores()
787 if (processLoopStridedStore(StorePtr, StoreSizeSCEV, in processLoopStores()
1256 Value *StorePtr = SI->getPointerOperand(); in processLoopStoreOfLoopLoad() local
1257 const SCEVAddRecExpr *StoreEv = cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr)); in processLoopStoreOfLoopLoad()
1270 const SCEV *StoreSizeSCEV = SE->getConstant(StorePtr->getType(), StoreSize); in processLoopStoreOfLoopLoad()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86LowerAMXType.cpp523 void replacePhiDefWithLoad(Instruction *PHI, Value *StorePtr);
548 Value *StorePtr) { in replacePhiDefWithLoad() argument
550 replaceWithTileLoad(U, StorePtr, true); in replacePhiDefWithLoad()
620 Value *StorePtr = updatePhiIncomings(BB, Incomings); in volatileTilePHI() local
621 replacePhiDefWithLoad(PHI, StorePtr); in volatileTilePHI()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp219 Value *StorePtr = DepSI->getPointerOperand(); in analyzeLoadFromClobberingStore() local
222 return analyzeLoadFromClobberingWrite(LoadTy, LoadPtr, StorePtr, StoreSize, in analyzeLoadFromClobberingStore()
H A DSimplifyCFG.cpp2590 Value *StorePtr = StoreToHoist->getPointerOperand(); in isSafeToSpeculateStore() local
2610 if (SI->getPointerOperand() == StorePtr && in isSafeToSpeculateStore()
2618 if (LI->getPointerOperand() == StorePtr && LI->getType() == StoreTy && in isSafeToSpeculateStore()
2626 auto *AI = dyn_cast<AllocaInst>(getUnderlyingObject(StorePtr)); in isSafeToSpeculateStore()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp1934 Value *StorePtr = SI->getPointerOperand(); in isLegalStore() local
1944 auto *StoreEv = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr)); in isLegalStore()
2028 Value *StorePtr = SI->getPointerOperand(); in processCopyingStore() local
2029 auto *StoreEv = cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr)); in processCopyingStore()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp7694 Register StorePtr = Dst; in lowerMemcpy() local
7697 StorePtr = MIB.buildPtrAdd(DstTy, Dst, Offset).getReg(0); in lowerMemcpy()
7699 MIB.buildStore(LdVal, StorePtr, *StoreMMO); in lowerMemcpy()
7800 Register StorePtr = Dst; in lowerMemmove() local
7805 StorePtr = MIB.buildPtrAdd(DstTy, Dst, Offset).getReg(0); in lowerMemmove()
7807 MIB.buildStore(LoadVals[I], StorePtr, *StoreMMO); in lowerMemmove()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp355 Value *StorePtr = II.getArgOperand(1); in simplifyMaskedStore() local
358 new StoreInst(II.getArgOperand(0), StorePtr, false, Alignment); in simplifyMaskedStore()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCall.cpp5567 Address StorePtr = emitAddressAtOffset(*this, DestPtr, RetAI); in EmitCall() local
5568 CreateCoercedStore(CI, StorePtr, DestIsVolatile, *this); in EmitCall()
H A DCGBuiltin.cpp14951 Value *StorePtr = Builder.CreateConstInBoundsGEP1_32(Int32Ty, BasePtr, i); in EmitX86BuiltinExpr() local
14952 Store = Builder.CreateAlignedStore(Extracted, StorePtr, getIntAlign()); in EmitX86BuiltinExpr()
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp4390 SDValue StorePtr = DAG.getNode(ISD::ADD, DL, PtrTy, FIN, in copyByValRegs() local
4393 StorePtr, MachinePointerInfo(FuncArg, Offset)); in copyByValRegs()