Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DLoads.cpp448 const Value *StorePtr, in areNonOverlapSameBaseLoadAndStore() argument
452 APInt StoreOffset(DL.getIndexTypeSizeInBits(StorePtr->getType()), 0); in areNonOverlapSameBaseLoadAndStore()
455 const Value *StoreBase = StorePtr->stripAndAccumulateConstantOffsets( in areNonOverlapSameBaseLoadAndStore()
500 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in getAvailableLoadStore() local
501 if (!AreEquivalentAddressValues(StorePtr, Ptr)) in getAvailableLoadStore()
593 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in findAvailablePtrLoadStore() local
599 (isa<AllocaInst>(StorePtr) || isa<GlobalVariable>(StorePtr)) && in findAvailablePtrLoadStore()
600 StrippedPtr != StorePtr) in findAvailablePtrLoadStore()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLoopLoadElimination.cpp99 Value *StorePtr = Store->getPointerOperand(); in isDependenceDistanceOfOne() local
104 StorePtr->getType()->getPointerAddressSpace() && in isDependenceDistanceOfOne()
113 getPtrStride(PSE, LoadType, StorePtr, L).value_or(0) != 1) in isDependenceDistanceOfOne()
119 auto *StorePtrSCEV = cast<SCEVAddRecExpr>(PSE.getSCEV(StorePtr)); in isDependenceDistanceOfOne()
H A DLoopIdiomRecognize.cpp490 Value *StorePtr = SI->getPointerOperand(); in isLegalStore() local
509 dyn_cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr)); in isLegalStore()
539 StorePtr->getType()->getPointerAddressSpace() == 0 && in isLegalStore()
776 Value *StorePtr = HeadStore->getPointerOperand(); in processLoopStores() local
777 const SCEVAddRecExpr *StoreEv = cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr)); in processLoopStores()
787 Type *IntIdxTy = DL->getIndexType(StorePtr->getType()); in processLoopStores()
789 if (processLoopStridedStore(StorePtr, StoreSizeSCEV, in processLoopStores()
1257 Value *StorePtr = SI->getPointerOperand(); in processLoopStoreOfLoopLoad() local
1258 const SCEVAddRecExpr *StoreEv = cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr)); in processLoopStoreOfLoopLoad()
1271 const SCEV *StoreSizeSCEV = SE->getConstant(StorePtr->getType(), StoreSize); in processLoopStoreOfLoopLoad()
[all …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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.cpp2716 Value *StorePtr = StoreToHoist->getPointerOperand(); in isSafeToSpeculateStore() local
2736 if (SI->getPointerOperand() == StorePtr && in isSafeToSpeculateStore()
2744 if (LI->getPointerOperand() == StorePtr && LI->getType() == StoreTy && in isSafeToSpeculateStore()
2752 auto *AI = dyn_cast<AllocaInst>(getUnderlyingObject(StorePtr)); in isSafeToSpeculateStore()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp7960 Register StorePtr = Dst; in lowerMemcpy() local
7963 StorePtr = MIB.buildPtrAdd(DstTy, Dst, Offset).getReg(0); in lowerMemcpy()
7965 MIB.buildStore(LdVal, StorePtr, *StoreMMO); in lowerMemcpy()
8066 Register StorePtr = Dst; in lowerMemmove() local
8071 StorePtr = MIB.buildPtrAdd(DstTy, Dst, Offset).getReg(0); in lowerMemmove()
8073 MIB.buildStore(LoadVals[I], StorePtr, *StoreMMO); in lowerMemmove()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp362 Value *StorePtr = II.getArgOperand(1); in simplifyMaskedStore() local
365 new StoreInst(II.getArgOperand(0), StorePtr, false, Alignment); in simplifyMaskedStore()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGCall.cpp5643 Address StorePtr = emitAddressAtOffset(*this, DestPtr, RetAI); in EmitCall() local
5644 CreateCoercedStore(CI, StorePtr, DestIsVolatile, *this); in EmitCall()
H A DCGBuiltin.cpp15277 Value *StorePtr = Builder.CreateConstInBoundsGEP1_32(Int32Ty, BasePtr, i); in EmitX86BuiltinExpr() local
15278 Store = Builder.CreateAlignedStore(Extracted, StorePtr, getIntAlign()); in EmitX86BuiltinExpr()
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp4396 SDValue StorePtr = DAG.getNode(ISD::ADD, DL, PtrTy, FIN, in copyByValRegs() local
4399 StorePtr, MachinePointerInfo(FuncArg, Offset)); in copyByValRegs()