Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoads.cpp481 const Value *StorePtr, in areNonOverlapSameBaseLoadAndStore() argument
485 APInt StoreOffset(DL.getIndexTypeSizeInBits(StorePtr->getType()), 0); in areNonOverlapSameBaseLoadAndStore()
488 const Value *StoreBase = StorePtr->stripAndAccumulateConstantOffsets( in areNonOverlapSameBaseLoadAndStore()
533 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in getAvailableLoadStore() local
534 if (!AreEquivalentAddressValues(StorePtr, Ptr)) in getAvailableLoadStore()
626 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in findAvailablePtrLoadStore() local
632 (isa<AllocaInst>(StorePtr) || isa<GlobalVariable>(StorePtr)) && in findAvailablePtrLoadStore()
633 StrippedPtr != StorePtr) in findAvailablePtrLoadStore()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopLoadElimination.cpp97 Value *StorePtr = Store->getPointerOperand(); in isDependenceDistanceOfOne() local
102 StorePtr->getType()->getPointerAddressSpace() && in isDependenceDistanceOfOne()
108 int64_t StrideStore = getPtrStride(PSE, LoadType, StorePtr, L).value_or(0); in isDependenceDistanceOfOne()
125 auto *StorePtrSCEV = cast<SCEVAddRecExpr>(PSE.getSCEV(StorePtr)); in isDependenceDistanceOfOne()
H A DLoopIdiomRecognize.cpp420 Value *StorePtr = SI->getPointerOperand(); in isLegalStore() local
439 dyn_cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr)); in isLegalStore()
469 StorePtr->getType()->getPointerAddressSpace() == 0 && in isLegalStore()
706 Value *StorePtr = HeadStore->getPointerOperand(); in processLoopStores() local
707 const SCEVAddRecExpr *StoreEv = cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr)); in processLoopStores()
717 Type *IntIdxTy = DL->getIndexType(StorePtr->getType()); in processLoopStores()
719 if (processLoopStridedStore(StorePtr, StoreSizeSCEV, in processLoopStores()
1177 Value *StorePtr = SI->getPointerOperand(); in processLoopStoreOfLoopLoad() local
1178 const SCEVAddRecExpr *StoreEv = cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr)); in processLoopStoreOfLoopLoad()
1191 const SCEV *StoreSizeSCEV = SE->getConstant(StorePtr->getType(), StoreSize); in processLoopStoreOfLoopLoad()
[all …]
H A DDeadStoreElimination.cpp1931 Value *StorePtr = StoreI->getPointerOperand(); in dominatingConditionImpliesValue() local
1952 m_CombineAnd(m_Load(m_Specific(StorePtr)), in dominatingConditionImpliesValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LowerAMXType.cpp532 void replacePhiDefWithLoad(Instruction *PHI, Value *StorePtr);
557 Value *StorePtr) { in replacePhiDefWithLoad() argument
559 replaceWithTileLoad(U, StorePtr, true); in replacePhiDefWithLoad()
629 Value *StorePtr = updatePhiIncomings(BB, Incomings); in volatileTilePHI() local
630 replacePhiDefWithLoad(PHI, StorePtr); in volatileTilePHI()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp222 Value *StorePtr = DepSI->getPointerOperand(); in analyzeLoadFromClobberingStore() local
225 return analyzeLoadFromClobberingWrite(LoadTy, LoadPtr, StorePtr, StoreSize, in analyzeLoadFromClobberingStore()
H A DSimplifyCFG.cpp2859 Value *StorePtr = StoreToHoist->getPointerOperand(); in isSafeToSpeculateStore() local
2879 if (SI->getPointerOperand() == StorePtr && in isSafeToSpeculateStore()
2888 if (LI->getPointerOperand() == StorePtr && LI->getType() == StoreTy && in isSafeToSpeculateStore()
2896 auto *AI = dyn_cast<AllocaInst>(getUnderlyingObject(StorePtr)); in isSafeToSpeculateStore()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp1928 Value *StorePtr = SI->getPointerOperand(); in isLegalStore() local
1938 auto *StoreEv = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr)); in isLegalStore()
2021 Value *StorePtr = SI->getPointerOperand(); in processCopyingStore() local
2022 auto *StoreEv = cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr)); in processCopyingStore()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp9008 Register StorePtr = Dst; in lowerMemcpy() local
9011 StorePtr = MIB.buildPtrAdd(DstTy, Dst, Offset).getReg(0); in lowerMemcpy()
9013 MIB.buildStore(LdVal, StorePtr, *StoreMMO); in lowerMemcpy()
9114 Register StorePtr = Dst; in lowerMemmove() local
9119 StorePtr = MIB.buildPtrAdd(DstTy, Dst, Offset).getReg(0); in lowerMemmove()
9121 MIB.buildStore(LoadVals[I], StorePtr, *StoreMMO); in lowerMemmove()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp334 Value *StorePtr = II.getArgOperand(1); in simplifyMaskedStore() local
337 new StoreInst(II.getArgOperand(0), StorePtr, false, Alignment); in simplifyMaskedStore()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp5967 Address StorePtr = emitAddressAtOffset(*this, DestPtr, RetAI); in EmitCall() local
5969 CI, StorePtr, in EmitCall()
H A DCGBuiltin.cpp16527 Value *StorePtr = Builder.CreateConstInBoundsGEP1_32(Int32Ty, BasePtr, i); in EmitX86BuiltinExpr() local
16528 Store = Builder.CreateAlignedStore(Extracted, StorePtr, getIntAlign()); in EmitX86BuiltinExpr()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp4408 SDValue StorePtr = DAG.getNode(ISD::ADD, DL, PtrTy, FIN, in copyByValRegs() local
4411 StorePtr, MachinePointerInfo(FuncArg, Offset)); in copyByValRegs()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp3067 SDValue StorePtr = DAG.getNode(ISD::ADD, DL, PtrVT, StackPtr, StartOffset); in SplitVecRes_VP_REVERSE()
3071 SDValue Store = DAG.getStridedStoreVP(DAG.getEntryNode(), DL, Val, StorePtr, in SplitVecRes_VP_REVERSE()
3063 SDValue StorePtr = DAG.getNode(ISD::ADD, DL, PtrVT, StackPtr, StartOffset); SplitVecRes_VP_REVERSE() local