Lines Matching refs:StoreInst
494 static StoreInst *combineStoreToNewValue(InstCombinerImpl &IC, StoreInst &SI, in combineStoreToNewValue()
504 StoreInst *NewStore = IC.Builder.CreateAlignedStore( in combineStoreToNewValue()
924 static bool canSimplifyNullStoreOrGEP(StoreInst &SI) { in canSimplifyNullStoreOrGEP()
996 StoreInst *SI = new StoreInst(PoisonValue::get(LI.getType()), in visitLoadInst()
1125 static bool combineStoreToValueType(InstCombinerImpl &IC, StoreInst &SI) { in combineStoreToValueType()
1163 static bool unpackStoreToAggregate(InstCombinerImpl &IC, StoreInst &SI) { in unpackStoreToAggregate()
1304 StoreInst &SI) { in removeBitcastsFromLoadStoreOnMinMax()
1331 auto *SI = dyn_cast<StoreInst>(U); in removeBitcastsFromLoadStoreOnMinMax()
1343 auto *USI = cast<StoreInst>(UI); in removeBitcastsFromLoadStoreOnMinMax()
1352 Instruction *InstCombinerImpl::visitStoreInst(StoreInst &SI) { in visitStoreInst()
1417 if (StoreInst *PrevSI = dyn_cast<StoreInst>(BBI)) { in visitStoreInst()
1471 bool InstCombinerImpl::mergeStoreIntoSuccessor(StoreInst &SI) { in mergeStoreIntoSuccessor()
1500 StoreInst *OtherStore = nullptr; in mergeStoreIntoSuccessor()
1512 OtherStore = dyn_cast<StoreInst>(BBI); in mergeStoreIntoSuccessor()
1528 if ((OtherStore = dyn_cast<StoreInst>(BBI))) { in mergeStoreIntoSuccessor()
1565 StoreInst *NewSI = in mergeStoreIntoSuccessor()
1566 new StoreInst(MergedVal, SI.getOperand(1), SI.isVolatile(), SI.getAlign(), in mergeStoreIntoSuccessor()