Lines Matching refs:SlotIndex
62 SlotIndex
66 std::pair<SlotIndex, SlotIndex> &LIP = LastInsertPoint[Num]; in computeLastInsertPoint()
67 SlotIndex MBBEnd = LIS.getMBBEndIdx(&MBB); in computeLastInsertPoint()
122 if (SlotIndex::isSameInstr(VNI->def, LIP.second)) in computeLastInsertPoint()
131 if (!SlotIndex::isEarlierInstr(VNI->def, LIP.second) && VNI->def < MBBEnd) in computeLastInsertPoint()
142 SlotIndex LIP = getLastInsertPoint(CurLI, MBB); in getLastInsertPointIter()
185 SlotIndex::isSameInstr), in analyzeUses()
207 SmallVectorImpl<SlotIndex>::const_iterator UseI, UseE; in calcLiveBlockInfo()
217 SlotIndex Start, Stop; in calcLiveBlockInfo()
251 SlotIndex LastStop = LVI->end; in calcLiveBlockInfo()
312 SlotIndex Stop = LIS.getMBBEndIdx(&*MFI); in countLiveBlocks()
325 bool SplitAnalysis::isOriginalEndpoint(SlotIndex Idx) const { in isOriginalEndpoint()
427 SlotIndex Def = VNI->def; in addDeadDef()
464 SlotIndex Idx, in defValue()
518 SlotIndex SplitEditor::buildSingleSubRegCopy(Register FromReg, Register ToReg, in buildSingleSubRegCopy()
520 unsigned SubIdx, LiveInterval &DestLI, bool Late, SlotIndex Def) { in buildSingleSubRegCopy()
537 SlotIndex SplitEditor::buildCopy(Register FromReg, Register ToReg, in buildCopy()
565 SlotIndex Def; in buildCopy()
583 SlotIndex UseIdx, MachineBasicBlock &MBB, in defFromParent()
585 SlotIndex Def; in defFromParent()
654 SlotIndex SplitEditor::enterIntvBefore(SlotIndex Idx) { in enterIntvBefore()
671 SlotIndex SplitEditor::enterIntvAfter(SlotIndex Idx) { in enterIntvAfter()
689 SlotIndex SplitEditor::enterIntvAtEnd(MachineBasicBlock &MBB) { in enterIntvAtEnd()
691 SlotIndex End = LIS.getMBBEndIdx(&MBB); in enterIntvAtEnd()
692 SlotIndex Last = End.getPrevSlot(); in enterIntvAtEnd()
700 SlotIndex LSP = SA.getLastSplitPoint(&MBB); in enterIntvAtEnd()
730 void SplitEditor::useIntv(SlotIndex Start, SlotIndex End) { in useIntv()
737 SlotIndex SplitEditor::leaveIntvAfter(SlotIndex Idx) { in leaveIntvAfter()
742 SlotIndex Boundary = Idx.getBoundaryIndex(); in leaveIntvAfter()
756 if (SpillMode && !SlotIndex::isSameInstr(ParentVNI->def, Idx) && in leaveIntvAfter()
768 SlotIndex SplitEditor::leaveIntvBefore(SlotIndex Idx) { in leaveIntvBefore()
787 SlotIndex SplitEditor::leaveIntvAtTop(MachineBasicBlock &MBB) { in leaveIntvAtTop()
789 SlotIndex Start = LIS.getMBBStartIdx(&MBB); in leaveIntvAtTop()
812 void SplitEditor::overlapIntv(SlotIndex Start, SlotIndex End) { in overlapIntv()
849 SlotIndex Def = C->def; in removeBackCopies()
877 SlotIndex Kill = in removeBackCopies()
878 AtBegin ? SlotIndex() : LIS.getInstructionIndex(*MBBI).getRegSlot(); in removeBackCopies()
1008 using DomPair = std::pair<MachineBasicBlock *, SlotIndex>; in hoistCopies()
1064 Dom = DomPair(Near, SlotIndex()); in hoistCopies()
1090 SlotIndex LSP = SA.getLastSplitPoint(Dom.first); in hoistCopies()
1131 SlotIndex Start = S.start; in transferValues()
1135 SlotIndex End = S.end; in transferValues()
1177 SlotIndex BlockStart, BlockEnd; in transferValues()
1232 static bool removeDeadSegment(SlotIndex Def, LiveRange &LR) { in removeDeadSegment()
1245 ArrayRef<SlotIndex> Undefs) { in extendPHIRange()
1247 SlotIndex End = LIS.getMBBEndIdx(P); in extendPHIRange()
1248 SlotIndex LastUse = End.getPrevSlot(); in extendPHIRange()
1281 SmallVector<SlotIndex, 4> Undefs; in extendPHIKillRanges()
1307 ExtPoint(const MachineOperand &O, unsigned R, SlotIndex N) in rewriteAssigned()
1312 SlotIndex Next; in rewriteAssigned()
1330 SlotIndex Idx = LIS.getInstructionIndex(*MI); in rewriteAssigned()
1378 SlotIndex Next = Idx; in rewriteAssigned()
1388 LIC.extend(LI, Next, 0, ArrayRef<SlotIndex>()); in rewriteAssigned()
1412 SmallVector<SlotIndex, 4> Undefs; in rewriteAssigned()
1482 SlotIndex PredEnd = Indexes.getMBBEndIdx(Pred); in forceRecomputeVNI()
1596 SlotIndex LastSplitPoint = SA.getLastSplitPoint(BI.MBB); in splitSingleBlock()
1597 SlotIndex SegStart = enterIntvBefore(std::min(BI.FirstInstr, in splitSingleBlock()
1603 SlotIndex SegStop = leaveIntvBefore(LastSplitPoint); in splitSingleBlock()
1621 unsigned IntvIn, SlotIndex LeaveBefore, in splitLiveThroughBlock()
1622 unsigned IntvOut, SlotIndex EnterAfter){ in splitLiveThroughBlock()
1623 SlotIndex Start, Stop; in splitLiveThroughBlock()
1646 SlotIndex Idx = leaveIntvAtTop(*MBB); in splitLiveThroughBlock()
1660 SlotIndex Idx = enterIntvAtEnd(*MBB); in splitLiveThroughBlock()
1678 SlotIndex LSP = SA.getLastSplitPoint(MBBNum); in splitLiveThroughBlock()
1690 SlotIndex Idx; in splitLiveThroughBlock()
1713 SlotIndex Idx = enterIntvAfter(EnterAfter); in splitLiveThroughBlock()
1724 unsigned IntvIn, SlotIndex LeaveBefore) { in splitRegInBlock()
1725 SlotIndex Start, Stop; in splitRegInBlock()
1750 SlotIndex LSP = SA.getLastSplitPoint(BI.MBB); in splitRegInBlock()
1766 SlotIndex Idx = leaveIntvAfter(BI.LastInstr); in splitRegInBlock()
1772 SlotIndex Idx = leaveIntvBefore(LSP); in splitRegInBlock()
1793 SlotIndex To = leaveIntvAfter(BI.LastInstr); in splitRegInBlock()
1794 SlotIndex From = enterIntvBefore(LeaveBefore); in splitRegInBlock()
1807 SlotIndex To = leaveIntvBefore(LSP); in splitRegInBlock()
1809 SlotIndex From = enterIntvBefore(std::min(To, LeaveBefore)); in splitRegInBlock()
1817 unsigned IntvOut, SlotIndex EnterAfter) { in splitRegOutBlock()
1818 SlotIndex Start, Stop; in splitRegOutBlock()
1827 SlotIndex LSP = SA.getLastSplitPoint(BI.MBB); in splitRegOutBlock()
1853 SlotIndex Idx = enterIntvBefore(std::min(LSP, BI.FirstInstr)); in splitRegOutBlock()
1869 SlotIndex Idx = enterIntvAfter(EnterAfter); in splitRegOutBlock()
1874 SlotIndex From = enterIntvBefore(std::min(Idx, BI.FirstInstr)); in splitRegOutBlock()