Lines Matching refs:NewIdx
934 SlotIndex NewIdx; member in LiveIntervals::HMEditor
941 SlotIndex OldIdx, SlotIndex NewIdx, bool UpdateFlags) in HMEditor() argument
942 : LIS(LIS), MRI(MRI), TRI(TRI), OldIdx(OldIdx), NewIdx(NewIdx), in HMEditor()
958 DEBUG(dbgs() << "handleMove " << OldIdx << " -> " << NewIdx << ": " << *MI); in updateAllRanges()
1015 if (SlotIndex::isEarlierInstr(OldIdx, NewIdx)) in updateRange()
1055 if (!SlotIndex::isEarlierInstr(I->end, NewIdx)) in handleMoveDown()
1066 I->end = NewIdx.getRegSlot(I->end.isEarlyClobber()); in handleMoveDown()
1079 DefVNI->def = NewIdx.getRegSlot(I->start.isEarlyClobber()); in handleMoveDown()
1082 if (SlotIndex::isEarlierInstr(NewIdx, I->end)) { in handleMoveDown()
1091 SlotIndex::isSameInstr(I->end, NewIdx)) && in handleMoveDown()
1093 LiveRange::iterator NewI = LR.advanceTo(I, NewIdx.getRegSlot()); in handleMoveDown()
1094 if (NewI != E && SlotIndex::isSameInstr(NewI->start, NewIdx)) { in handleMoveDown()
1108 = LiveRange::Segment(DefVNI->def, NewIdx.getDeadSlot(), DefVNI); in handleMoveDown()
1146 I->end = NewIdx.getRegSlot(I->end.isEarlyClobber()); in handleMoveUp()
1161 DefVNI->def = NewIdx.getRegSlot(I->start.isEarlyClobber()); in handleMoveUp()
1164 LiveRange::iterator NewI = LR.find(NewIdx.getRegSlot()); in handleMoveUp()
1165 if (SlotIndex::isSameInstr(NewI->start, NewIdx)) { in handleMoveUp()
1189 *NewI = LiveRange::Segment(DefVNI->def, NewIdx.getDeadSlot(), DefVNI); in handleMoveUp()
1198 *RI = NewIdx.getRegSlot(); in updateRegMaskSlots()
1211 SlotIndex LastUse = NewIdx; in findLastUseBefore()
1228 assert(NewIdx < OldIdx && "Expected upwards move"); in findLastUseBefore()
1230 MachineBasicBlock *MBB = Indexes->getMBBFromIndex(NewIdx); in findLastUseBefore()
1247 if (!SlotIndex::isEarlierInstr(NewIdx, Idx)) in findLastUseBefore()
1248 return NewIdx; in findLastUseBefore()
1258 return NewIdx; in findLastUseBefore()