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