Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoads.cpp556 const Value *StorePtr, in areNonOverlapSameBaseLoadAndStore() argument
560 APInt StoreOffset(DL.getIndexTypeSizeInBits(StorePtr->getType()), 0); in areNonOverlapSameBaseLoadAndStore()
563 const Value *StoreBase = StorePtr->stripAndAccumulateConstantOffsets( in areNonOverlapSameBaseLoadAndStore()
608 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in getAvailableLoadStore() local
609 if (!AreEquivalentAddressValues(StorePtr, Ptr)) in getAvailableLoadStore()
701 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in findAvailablePtrLoadStore() local
707 (isa<AllocaInst>(StorePtr) || isa<GlobalVariable>(StorePtr)) && in findAvailablePtrLoadStore()
708 StrippedPtr != StorePtr) in findAvailablePtrLoadStore()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopLoadElimination.cpp95 Value *StorePtr = Store->getPointerOperand(); in isDependenceDistanceOfOne() local
100 StorePtr->getType()->getPointerAddressSpace() && in isDependenceDistanceOfOne()
106 int64_t StrideStore = getPtrStride(PSE, LoadType, StorePtr, L).value_or(0); in isDependenceDistanceOfOne()
123 auto *StorePtrSCEV = cast<SCEVAddRecExpr>(PSE.getSCEV(StorePtr)); in isDependenceDistanceOfOne()
H A DLoopIdiomRecognize.cpp448 Value *StorePtr = SI->getPointerOperand(); in isLegalStore() local
466 const SCEV *StoreEv = SE->getSCEV(StorePtr); in isLegalStore()
495 StorePtr->getType()->getPointerAddressSpace() == 0 && in isLegalStore()
730 Value *StorePtr = HeadStore->getPointerOperand(); in processLoopStores() local
731 const SCEVAddRecExpr *StoreEv = cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr)); in processLoopStores()
741 Type *IntIdxTy = DL->getIndexType(StorePtr->getType()); in processLoopStores()
743 if (processLoopStridedStore(StorePtr, StoreSizeSCEV, in processLoopStores()
1206 Value *StorePtr = SI->getPointerOperand(); in processLoopStoreOfLoopLoad() local
1207 const SCEVAddRecExpr *StoreEv = cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr)); in processLoopStoreOfLoopLoad()
1220 const SCEV *StoreSizeSCEV = SE->getConstant(StorePtr->getType(), StoreSize); in processLoopStoreOfLoopLoad()
[all …]
H A DDeadStoreElimination.cpp2116 Value *StorePtr = StoreI->getPointerOperand(); in dominatingConditionImpliesValue() local
2137 m_CombineAnd(m_Load(m_Specific(StorePtr)), in dominatingConditionImpliesValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LowerAMXType.cpp669 void replacePhiDefWithLoad(Instruction *PHI, Value *StorePtr);
694 Value *StorePtr) { in replacePhiDefWithLoad() argument
696 replaceWithTileLoad(U, StorePtr, true); in replacePhiDefWithLoad()
766 Value *StorePtr = updatePhiIncomings(BB, Incomings); in volatileTilePHI() local
767 replacePhiDefWithLoad(PHI, StorePtr); in volatileTilePHI()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp245 Value *StorePtr = DepSI->getPointerOperand(); in analyzeLoadFromClobberingStore() local
248 return analyzeLoadFromClobberingWrite(LoadTy, LoadPtr, StorePtr, StoreSize, in analyzeLoadFromClobberingStore()
H A DSimplifyCFG.cpp2997 Value *StorePtr = StoreToHoist->getPointerOperand(); in isSafeToSpeculateStore() local
3017 if (SI->getPointerOperand() == StorePtr && in isSafeToSpeculateStore()
3026 if (LI->getPointerOperand() == StorePtr && LI->getType() == StoreTy && in isSafeToSpeculateStore()
3028 Value *Obj = getUnderlyingObject(StorePtr); in isSafeToSpeculateStore()
3035 isDereferenceablePointer(StorePtr, StoreTy, in isSafeToSpeculateStore()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DRandomIRBuilder.cpp134 Value *StorePtr = buildTargetLegalPtr(M, Ptr, IP, "", nullptr); in buildTargetLegalStore() local
135 Instruction *Store = new StoreInst(Val, StorePtr, IP); in buildTargetLegalStore()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp1916 Value *StorePtr = SI->getPointerOperand(); in isLegalStore() local
1926 auto *StoreEv = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr)); in isLegalStore()
2009 Value *StorePtr = SI->getPointerOperand(); in processCopyingStore() local
2010 auto *StoreEv = cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr)); in processCopyingStore()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/
H A DX86.cpp2920 Value *StorePtr = Builder.CreateConstInBoundsGEP1_32(Int32Ty, BasePtr, i); in EmitX86BuiltinExpr() local
2921 Store = Builder.CreateAlignedStore(Extracted, StorePtr, getIntAlign()); in EmitX86BuiltinExpr()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp9970 Register StorePtr = Dst; in lowerMemcpy() local
9973 StorePtr = MIB.buildPtrAdd(DstTy, Dst, Offset).getReg(0); in lowerMemcpy()
9975 MIB.buildStore(LdVal, StorePtr, *StoreMMO); in lowerMemcpy()
10076 Register StorePtr = Dst; in lowerMemmove() local
10081 StorePtr = MIB.buildPtrAdd(DstTy, Dst, Offset).getReg(0); in lowerMemmove()
10083 MIB.buildStore(LoadVals[I], StorePtr, *StoreMMO); in lowerMemmove()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp332 Value *StorePtr = II.getArgOperand(1); in simplifyMaskedStore() local
335 new StoreInst(II.getArgOperand(0), StorePtr, false, Alignment); in simplifyMaskedStore()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp4581 SDValue StorePtr = DAG.getNode(ISD::ADD, DL, PtrTy, FIN, in copyByValRegs() local
4584 StorePtr, MachinePointerInfo(FuncArg, Offset)); in copyByValRegs()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp6159 Address StorePtr = emitAddressAtOffset(*this, DestPtr, RetAI); in EmitCall() local
6161 CI, StorePtr, in EmitCall()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp3202 SDValue StorePtr = DAG.getNode(ISD::ADD, DL, PtrVT, StackPtr, StartOffset); in SplitVecRes_VP_REVERSE() local
3206 SDValue Store = DAG.getStridedStoreVP(DAG.getEntryNode(), DL, Val, StorePtr, in SplitVecRes_VP_REVERSE()