Lines Matching refs:StoreInst
383 static StoreInst *combineStoreToNewValue(InstCombiner &IC, StoreInst &SI, Value *V) { in combineStoreToNewValue()
389 StoreInst *NewStore = IC.Builder->CreateAlignedStore( in combineStoreToNewValue()
465 auto *SI = dyn_cast<StoreInst>(U); in combineLoadToOperationType()
473 auto *SI = cast<StoreInst>(*UI++); in combineLoadToOperationType()
722 new StoreInst(UndefValue::get(LI.getType()), in visitLoadInst()
735 new StoreInst(UndefValue::get(LI.getType()), in visitLoadInst()
803 static bool combineStoreToValueType(InstCombiner &IC, StoreInst &SI) { in combineStoreToValueType()
823 static bool unpackStoreToAggregate(InstCombiner &IC, StoreInst &SI) { in unpackStoreToAggregate()
876 Instruction *InstCombiner::visitStoreInst(StoreInst &SI) { in visitStoreInst()
938 if (StoreInst *PrevSI = dyn_cast<StoreInst>(BBI)) { in visitStoreInst()
1006 bool InstCombiner::SimplifyStoreAtEndOfBlock(StoreInst &SI) { in SimplifyStoreAtEndOfBlock()
1048 StoreInst *OtherStore = nullptr; in SimplifyStoreAtEndOfBlock()
1060 OtherStore = dyn_cast<StoreInst>(BBI); in SimplifyStoreAtEndOfBlock()
1076 if ((OtherStore = dyn_cast<StoreInst>(BBI))) { in SimplifyStoreAtEndOfBlock()
1111 StoreInst *NewSI = new StoreInst(MergedVal, SI.getOperand(1), in SimplifyStoreAtEndOfBlock()