Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoads.cpp472 const Value *StorePtr, in areNonOverlapSameBaseLoadAndStore() argument
476 APInt StoreOffset(DL.getIndexTypeSizeInBits(StorePtr->getType()), 0); in areNonOverlapSameBaseLoadAndStore()
479 const Value *StoreBase = StorePtr->stripAndAccumulateConstantOffsets( in areNonOverlapSameBaseLoadAndStore()
524 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in getAvailableLoadStore() local
525 if (!AreEquivalentAddressValues(StorePtr, Ptr)) in getAvailableLoadStore()
617 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in findAvailablePtrLoadStore() local
623 (isa<AllocaInst>(StorePtr) || isa<GlobalVariable>(StorePtr)) && in findAvailablePtrLoadStore()
624 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.cpp415 Value *StorePtr = SI->getPointerOperand(); in isLegalStore() local
434 dyn_cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr)); in isLegalStore()
464 StorePtr->getType()->getPointerAddressSpace() == 0 && in isLegalStore()
701 Value *StorePtr = HeadStore->getPointerOperand(); in processLoopStores() local
702 const SCEVAddRecExpr *StoreEv = cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr)); in processLoopStores()
712 Type *IntIdxTy = DL->getIndexType(StorePtr->getType()); in processLoopStores()
714 if (processLoopStridedStore(StorePtr, StoreSizeSCEV, in processLoopStores()
1172 Value *StorePtr = SI->getPointerOperand(); in processLoopStoreOfLoopLoad() local
1173 const SCEVAddRecExpr *StoreEv = cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr)); in processLoopStoreOfLoopLoad()
1186 const SCEV *StoreSizeSCEV = SE->getConstant(StorePtr->getType(), StoreSize); in processLoopStoreOfLoopLoad()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LowerAMXType.cpp526 void replacePhiDefWithLoad(Instruction *PHI, Value *StorePtr);
551 Value *StorePtr) { in replacePhiDefWithLoad() argument
553 replaceWithTileLoad(U, StorePtr, true); in replacePhiDefWithLoad()
623 Value *StorePtr = updatePhiIncomings(BB, Incomings); in volatileTilePHI() local
624 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.cpp2801 Value *StorePtr = StoreToHoist->getPointerOperand(); in isSafeToSpeculateStore() local
2821 if (SI->getPointerOperand() == StorePtr && in isSafeToSpeculateStore()
2829 if (LI->getPointerOperand() == StorePtr && LI->getType() == StoreTy && in isSafeToSpeculateStore()
2837 auto *AI = dyn_cast<AllocaInst>(getUnderlyingObject(StorePtr)); in isSafeToSpeculateStore()
/freebsd/contrib/llvm-project/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()
2027 Value *StorePtr = SI->getPointerOperand(); in processCopyingStore() local
2028 auto *StoreEv = cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr)); in processCopyingStore()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp8485 Register StorePtr = Dst; in lowerMemcpy() local
8488 StorePtr = MIB.buildPtrAdd(DstTy, Dst, Offset).getReg(0); in lowerMemcpy()
8490 MIB.buildStore(LdVal, StorePtr, *StoreMMO); in lowerMemcpy()
8591 Register StorePtr = Dst; in lowerMemmove() local
8596 StorePtr = MIB.buildPtrAdd(DstTy, Dst, Offset).getReg(0); in lowerMemmove()
8598 MIB.buildStore(LoadVals[I], StorePtr, *StoreMMO); in lowerMemmove()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp347 Value *StorePtr = II.getArgOperand(1); in simplifyMaskedStore() local
350 new StoreInst(II.getArgOperand(0), StorePtr, false, Alignment); in simplifyMaskedStore()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp5871 Address StorePtr = emitAddressAtOffset(*this, DestPtr, RetAI); in EmitCall() local
5872 CreateCoercedStore(CI, StorePtr, DestIsVolatile, *this); in EmitCall()
H A DCGBuiltin.cpp16234 Value *StorePtr = Builder.CreateConstInBoundsGEP1_32(Int32Ty, BasePtr, i); in EmitX86BuiltinExpr() local
16235 Store = Builder.CreateAlignedStore(Extracted, StorePtr, getIntAlign()); in EmitX86BuiltinExpr()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp4393 SDValue StorePtr = DAG.getNode(ISD::ADD, DL, PtrTy, FIN, in copyByValRegs() local
4396 StorePtr, MachinePointerInfo(FuncArg, Offset)); in copyByValRegs()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp2897 SDValue StorePtr = DAG.getNode(ISD::ADD, DL, PtrVT, StackPtr, StartOffset); in SplitVecRes_VP_REVERSE() local
2901 SDValue Store = DAG.getStridedStoreVP(DAG.getEntryNode(), DL, Val, StorePtr, in SplitVecRes_VP_REVERSE()