Lines Matching refs:StoreInst

519 static StoreInst *combineStoreToNewValue(InstCombiner &IC, StoreInst &SI, Value *V) {  in combineStoreToNewValue()
528 StoreInst *NewStore = IC.Builder.CreateAlignedStore( in combineStoreToNewValue()
639 auto *SI = dyn_cast<StoreInst>(U); in combineLoadToOperationType()
648 auto *SI = cast<StoreInst>(*UI++); in combineLoadToOperationType()
967 static bool canSimplifyNullStoreOrGEP(StoreInst &SI) { in canSimplifyNullStoreOrGEP()
1047 StoreInst *SI = new StoreInst(UndefValue::get(LI.getType()), in visitLoadInst()
1176 static bool combineStoreToValueType(InstCombiner &IC, StoreInst &SI) { in combineStoreToValueType()
1208 static bool unpackStoreToAggregate(InstCombiner &IC, StoreInst &SI) { in unpackStoreToAggregate()
1353 StoreInst &SI) { in removeBitcastsFromLoadStoreOnMinMax()
1368 auto *SI = dyn_cast<StoreInst>(U); in removeBitcastsFromLoadStoreOnMinMax()
1380 auto *USI = cast<StoreInst>(UI); in removeBitcastsFromLoadStoreOnMinMax()
1389 Instruction *InstCombiner::visitStoreInst(StoreInst &SI) { in visitStoreInst()
1454 if (StoreInst *PrevSI = dyn_cast<StoreInst>(BBI)) { in visitStoreInst()
1521 bool InstCombiner::mergeStoreIntoSuccessor(StoreInst &SI) { in mergeStoreIntoSuccessor()
1550 StoreInst *OtherStore = nullptr; in mergeStoreIntoSuccessor()
1562 OtherStore = dyn_cast<StoreInst>(BBI); in mergeStoreIntoSuccessor()
1578 if ((OtherStore = dyn_cast<StoreInst>(BBI))) { in mergeStoreIntoSuccessor()
1615 StoreInst *NewSI = new StoreInst(MergedVal, SI.getOperand(1), in mergeStoreIntoSuccessor()