Lines Matching refs:OldIdx
964 SlotIndex OldIdx; member in LiveIntervals::HMEditor
972 SlotIndex OldIdx, SlotIndex NewIdx, bool UpdateFlags) in HMEditor() argument
973 : LIS(LIS), MRI(MRI), TRI(TRI), OldIdx(OldIdx), NewIdx(NewIdx), in HMEditor()
989 LLVM_DEBUG(dbgs() << "handleMove " << OldIdx << " -> " << NewIdx << ": " in updateAllRanges()
1066 if (SlotIndex::isEarlierInstr(OldIdx, NewIdx)) in updateRange()
1079 LiveRange::iterator OldIdxIn = LR.find(OldIdx.getBaseIndex()); in handleMoveDown()
1082 if (OldIdxIn == E || SlotIndex::isEarlierInstr(OldIdx, OldIdxIn->start)) in handleMoveDown()
1087 if (SlotIndex::isEarlierInstr(OldIdxIn->start, OldIdx)) { in handleMoveDown()
1101 if (Next != E && !SlotIndex::isSameInstr(OldIdx, Next->start) && in handleMoveDown()
1120 bool isKill = SlotIndex::isSameInstr(OldIdx, OldIdxIn->end); in handleMoveDown()
1128 if (OldIdxOut == E || !SlotIndex::isSameInstr(OldIdx, OldIdxOut->start)) in handleMoveDown()
1136 assert(OldIdxOut != E && SlotIndex::isSameInstr(OldIdx, OldIdxOut->start) && in handleMoveDown()
1252 LiveRange::iterator OldIdxIn = LR.find(OldIdx.getBaseIndex()); in handleMoveUp()
1255 if (OldIdxIn == E || SlotIndex::isEarlierInstr(OldIdx, OldIdxIn->start)) in handleMoveUp()
1260 if (SlotIndex::isEarlierInstr(OldIdxIn->start, OldIdx)) { in handleMoveUp()
1264 bool isKill = SlotIndex::isSameInstr(OldIdx, OldIdxIn->end); in handleMoveUp()
1277 if (OldIdxOut == E || !SlotIndex::isSameInstr(OldIdx, OldIdxOut->start)) in handleMoveUp()
1286 assert(OldIdxOut != E && SlotIndex::isSameInstr(OldIdx, OldIdxOut->start) && in handleMoveUp()
1418 llvm::lower_bound(LIS.RegMaskSlots, OldIdx); in updateRegMaskSlots()
1419 assert(RI != LIS.RegMaskSlots.end() && *RI == OldIdx.getRegSlot() && in updateRegMaskSlots()
1445 if (InstSlot > LastUse && InstSlot < OldIdx) in findLastUseBefore()
1453 assert(Before < OldIdx && "Expected upwards move"); in findLastUseBefore()
1461 Indexes->getNextNonNullIndex(OldIdx))) in findLastUseBefore()