Lines Matching refs:SlotIndex
313 SlotIndex Begin = Indexes->getMBBStartIdx(MBB); in computeLiveInRegUnits()
346 SlotIndex Def = VNI->def; in createSegmentsForValues()
351 typedef SmallVector<std::pair<SlotIndex, VNInfo*>, 16> ShrinkToUsesWorkList;
363 SlotIndex Idx = WorkList.back().first; in extendSegmentsToUses()
367 SlotIndex BlockStart = Indexes.getMBBStartIdx(MBB); in extendSegmentsToUses()
381 SlotIndex Stop = Indexes.getMBBEndIdx(Pred); in extendSegmentsToUses()
397 SlotIndex Stop = Indexes.getMBBEndIdx(Pred); in extendSegmentsToUses()
431 SlotIndex Idx = getInstructionIndex(*UseMI).getRegSlot(); in shrinkToUses()
471 SlotIndex Def = VNI->def; in computeDeadValues()
516 SlotIndex LastIdx; in shrinkToUses()
529 SlotIndex Idx = getInstructionIndex(*UseMI).getRegSlot(); in shrinkToUses()
577 ArrayRef<SlotIndex> Indices) { in extendToIndices()
584 void LiveIntervals::pruneValue(LiveRange &LR, SlotIndex Kill, in pruneValue()
585 SmallVectorImpl<SlotIndex> *EndPoints) { in pruneValue()
592 SlotIndex MBBEnd = Indexes->getMBBEndIdx(KillMBB); in pruneValue()
619 SlotIndex MBBStart, MBBEnd; in pruneValue()
787 SlotIndex Start = LI.beginIndex(); in intervalIsInOneMBB()
791 SlotIndex Stop = LI.endIndex(); in intervalIsInOneMBB()
831 SlotIndex(getInstructionIndex(startInst).getRegSlot()), in addSegmentToEndOfBlock()
833 LiveRange::Segment S(SlotIndex(getInstructionIndex(startInst).getRegSlot()), in addSegmentToEndOfBlock()
852 ArrayRef<SlotIndex> Slots; in checkRegMaskInterference()
864 ArrayRef<SlotIndex>::iterator SlotI = in checkRegMaskInterference()
866 ArrayRef<SlotIndex>::iterator SlotE = Slots.end(); in checkRegMaskInterference()
910 SlotIndex OldIdx;
911 SlotIndex NewIdx;
918 SlotIndex OldIdx, SlotIndex NewIdx, bool UpdateFlags) in HMEditor()
995 if (SlotIndex::isEarlierInstr(OldIdx, NewIdx)) in updateRange()
1011 if (OldIdxIn == E || SlotIndex::isEarlierInstr(OldIdx, OldIdxIn->start)) in handleMoveDown()
1016 if (SlotIndex::isEarlierInstr(OldIdxIn->start, OldIdx)) { in handleMoveDown()
1018 if (SlotIndex::isEarlierEqualInstr(NewIdx, OldIdxIn->end)) in handleMoveDown()
1030 if (Next != E && !SlotIndex::isSameInstr(OldIdx, Next->start) && in handleMoveDown()
1031 SlotIndex::isEarlierInstr(Next->start, NewIdx)) { in handleMoveDown()
1038 !SlotIndex::isEarlierInstr(NewIdxIn->start, NewIdx)) { in handleMoveDown()
1047 bool isKill = SlotIndex::isSameInstr(OldIdx, OldIdxIn->end); in handleMoveDown()
1055 if (OldIdxOut == E || !SlotIndex::isSameInstr(OldIdx, OldIdxOut->start)) in handleMoveDown()
1063 assert(OldIdxOut != E && SlotIndex::isSameInstr(OldIdx, OldIdxOut->start) && in handleMoveDown()
1070 SlotIndex NewIdxDef = NewIdx.getRegSlot(OldIdxOut->start.isEarlyClobber()); in handleMoveDown()
1071 if (SlotIndex::isEarlierInstr(NewIdxDef, OldIdxOut->end)) { in handleMoveDown()
1085 SlotIndex::isEarlierInstr(OldIdxOut->end, NewIdxDef)) { in handleMoveDown()
1089 !SlotIndex::isEarlierInstr(std::prev(OldIdxOut)->end, in handleMoveDown()
1131 if (SlotIndex::isEarlierInstr(Prev->start, NewIdxDef)) { in handleMoveDown()
1152 SlotIndex::isSameInstr(AfterNewIdx->start, NewIdxDef)) { in handleMoveDown()
1182 if (OldIdxIn == E || SlotIndex::isEarlierInstr(OldIdx, OldIdxIn->start)) in handleMoveUp()
1187 if (SlotIndex::isEarlierInstr(OldIdxIn->start, OldIdx)) { in handleMoveUp()
1191 bool isKill = SlotIndex::isSameInstr(OldIdx, OldIdxIn->end); in handleMoveUp()
1197 SlotIndex DefBeforeOldIdx in handleMoveUp()
1204 if (OldIdxOut == E || !SlotIndex::isSameInstr(OldIdx, OldIdxOut->start)) in handleMoveUp()
1213 assert(OldIdxOut != E && SlotIndex::isSameInstr(OldIdx, OldIdxOut->start) && in handleMoveUp()
1220 SlotIndex NewIdxDef = NewIdx.getRegSlot(OldIdxOut->start.isEarlyClobber()); in handleMoveUp()
1222 if (SlotIndex::isSameInstr(NewIdxOut->start, NewIdx)) { in handleMoveUp()
1242 SlotIndex::isEarlierInstr(NewIdxDef, OldIdxIn->start)) { in handleMoveUp()
1246 const SlotIndex SplitPos = NewIdxDef; in handleMoveUp()
1260 if (SlotIndex::isEarlierInstr(Next->start, NewIdx)) { in handleMoveUp()
1276 if (OldIdxIn != E && SlotIndex::isEarlierInstr(NewIdx, OldIdxIn->end)) in handleMoveUp()
1297 SmallVectorImpl<SlotIndex>::iterator RI = in updateRegMaskSlots()
1304 SlotIndex::isEarlierInstr(*std::prev(RI), *RI)) && in updateRegMaskSlots()
1307 SlotIndex::isEarlierInstr(*RI, *std::next(RI))) && in updateRegMaskSlots()
1312 SlotIndex findLastUseBefore(SlotIndex Before, unsigned Reg, in findLastUseBefore()
1315 SlotIndex LastUse = Before; in findLastUseBefore()
1325 SlotIndex InstSlot = LIS.getSlotIndexes()->getInstructionIndex(MI); in findLastUseBefore()
1350 SlotIndex Idx = Indexes->getInstructionIndex(*MII); in findLastUseBefore()
1353 if (!SlotIndex::isEarlierInstr(Before, Idx)) in findLastUseBefore()
1370 SlotIndex OldIndex = Indexes->getInstructionIndex(MI); in handleMove()
1372 SlotIndex NewIndex = Indexes->insertMachineInstrInMaps(MI); in handleMove()
1384 SlotIndex OldIndex = Indexes->getInstructionIndex(MI); in handleMoveIntoBundle()
1385 SlotIndex NewIndex = Indexes->getInstructionIndex(BundleStart); in handleMoveIntoBundle()
1392 const SlotIndex endIdx, in repairOldRegInRange()
1396 SlotIndex lastUseIdx; in repairOldRegInRange()
1408 SlotIndex instrIdx = getInstructionIndex(MI); in repairOldRegInRange()
1429 SlotIndex prevStart; in repairOldRegInRange()
1446 lastUseIdx = SlotIndex(); in repairOldRegInRange()
1465 lastUseIdx = SlotIndex(); in repairOldRegInRange()
1491 SlotIndex endIdx; in repairIntervalsInRange()
1532 void LiveIntervals::removePhysRegDefAt(unsigned Reg, SlotIndex Pos) { in removePhysRegDefAt()
1540 void LiveIntervals::removeVRegDefAt(LiveInterval &LI, SlotIndex Pos) { in removeVRegDefAt()