Lines Matching refs:StoreInst
483 static StoreInst *combineStoreToNewValue(InstCombinerImpl &IC, StoreInst &SI, in combineStoreToNewValue()
493 StoreInst *NewStore = IC.Builder.CreateAlignedStore( in combineStoreToNewValue()
904 static bool canSimplifyNullStoreOrGEP(StoreInst &SI) { in canSimplifyNullStoreOrGEP()
976 StoreInst *SI = new StoreInst(PoisonValue::get(LI.getType()), in visitLoadInst()
1105 static bool combineStoreToValueType(InstCombinerImpl &IC, StoreInst &SI) { in combineStoreToValueType()
1143 static bool unpackStoreToAggregate(InstCombinerImpl &IC, StoreInst &SI) { in unpackStoreToAggregate()
1280 StoreInst &SI) { in removeBitcastsFromLoadStoreOnMinMax()
1307 auto *SI = dyn_cast<StoreInst>(U); in removeBitcastsFromLoadStoreOnMinMax()
1319 auto *USI = cast<StoreInst>(UI); in removeBitcastsFromLoadStoreOnMinMax()
1328 Instruction *InstCombinerImpl::visitStoreInst(StoreInst &SI) { in visitStoreInst()
1393 if (StoreInst *PrevSI = dyn_cast<StoreInst>(BBI)) { in visitStoreInst()
1451 bool InstCombinerImpl::mergeStoreIntoSuccessor(StoreInst &SI) { in mergeStoreIntoSuccessor()
1480 StoreInst *OtherStore = nullptr; in mergeStoreIntoSuccessor()
1492 OtherStore = dyn_cast<StoreInst>(BBI); in mergeStoreIntoSuccessor()
1508 if ((OtherStore = dyn_cast<StoreInst>(BBI))) { in mergeStoreIntoSuccessor()
1545 StoreInst *NewSI = in mergeStoreIntoSuccessor()
1546 new StoreInst(MergedVal, SI.getOperand(1), SI.isVolatile(), SI.getAlign(), in mergeStoreIntoSuccessor()