Lines Matching refs:NewIdx
904 SlotIndex NewIdx; member in LiveIntervals::HMEditor
911 SlotIndex OldIdx, SlotIndex NewIdx, bool UpdateFlags) in HMEditor() argument
912 : LIS(LIS), MRI(MRI), TRI(TRI), OldIdx(OldIdx), NewIdx(NewIdx), in HMEditor()
928 DEBUG(dbgs() << "handleMove " << OldIdx << " -> " << NewIdx << ": " << *MI); in updateAllRanges()
985 if (SlotIndex::isEarlierInstr(OldIdx, NewIdx)) in updateRange()
1025 if (!SlotIndex::isEarlierInstr(I->end, NewIdx)) in handleMoveDown()
1036 I->end = NewIdx.getRegSlot(I->end.isEarlyClobber()); in handleMoveDown()
1049 DefVNI->def = NewIdx.getRegSlot(I->start.isEarlyClobber()); in handleMoveDown()
1052 if (SlotIndex::isEarlierInstr(NewIdx, I->end)) { in handleMoveDown()
1061 SlotIndex::isSameInstr(I->end, NewIdx)) && in handleMoveDown()
1063 LiveRange::iterator NewI = LR.advanceTo(I, NewIdx.getRegSlot()); in handleMoveDown()
1064 if (NewI != E && SlotIndex::isSameInstr(NewI->start, NewIdx)) { in handleMoveDown()
1078 = LiveRange::Segment(DefVNI->def, NewIdx.getDeadSlot(), DefVNI); in handleMoveDown()
1116 I->end = NewIdx.getRegSlot(I->end.isEarlyClobber()); in handleMoveUp()
1131 DefVNI->def = NewIdx.getRegSlot(I->start.isEarlyClobber()); in handleMoveUp()
1134 LiveRange::iterator NewI = LR.find(NewIdx.getRegSlot()); in handleMoveUp()
1135 if (SlotIndex::isSameInstr(NewI->start, NewIdx)) { in handleMoveUp()
1159 *NewI = LiveRange::Segment(DefVNI->def, NewIdx.getDeadSlot(), DefVNI); in handleMoveUp()
1168 *RI = NewIdx.getRegSlot(); in updateRegMaskSlots()
1181 SlotIndex LastUse = NewIdx; in findLastUseBefore()
1198 assert(NewIdx < OldIdx && "Expected upwards move"); in findLastUseBefore()
1200 MachineBasicBlock *MBB = Indexes->getMBBFromIndex(NewIdx); in findLastUseBefore()
1217 if (!SlotIndex::isEarlierInstr(NewIdx, Idx)) in findLastUseBefore()
1218 return NewIdx; in findLastUseBefore()
1228 return NewIdx; in findLastUseBefore()