Lines Matching refs:SlotIndex
48 SlotIndex
52 std::pair<SlotIndex, SlotIndex> &LIP = LastInsertPoint[Num]; in computeLastInsertPoint()
53 SlotIndex MBBEnd = LIS.getMBBEndIdx(&MBB); in computeLastInsertPoint()
103 if (!SlotIndex::isEarlierInstr(VNI->def, LIP.second) && VNI->def < MBBEnd) in computeLastInsertPoint()
114 SlotIndex LIP = getLastInsertPoint(CurLI, MBB); in getLastInsertPointIter()
159 SlotIndex::isSameInstr), in analyzeUses()
195 SmallVectorImpl<SlotIndex>::const_iterator UseI, UseE; in calcLiveBlockInfo()
205 SlotIndex Start, Stop; in calcLiveBlockInfo()
240 SlotIndex LastStop = LVI->end; in calcLiveBlockInfo()
302 SlotIndex Stop = LIS.getMBBEndIdx(&*MFI); in countLiveBlocks()
315 bool SplitAnalysis::isOriginalEndpoint(SlotIndex Idx) const { in isOriginalEndpoint()
386 SlotIndex Idx) { in defValue()
407 SlotIndex Def = OldVNI->def; in defValue()
414 SlotIndex Def = VNI->def; in defValue()
434 SlotIndex Def = VNI->def; in forceRecompute()
443 SlotIndex UseIdx, in defFromParent()
447 SlotIndex Def; in defFromParent()
497 SlotIndex SplitEditor::enterIntvBefore(SlotIndex Idx) { in enterIntvBefore()
514 SlotIndex SplitEditor::enterIntvAfter(SlotIndex Idx) { in enterIntvAfter()
532 SlotIndex SplitEditor::enterIntvAtEnd(MachineBasicBlock &MBB) { in enterIntvAtEnd()
534 SlotIndex End = LIS.getMBBEndIdx(&MBB); in enterIntvAtEnd()
535 SlotIndex Last = End.getPrevSlot(); in enterIntvAtEnd()
555 void SplitEditor::useIntv(SlotIndex Start, SlotIndex End) { in useIntv()
562 SlotIndex SplitEditor::leaveIntvAfter(SlotIndex Idx) { in leaveIntvAfter()
567 SlotIndex Boundary = Idx.getBoundaryIndex(); in leaveIntvAfter()
581 if (SpillMode && !SlotIndex::isSameInstr(ParentVNI->def, Idx) && in leaveIntvAfter()
593 SlotIndex SplitEditor::leaveIntvBefore(SlotIndex Idx) { in leaveIntvBefore()
612 SlotIndex SplitEditor::leaveIntvAtTop(MachineBasicBlock &MBB) { in leaveIntvAtTop()
614 SlotIndex Start = LIS.getMBBStartIdx(&MBB); in leaveIntvAtTop()
630 void SplitEditor::overlapIntv(SlotIndex Start, SlotIndex End) { in overlapIntv()
657 SlotIndex Def = Copies[i]->def; in removeBackCopies()
685 SlotIndex Kill = LIS.getInstructionIndex(*MBBI).getRegSlot(); in removeBackCopies()
808 typedef std::pair<MachineBasicBlock*, SlotIndex> DomPair; in hoistCopies()
864 Dom = DomPair(Near, SlotIndex()); in hoistCopies()
889 SlotIndex Last = LIS.getMBBEndIdx(Dom.first).getPrevSlot(); in hoistCopies()
928 SlotIndex Start = S.start; in transferValues()
932 SlotIndex End = S.end; in transferValues()
973 SlotIndex BlockStart, BlockEnd; in transferValues()
1049 SlotIndex End = LIS.getMBBEndIdx(*PI); in extendPHIKillRanges()
1050 SlotIndex LastUse = End.getPrevSlot(); in extendPHIKillRanges()
1079 SlotIndex Idx = LIS.getInstructionIndex(*MI); in rewriteAssigned()
1245 SlotIndex LastSplitPoint = SA.getLastSplitPoint(BI.MBB->getNumber()); in splitSingleBlock()
1246 SlotIndex SegStart = enterIntvBefore(std::min(BI.FirstInstr, in splitSingleBlock()
1252 SlotIndex SegStop = leaveIntvBefore(LastSplitPoint); in splitSingleBlock()
1271 unsigned IntvIn, SlotIndex LeaveBefore, in splitLiveThroughBlock()
1272 unsigned IntvOut, SlotIndex EnterAfter){ in splitLiveThroughBlock()
1273 SlotIndex Start, Stop; in splitLiveThroughBlock()
1296 SlotIndex Idx = leaveIntvAtTop(*MBB); in splitLiveThroughBlock()
1310 SlotIndex Idx = enterIntvAtEnd(*MBB); in splitLiveThroughBlock()
1328 SlotIndex LSP = SA.getLastSplitPoint(MBBNum); in splitLiveThroughBlock()
1340 SlotIndex Idx; in splitLiveThroughBlock()
1363 SlotIndex Idx = enterIntvAfter(EnterAfter); in splitLiveThroughBlock()
1375 unsigned IntvIn, SlotIndex LeaveBefore) { in splitRegInBlock()
1376 SlotIndex Start, Stop; in splitRegInBlock()
1400 SlotIndex LSP = SA.getLastSplitPoint(BI.MBB->getNumber()); in splitRegInBlock()
1416 SlotIndex Idx = leaveIntvAfter(BI.LastInstr); in splitRegInBlock()
1422 SlotIndex Idx = leaveIntvBefore(LSP); in splitRegInBlock()
1443 SlotIndex To = leaveIntvAfter(BI.LastInstr); in splitRegInBlock()
1444 SlotIndex From = enterIntvBefore(LeaveBefore); in splitRegInBlock()
1457 SlotIndex To = leaveIntvBefore(LSP); in splitRegInBlock()
1459 SlotIndex From = enterIntvBefore(std::min(To, LeaveBefore)); in splitRegInBlock()
1467 unsigned IntvOut, SlotIndex EnterAfter) { in splitRegOutBlock()
1468 SlotIndex Start, Stop; in splitRegOutBlock()
1476 SlotIndex LSP = SA.getLastSplitPoint(BI.MBB->getNumber()); in splitRegOutBlock()
1502 SlotIndex Idx = enterIntvBefore(std::min(LSP, BI.FirstInstr)); in splitRegOutBlock()
1518 SlotIndex Idx = enterIntvAfter(EnterAfter); in splitRegOutBlock()
1523 SlotIndex From = enterIntvBefore(std::min(Idx, BI.FirstInstr)); in splitRegOutBlock()