Lines Matching defs:LIS

252   // use mask has been tracked before using LIS.
260 const MachineInstr &MI, const LiveIntervals &LIS,
285 auto &LI = LIS.getInterval(P.RegUnit);
289 // For a tentative schedule LIS isn't updated yet but livemask should
293 InstrSI = LIS.getInstructionIndex(MI).getBaseIndex();
301 const LiveIntervals &LIS, const MachineRegisterInfo &MRI,
306 const LiveInterval &LI = LIS.getInterval(RegUnit);
321 const LiveRange *LR = LIS.getCachedRegUnit(RegUnit);
335 const LiveIntervals *LIS,
341 SlotIndex InstSlot = LIS->getInstructionIndex(*MI).getRegSlot();
360 const LiveIntervals &LIS,
363 return getLiveLaneMask(LIS.getInterval(Reg), SI, MRI, LaneMaskFilter);
384 const LiveIntervals &LIS,
389 if (!LIS.hasInterval(Reg))
391 auto LiveMask = getLiveLaneMask(Reg, SI, LIS, MRI);
407 LiveRegs = After ? getLiveRegsAfter(MI, LIS)
408 : getLiveRegsBefore(MI, LIS);
426 LIS, *MRI, true, RegUnit, Pos.getBaseIndex(), LaneBitmask::getNone(),
481 collectVirtualRegUses(RegUses, MI, LIS, *MRI);
525 ? LIS.getInstructionIndex(*LastTrackedMI).getDeadSlot()
526 : LIS.getInstructionIndex(*NextMI).getBaseIndex();
528 SI = LIS.getInstructionIndex(*MI).getBaseIndex();
545 const LiveInterval &LI = LIS.getInterval(MO.getReg());
637 << " isn't found in LIS reported set\n";
640 << " masks doesn't match: LIS reported " << PrintLaneMask(I->second)
660 SlotIdx = LIS.getInstructionIndex(*MI).getRegSlot();
665 RegOpers.adjustLaneLiveness(LIS, *MRI, SlotIdx);
685 CurrIdx = LIS.getMBBEndIdx(MBB);
687 CurrIdx = LIS.getInstructionIndex(*IdxPos).getRegSlot();
691 findUseBetween(Reg, LastUseMask, CurrIdx, SlotIdx, *MRI, TRI, &LIS);
716 const auto &SI = LIS.getInstructionIndex(*LastTrackedMI).getBaseIndex();
717 const auto LISLR = llvm::getLiveRegs(SI, LIS, *MRI);
722 " LIS reported livesets mismatch:\n"
731 << print(CurPressure) << "LIS rpt: " << print(LISPressure);
767 getRegLiveThroughMask(const MachineRegisterInfo &MRI, const LiveIntervals &LIS,
777 const LiveInterval &LI = LIS.getInterval(Reg);
795 const LiveIntervals &LIS = getAnalysis<LiveIntervalsWrapperPass>().getLIS();
814 OS << PFX " mis LIS: " << llvm::print(LISLR, MRI)
830 SlotIndex MBBStartSlot = LIS.getSlotIndexes()->getMBBStartIdx(&MBB);
831 SlotIndex MBBEndSlot = LIS.getSlotIndexes()->getMBBEndIdx(&MBB);
838 LiveIn = LiveOut = getLiveRegs(MBBStartSlot, LIS, MRI);
841 GCNDownwardRPTracker RPT(LIS);
856 GCNUpwardRPTracker RPT(LIS);
874 ReportLISMismatchIfAny(LiveIn, getLiveRegs(MBBStartSlot, LIS, MRI));
892 ReportLISMismatchIfAny(LiveOut, getLiveRegs(MBBEndSlot, LIS, MRI));
899 MRI, LIS, Reg, MBBStartSlot, MBBEndSlot, MaskIntersection);