Lines Matching refs:StoreInst
182 void RewriteStoreUserOfWholeAlloca(StoreInst *SI, AllocaInst *AI,
491 if (StoreInst *SI = dyn_cast<StoreInst>(UI)) { in CanConvertToScalar()
645 if (StoreInst *SI = dyn_cast<StoreInst>(User)) { in ConvertUsesToScalar()
734 StoreInst *NewStore = Builder.CreateStore(SrcVal, DstPtr); in ConvertUsesToScalar()
1090 return cast<StoreInst>(I)->getPointerOperand() == AI; in isInstInList()
1097 if (StoreInst *SI = dyn_cast<StoreInst>(Inst)) in updateDebugInfo()
1106 if (StoreInst *SI = dyn_cast<StoreInst>(Inst)) { in updateDebugInfo()
1256 if (StoreInst *SI = dyn_cast<StoreInst>(U)) { in tryToMakeAllocaBePromotable()
1638 } else if (StoreInst *SI = dyn_cast<StoreInst>(User)) { in isSafeForScalarRepl()
1698 } else if (StoreInst *SI = dyn_cast<StoreInst>(UI)) { in isSafePHISelectUseForScalarRepl()
1945 if (StoreInst *SI = dyn_cast<StoreInst>(User)) { in RewriteForScalarRepl()
2272 new StoreInst(Elt, EltPtr, MI); in RewriteMemIntrinUserOfAlloca()
2276 new StoreInst(Elt, OtherElt, false, OtherEltAlign, MI); in RewriteMemIntrinUserOfAlloca()
2316 new StoreInst(StoreVal, EltPtr, MI); in RewriteMemIntrinUserOfAlloca()
2351 SROA::RewriteStoreUserOfWholeAlloca(StoreInst *SI, AllocaInst *AI, in RewriteStoreUserOfWholeAlloca()
2409 new StoreInst(EltVal, DestField, SI); in RewriteStoreUserOfWholeAlloca()
2452 new StoreInst(EltVal, DestField, SI); in RewriteStoreUserOfWholeAlloca()