Lines Matching refs:SlotIndex
164 for (SlotIndex Idx : RegMaskSlots) in print()
333 SlotIndex Begin = Indexes->getMBBStartIdx(&MBB); in computeLiveInRegUnits()
363 SlotIndex Def = VNI->def; in createSegmentsForValues()
394 SlotIndex Idx = WorkList.back().first; in extendSegmentsToUses()
398 SlotIndex BlockStart = Indexes->getMBBStartIdx(MBB); in extendSegmentsToUses()
412 SlotIndex Stop = Indexes->getMBBEndIdx(Pred); in extendSegmentsToUses()
428 SlotIndex Stop = Indexes->getMBBEndIdx(Pred); in extendSegmentsToUses()
439 SmallVector<SlotIndex,8> Undefs; in extendSegmentsToUses()
473 SlotIndex Idx = getInstructionIndex(UseMI).getRegSlot(); in shrinkToUses()
516 SlotIndex Def = VNI->def; in computeDeadValues()
564 SlotIndex LastIdx; in shrinkToUses()
578 SlotIndex Idx = getInstructionIndex(*UseMI).getRegSlot(); in shrinkToUses()
627 ArrayRef<SlotIndex> Indices, in extendToIndices()
628 ArrayRef<SlotIndex> Undefs) { in extendToIndices()
631 for (SlotIndex Idx : Indices) in extendToIndices()
635 void LiveIntervals::pruneValue(LiveRange &LR, SlotIndex Kill, in pruneValue()
636 SmallVectorImpl<SlotIndex> *EndPoints) { in pruneValue()
643 SlotIndex MBBEnd = Indexes->getMBBEndIdx(KillMBB); in pruneValue()
668 SlotIndex MBBStart, MBBEnd; in pruneValue()
832 SlotIndex Start = LI.beginIndex(); in intervalIsInOneMBB()
836 SlotIndex Stop = LI.endIndex(); in intervalIsInOneMBB()
879 SlotIndex(getInstructionIndex(startInst).getRegSlot()), in addSegmentToEndOfBlock()
881 LiveRange::Segment S(SlotIndex(getInstructionIndex(startInst).getRegSlot()), in addSegmentToEndOfBlock()
916 ArrayRef<SlotIndex> Slots; in checkRegMaskInterference()
928 ArrayRef<SlotIndex>::iterator SlotI = llvm::lower_bound(Slots, LiveI->start); in checkRegMaskInterference()
929 ArrayRef<SlotIndex>::iterator SlotE = Slots.end(); in checkRegMaskInterference()
984 SlotIndex OldIdx;
985 SlotIndex NewIdx;
992 SlotIndex OldIdx, SlotIndex NewIdx, bool UpdateFlags) in HMEditor()
1091 if (SlotIndex::isEarlierInstr(OldIdx, NewIdx)) in updateRange()
1107 if (OldIdxIn == E || SlotIndex::isEarlierInstr(OldIdx, OldIdxIn->start)) in handleMoveDown()
1112 if (SlotIndex::isEarlierInstr(OldIdxIn->start, OldIdx)) { in handleMoveDown()
1114 if (SlotIndex::isEarlierEqualInstr(NewIdx, OldIdxIn->end)) in handleMoveDown()
1126 if (Next != E && !SlotIndex::isSameInstr(OldIdx, Next->start) && in handleMoveDown()
1127 SlotIndex::isEarlierInstr(Next->start, NewIdx)) { in handleMoveDown()
1134 !SlotIndex::isEarlierInstr(NewIdxIn->start, NewIdx)) { in handleMoveDown()
1145 bool isKill = SlotIndex::isSameInstr(OldIdx, OldIdxIn->end); in handleMoveDown()
1153 if (OldIdxOut == E || !SlotIndex::isSameInstr(OldIdx, OldIdxOut->start)) in handleMoveDown()
1161 assert(OldIdxOut != E && SlotIndex::isSameInstr(OldIdx, OldIdxOut->start) && in handleMoveDown()
1168 SlotIndex NewIdxDef = NewIdx.getRegSlot(OldIdxOut->start.isEarlyClobber()); in handleMoveDown()
1169 if (SlotIndex::isEarlierInstr(NewIdxDef, OldIdxOut->end)) { in handleMoveDown()
1183 SlotIndex::isEarlierInstr(OldIdxOut->end, NewIdxDef)) { in handleMoveDown()
1187 !SlotIndex::isEarlierInstr(std::prev(OldIdxOut)->end, in handleMoveDown()
1229 if (SlotIndex::isEarlierInstr(Prev->start, NewIdxDef)) { in handleMoveDown()
1250 SlotIndex::isSameInstr(AfterNewIdx->start, NewIdxDef)) { in handleMoveDown()
1280 if (OldIdxIn == E || SlotIndex::isEarlierInstr(OldIdx, OldIdxIn->start)) in handleMoveUp()
1285 if (SlotIndex::isEarlierInstr(OldIdxIn->start, OldIdx)) { in handleMoveUp()
1289 bool isKill = SlotIndex::isSameInstr(OldIdx, OldIdxIn->end); in handleMoveUp()
1295 SlotIndex DefBeforeOldIdx in handleMoveUp()
1302 if (OldIdxOut == E || !SlotIndex::isSameInstr(OldIdx, OldIdxOut->start)) in handleMoveUp()
1311 assert(OldIdxOut != E && SlotIndex::isSameInstr(OldIdx, OldIdxOut->start) && in handleMoveUp()
1318 SlotIndex NewIdxDef = NewIdx.getRegSlot(OldIdxOut->start.isEarlyClobber()); in handleMoveUp()
1320 if (SlotIndex::isSameInstr(NewIdxOut->start, NewIdx)) { in handleMoveUp()
1340 SlotIndex::isEarlierInstr(NewIdxDef, OldIdxIn->start)) { in handleMoveUp()
1344 const SlotIndex SplitPos = NewIdxDef; in handleMoveUp()
1347 SlotIndex NewDefEndPoint = std::next(NewIdxIn)->end; in handleMoveUp()
1350 SlotIndex::isEarlierInstr(NewIdx, Prev->end)) { in handleMoveUp()
1374 if (SlotIndex::isEarlierInstr(Next->start, NewIdx)) { in handleMoveUp()
1391 if (OldIdxIn != E && SlotIndex::isEarlierInstr(NewIdx, OldIdxIn->end)) in handleMoveUp()
1395 && SlotIndex::isEarlierInstr(NewIdxOut->start, NewIdx) in handleMoveUp()
1396 && SlotIndex::isEarlierInstr(NewIdx, NewIdxOut->end)) { in handleMoveUp()
1442 SmallVectorImpl<SlotIndex>::iterator RI = in updateRegMaskSlots()
1448 SlotIndex::isEarlierInstr(*std::prev(RI), *RI)) && in updateRegMaskSlots()
1451 SlotIndex::isEarlierInstr(*RI, *std::next(RI))) && in updateRegMaskSlots()
1456 SlotIndex findLastUseBefore(SlotIndex Before, Register Reg, in findLastUseBefore()
1459 SlotIndex LastUse = Before; in findLastUseBefore()
1469 SlotIndex InstSlot = LIS.getSlotIndexes()->getInstructionIndex(MI); in findLastUseBefore()
1494 SlotIndex Idx = Indexes->getInstructionIndex(*MII); in findLastUseBefore()
1497 if (!SlotIndex::isEarlierInstr(Before, Idx)) in findLastUseBefore()
1517 SlotIndex OldIndex = Indexes->getInstructionIndex(MI); in handleMove()
1519 SlotIndex NewIndex = Indexes->insertMachineInstrInMaps(MI); in handleMove()
1532 SmallVector<SlotIndex, 16> ToProcess; in handleMoveIntoNewBundle()
1533 const SlotIndex NewIndex = Indexes->insertMachineInstrInMaps(BundleStart); in handleMoveIntoNewBundle()
1541 SlotIndex OldIndex = Indexes->getInstructionIndex(*I, true); in handleMoveIntoNewBundle()
1546 for (SlotIndex OldIndex : ToProcess) { in handleMoveIntoNewBundle()
1552 const SlotIndex Index = getInstructionIndex(BundleStart); in handleMoveIntoNewBundle()
1569 const SlotIndex EndIdx, LiveRange &LR, in repairOldRegInRange()
1573 SlotIndex lastUseIdx; in repairOldRegInRange()
1589 SlotIndex instrIdx = getInstructionIndex(MI); in repairOldRegInRange()
1616 lastUseIdx = SlotIndex(); in repairOldRegInRange()
1635 lastUseIdx = SlotIndex(); in repairOldRegInRange()
1665 SlotIndex EndIdx; in repairIntervalsInRange()
1716 void LiveIntervals::removePhysRegDefAt(MCRegister Reg, SlotIndex Pos) { in removePhysRegDefAt()
1724 void LiveIntervals::removeVRegDefAt(LiveInterval &LI, SlotIndex Pos) { in removeVRegDefAt()