Lines Matching refs:NewLI
179 void insertReload(LiveInterval &NewLI, SlotIndex,
181 void insertSpill(LiveInterval &NewLI, const LiveInterval &OldLI,
890 LiveInterval &NewLI = Edit->createFrom(Original, LIS, VRM); in reMaterializeFor() local
891 NewLI.markNotSpillable(); in reMaterializeFor()
894 SlotIndex DefIdx = Edit->rematerializeAt(*MI->getParent(), MI, NewLI.reg, RM, in reMaterializeFor()
903 MO.setReg(NewLI.reg); in reMaterializeFor()
909 VNInfo *DefVNI = NewLI.getNextValue(DefIdx, 0, LIS.getVNInfoAllocator()); in reMaterializeFor()
910 NewLI.addRange(LiveRange(DefIdx, UseIdx.getDefIndex(), DefVNI)); in reMaterializeFor()
911 DEBUG(dbgs() << "\tinterval: " << NewLI << '\n'); in reMaterializeFor()
1059 void InlineSpiller::insertReload(LiveInterval &NewLI, in insertReload() argument
1063 TII.loadRegFromStackSlot(MBB, MI, NewLI.reg, StackSlot, in insertReload()
1064 MRI.getRegClass(NewLI.reg), &TRI); in insertReload()
1069 VNInfo *LoadVNI = NewLI.getNextValue(LoadIdx, 0, in insertReload()
1071 NewLI.addRange(LiveRange(LoadIdx, Idx, LoadVNI)); in insertReload()
1076 void InlineSpiller::insertSpill(LiveInterval &NewLI, const LiveInterval &OldLI, in insertSpill() argument
1079 TII.storeRegToStackSlot(MBB, ++MI, NewLI.reg, true, StackSlot, in insertSpill()
1080 MRI.getRegClass(NewLI.reg), &TRI); in insertSpill()
1085 VNInfo *StoreVNI = NewLI.getNextValue(Idx, 0, LIS.getVNInfoAllocator()); in insertSpill()
1086 NewLI.addRange(LiveRange(Idx, StoreIdx, StoreVNI)); in insertSpill()
1168 LiveInterval &NewLI = Edit->createFrom(Reg, LIS, VRM); in spillAroundUses() local
1169 NewLI.markNotSpillable(); in spillAroundUses()
1172 insertReload(NewLI, Idx, MI); in spillAroundUses()
1178 MO.setReg(NewLI.reg); in spillAroundUses()
1192 insertSpill(NewLI, OldLI, Idx, MI); in spillAroundUses()
1196 VNInfo *VNI = NewLI.getNextValue(Idx, 0, LIS.getVNInfoAllocator()); in spillAroundUses()
1197 NewLI.addRange(LiveRange(Idx, Idx.getNextSlot(), VNI)); in spillAroundUses()
1201 DEBUG(dbgs() << "\tinterval: " << NewLI << '\n'); in spillAroundUses()