Lines Matching refs:SlotIndex

66 SlotIndex
70 std::pair<SlotIndex, SlotIndex> &LIP = LastInsertPoint[Num]; in computeLastInsertPoint()
71 SlotIndex MBBEnd = LIS.getMBBEndIdx(&MBB); in computeLastInsertPoint()
126 if (SlotIndex::isSameInstr(VNI->def, LIP.second)) in computeLastInsertPoint()
134 if (!SlotIndex::isEarlierInstr(VNI->def, LIP.second) && VNI->def < MBBEnd) in computeLastInsertPoint()
145 SlotIndex LIP = getLastInsertPoint(CurLI, MBB); in getLastInsertPointIter()
187 UseSlots.erase(llvm::unique(UseSlots, SlotIndex::isSameInstr), in analyzeUses()
209 SmallVectorImpl<SlotIndex>::const_iterator UseI, UseE; in calcLiveBlockInfo()
219 SlotIndex Start, Stop; in calcLiveBlockInfo()
253 SlotIndex LastStop = LVI->end; in calcLiveBlockInfo()
321 SlotIndex Stop = LIS.getMBBEndIdx(&*MFI); in countLiveBlocks()
334 bool SplitAnalysis::isOriginalEndpoint(SlotIndex Idx) const { in isOriginalEndpoint()
436 SlotIndex Def = VNI->def; in addDeadDef()
473 SlotIndex Idx, in defValue()
527 SlotIndex SplitEditor::buildSingleSubRegCopy( in buildSingleSubRegCopy()
530 LiveInterval &DestLI, bool Late, SlotIndex Def, const MCInstrDesc &Desc) { in buildSingleSubRegCopy()
546 SlotIndex SplitEditor::buildCopy(Register FromReg, Register ToReg, in buildCopy()
575 SlotIndex Def; in buildCopy()
593 SlotIndex UseIdx, MachineBasicBlock &MBB, in defFromParent()
595 SlotIndex Def; in defFromParent()
664 SlotIndex SplitEditor::enterIntvBefore(SlotIndex Idx) { in enterIntvBefore()
681 SlotIndex SplitEditor::enterIntvAfter(SlotIndex Idx) { in enterIntvAfter()
699 SlotIndex SplitEditor::enterIntvAtEnd(MachineBasicBlock &MBB) { in enterIntvAtEnd()
701 SlotIndex End = LIS.getMBBEndIdx(&MBB); in enterIntvAtEnd()
702 SlotIndex Last = End.getPrevSlot(); in enterIntvAtEnd()
710 SlotIndex LSP = SA.getLastSplitPoint(&MBB); in enterIntvAtEnd()
740 void SplitEditor::useIntv(SlotIndex Start, SlotIndex End) { in useIntv()
747 SlotIndex SplitEditor::leaveIntvAfter(SlotIndex Idx) { in leaveIntvAfter()
752 SlotIndex Boundary = Idx.getBoundaryIndex(); in leaveIntvAfter()
766 if (SpillMode && !SlotIndex::isSameInstr(ParentVNI->def, Idx) && in leaveIntvAfter()
778 SlotIndex SplitEditor::leaveIntvBefore(SlotIndex Idx) { in leaveIntvBefore()
797 SlotIndex SplitEditor::leaveIntvAtTop(MachineBasicBlock &MBB) { in leaveIntvAtTop()
799 SlotIndex Start = LIS.getMBBStartIdx(&MBB); in leaveIntvAtTop()
824 void SplitEditor::overlapIntv(SlotIndex Start, SlotIndex End) { in overlapIntv()
861 SlotIndex Def = C->def; in removeBackCopies()
889 SlotIndex Kill = in removeBackCopies()
890 AtBegin ? SlotIndex() : LIS.getInstructionIndex(*MBBI).getRegSlot(); in removeBackCopies()
1020 using DomPair = std::pair<MachineBasicBlock *, SlotIndex>; in hoistCopies()
1076 Dom = DomPair(Near, SlotIndex()); in hoistCopies()
1102 SlotIndex LSP = SA.getLastSplitPoint(Dom.first); in hoistCopies()
1143 SlotIndex Start = S.start; in transferValues()
1147 SlotIndex End = S.end; in transferValues()
1189 SlotIndex BlockStart, BlockEnd; in transferValues()
1244 static bool removeDeadSegment(SlotIndex Def, LiveRange &LR) { in removeDeadSegment()
1257 ArrayRef<SlotIndex> Undefs) { in extendPHIRange()
1259 SlotIndex End = LIS.getMBBEndIdx(P); in extendPHIRange()
1260 SlotIndex LastUse = End.getPrevSlot(); in extendPHIRange()
1293 SmallVector<SlotIndex, 4> Undefs; in extendPHIKillRanges()
1319 ExtPoint(const MachineOperand &O, unsigned R, SlotIndex N) in rewriteAssigned()
1324 SlotIndex Next; in rewriteAssigned()
1342 SlotIndex Idx = LIS.getInstructionIndex(*MI); in rewriteAssigned()
1390 SlotIndex Next = Idx; in rewriteAssigned()
1400 LIC.extend(LI, Next, 0, ArrayRef<SlotIndex>()); in rewriteAssigned()
1424 SmallVector<SlotIndex, 4> Undefs; in rewriteAssigned()
1494 SlotIndex PredEnd = Indexes.getMBBEndIdx(Pred); in forceRecomputeVNI()
1610 SlotIndex LastSplitPoint = SA.getLastSplitPoint(BI.MBB); in splitSingleBlock()
1611 SlotIndex SegStart = enterIntvBefore(std::min(BI.FirstInstr, in splitSingleBlock()
1617 SlotIndex SegStop = leaveIntvBefore(LastSplitPoint); in splitSingleBlock()
1635 unsigned IntvIn, SlotIndex LeaveBefore, in splitLiveThroughBlock()
1636 unsigned IntvOut, SlotIndex EnterAfter){ in splitLiveThroughBlock()
1637 SlotIndex Start, Stop; in splitLiveThroughBlock()
1660 SlotIndex Idx = leaveIntvAtTop(*MBB); in splitLiveThroughBlock()
1674 SlotIndex Idx = enterIntvAtEnd(*MBB); in splitLiveThroughBlock()
1692 SlotIndex LSP = SA.getLastSplitPoint(MBBNum); in splitLiveThroughBlock()
1704 SlotIndex Idx; in splitLiveThroughBlock()
1727 SlotIndex Idx = enterIntvAfter(EnterAfter); in splitLiveThroughBlock()
1738 unsigned IntvIn, SlotIndex LeaveBefore) { in splitRegInBlock()
1739 SlotIndex Start, Stop; in splitRegInBlock()
1764 SlotIndex LSP = SA.getLastSplitPoint(BI.MBB); in splitRegInBlock()
1780 SlotIndex Idx = leaveIntvAfter(BI.LastInstr); in splitRegInBlock()
1786 SlotIndex Idx = leaveIntvBefore(LSP); in splitRegInBlock()
1807 SlotIndex To = leaveIntvAfter(BI.LastInstr); in splitRegInBlock()
1808 SlotIndex From = enterIntvBefore(LeaveBefore); in splitRegInBlock()
1821 SlotIndex To = leaveIntvBefore(LSP); in splitRegInBlock()
1823 SlotIndex From = enterIntvBefore(std::min(To, LeaveBefore)); in splitRegInBlock()
1831 unsigned IntvOut, SlotIndex EnterAfter) { in splitRegOutBlock()
1832 SlotIndex Start, Stop; in splitRegOutBlock()
1841 SlotIndex LSP = SA.getLastSplitPoint(BI.MBB); in splitRegOutBlock()
1867 SlotIndex Idx = enterIntvBefore(std::min(LSP, BI.FirstInstr)); in splitRegOutBlock()
1883 SlotIndex Idx = enterIntvAfter(EnterAfter); in splitRegOutBlock()
1888 SlotIndex From = enterIntvBefore(std::min(Idx, BI.FirstInstr)); in splitRegOutBlock()