Lines Matching refs:SlotIndex
185 for (SlotIndex Idx : RegMaskSlots) in print()
354 SlotIndex Begin = Indexes->getMBBStartIdx(&MBB); in computeLiveInRegUnits()
383 SlotIndex Def = VNI->def; in createSegmentsForValues()
414 SlotIndex Idx = WorkList.back().first; in extendSegmentsToUses()
418 SlotIndex BlockStart = Indexes->getMBBStartIdx(MBB); in extendSegmentsToUses()
432 SlotIndex Stop = Indexes->getMBBEndIdx(Pred); in extendSegmentsToUses()
448 SlotIndex Stop = Indexes->getMBBEndIdx(Pred); in extendSegmentsToUses()
459 SmallVector<SlotIndex,8> Undefs; in extendSegmentsToUses()
492 SlotIndex Idx = getInstructionIndex(UseMI).getRegSlot(); in shrinkToUses()
534 SlotIndex Def = VNI->def; in computeDeadValues()
578 SlotIndex LastIdx; in shrinkToUses()
592 SlotIndex Idx = getInstructionIndex(*UseMI).getRegSlot(); in shrinkToUses()
641 ArrayRef<SlotIndex> Indices, in extendToIndices()
642 ArrayRef<SlotIndex> Undefs) { in extendToIndices()
645 for (SlotIndex Idx : Indices) in extendToIndices()
649 void LiveIntervals::pruneValue(LiveRange &LR, SlotIndex Kill, in pruneValue()
650 SmallVectorImpl<SlotIndex> *EndPoints) { in pruneValue()
657 SlotIndex MBBEnd = Indexes->getMBBEndIdx(KillMBB); in pruneValue()
682 SlotIndex MBBStart, MBBEnd; in pruneValue()
845 SlotIndex Start = LI.beginIndex(); in intervalIsInOneMBB()
849 SlotIndex Stop = LI.endIndex(); in intervalIsInOneMBB()
892 SlotIndex(getInstructionIndex(startInst).getRegSlot()), in addSegmentToEndOfBlock()
894 LiveRange::Segment S(SlotIndex(getInstructionIndex(startInst).getRegSlot()), in addSegmentToEndOfBlock()
929 ArrayRef<SlotIndex> Slots; in checkRegMaskInterference()
941 ArrayRef<SlotIndex>::iterator SlotI = llvm::lower_bound(Slots, LiveI->start); in checkRegMaskInterference()
942 ArrayRef<SlotIndex>::iterator SlotE = Slots.end(); in checkRegMaskInterference()
997 SlotIndex OldIdx;
998 SlotIndex NewIdx;
1005 SlotIndex OldIdx, SlotIndex NewIdx, bool UpdateFlags) in HMEditor()
1103 if (SlotIndex::isEarlierInstr(OldIdx, NewIdx)) in updateRange()
1119 if (OldIdxIn == E || SlotIndex::isEarlierInstr(OldIdx, OldIdxIn->start)) in handleMoveDown()
1124 if (SlotIndex::isEarlierInstr(OldIdxIn->start, OldIdx)) { in handleMoveDown()
1126 if (SlotIndex::isEarlierEqualInstr(NewIdx, OldIdxIn->end)) in handleMoveDown()
1138 if (Next != E && !SlotIndex::isSameInstr(OldIdx, Next->start) && in handleMoveDown()
1139 SlotIndex::isEarlierInstr(Next->start, NewIdx)) { in handleMoveDown()
1146 !SlotIndex::isEarlierInstr(NewIdxIn->start, NewIdx)) { in handleMoveDown()
1157 bool isKill = SlotIndex::isSameInstr(OldIdx, OldIdxIn->end); in handleMoveDown()
1165 if (OldIdxOut == E || !SlotIndex::isSameInstr(OldIdx, OldIdxOut->start)) in handleMoveDown()
1173 assert(OldIdxOut != E && SlotIndex::isSameInstr(OldIdx, OldIdxOut->start) && in handleMoveDown()
1180 SlotIndex NewIdxDef = NewIdx.getRegSlot(OldIdxOut->start.isEarlyClobber()); in handleMoveDown()
1181 if (SlotIndex::isEarlierInstr(NewIdxDef, OldIdxOut->end)) { in handleMoveDown()
1195 SlotIndex::isEarlierInstr(OldIdxOut->end, NewIdxDef)) { in handleMoveDown()
1199 !SlotIndex::isEarlierInstr(std::prev(OldIdxOut)->end, in handleMoveDown()
1241 if (SlotIndex::isEarlierInstr(Prev->start, NewIdxDef)) { in handleMoveDown()
1262 SlotIndex::isSameInstr(AfterNewIdx->start, NewIdxDef)) { in handleMoveDown()
1292 if (OldIdxIn == E || SlotIndex::isEarlierInstr(OldIdx, OldIdxIn->start)) in handleMoveUp()
1297 if (SlotIndex::isEarlierInstr(OldIdxIn->start, OldIdx)) { in handleMoveUp()
1301 bool isKill = SlotIndex::isSameInstr(OldIdx, OldIdxIn->end); in handleMoveUp()
1307 SlotIndex DefBeforeOldIdx in handleMoveUp()
1314 if (OldIdxOut == E || !SlotIndex::isSameInstr(OldIdx, OldIdxOut->start)) in handleMoveUp()
1323 assert(OldIdxOut != E && SlotIndex::isSameInstr(OldIdx, OldIdxOut->start) && in handleMoveUp()
1330 SlotIndex NewIdxDef = NewIdx.getRegSlot(OldIdxOut->start.isEarlyClobber()); in handleMoveUp()
1332 if (SlotIndex::isSameInstr(NewIdxOut->start, NewIdx)) { in handleMoveUp()
1352 SlotIndex::isEarlierInstr(NewIdxDef, OldIdxIn->start)) { in handleMoveUp()
1356 const SlotIndex SplitPos = NewIdxDef; in handleMoveUp()
1359 SlotIndex NewDefEndPoint = std::next(NewIdxIn)->end; in handleMoveUp()
1362 SlotIndex::isEarlierInstr(NewIdx, Prev->end)) { in handleMoveUp()
1386 if (SlotIndex::isEarlierInstr(Next->start, NewIdx)) { in handleMoveUp()
1403 if (OldIdxIn != E && SlotIndex::isEarlierInstr(NewIdx, OldIdxIn->end)) in handleMoveUp()
1407 && SlotIndex::isEarlierInstr(NewIdxOut->start, NewIdx) in handleMoveUp()
1408 && SlotIndex::isEarlierInstr(NewIdx, NewIdxOut->end)) { in handleMoveUp()
1454 SmallVectorImpl<SlotIndex>::iterator RI = in updateRegMaskSlots()
1460 SlotIndex::isEarlierInstr(*std::prev(RI), *RI)) && in updateRegMaskSlots()
1463 SlotIndex::isEarlierInstr(*RI, *std::next(RI))) && in updateRegMaskSlots()
1468 SlotIndex findLastUseBefore(SlotIndex Before, Register Reg, in findLastUseBefore()
1471 SlotIndex LastUse = Before; in findLastUseBefore()
1481 SlotIndex InstSlot = LIS.getSlotIndexes()->getInstructionIndex(MI); in findLastUseBefore()
1506 SlotIndex Idx = Indexes->getInstructionIndex(*MII); in findLastUseBefore()
1509 if (!SlotIndex::isEarlierInstr(Before, Idx)) in findLastUseBefore()
1528 SlotIndex OldIndex = Indexes->getInstructionIndex(MI); in handleMove()
1530 SlotIndex NewIndex = Indexes->insertMachineInstrInMaps(MI); in handleMove()
1543 SmallVector<SlotIndex, 16> ToProcess; in handleMoveIntoNewBundle()
1544 const SlotIndex NewIndex = Indexes->insertMachineInstrInMaps(BundleStart); in handleMoveIntoNewBundle()
1552 SlotIndex OldIndex = Indexes->getInstructionIndex(*I, true); in handleMoveIntoNewBundle()
1557 for (SlotIndex OldIndex : ToProcess) { in handleMoveIntoNewBundle()
1563 const SlotIndex Index = getInstructionIndex(BundleStart); in handleMoveIntoNewBundle()
1579 const SlotIndex EndIdx, LiveRange &LR, in repairOldRegInRange()
1583 SlotIndex lastUseIdx; in repairOldRegInRange()
1599 SlotIndex instrIdx = getInstructionIndex(MI); in repairOldRegInRange()
1626 lastUseIdx = SlotIndex(); in repairOldRegInRange()
1645 lastUseIdx = SlotIndex(); in repairOldRegInRange()
1675 SlotIndex EndIdx; in repairIntervalsInRange()
1740 void LiveIntervals::removePhysRegDefAt(MCRegister Reg, SlotIndex Pos) { in removePhysRegDefAt()
1748 void LiveIntervals::removeVRegDefAt(LiveInterval &LI, SlotIndex Pos) { in removeVRegDefAt()