Lines Matching defs:LR

316   void report_context(const LiveRange &LR, VirtRegOrUnit VRegOrUnit,
322 void report_context_liverange(const LiveRange &LR) const;
331 SlotIndex UseIdx, const LiveRange &LR,
335 SlotIndex DefIdx, const LiveRange &LR,
639 void MachineVerifier::report_context(const LiveRange &LR,
642 report_context_liverange(LR);
656 void MachineVerifier::report_context_liverange(const LiveRange &LR) const {
657 OS << "- liverange: " << LR << '\n';
2842 const LiveRange &LR,
2847 if (!LR.verify()) {
2849 report_context_liverange(LR);
2855 LiveQueryResult LRQ = LR.Query(UseIdx);
2861 report_context_liverange(LR);
2867 report_context_liverange(LR);
2877 const LiveRange &LR,
2881 if (!LR.verify()) {
2883 report_context_liverange(LR);
2890 if (const VNInfo *VNI = LR.getVNInfoAt(DefIdx)) {
2891 // The LR can correspond to the whole reg and its def slot is not obliged
2904 report_context_liverange(LR);
2913 report_context_liverange(LR);
2921 LiveQueryResult LRQ = LR.Query(DefIdx);
2931 report_context_liverange(LR);
2987 if (const LiveRange *LR = LiveInts->getCachedRegUnit(Unit))
2988 checkLivenessAtUse(MO, MONum, UseIdx, *LR, VirtRegOrUnit(Unit));
3548 if (const LiveRange *LR = LiveInts->getCachedRegUnit(i))
3549 verifyLiveRange(*LR, VirtRegOrUnit(i));
3552 void MachineVerifier::verifyLiveRangeValue(const LiveRange &LR,
3559 const VNInfo *DefVNI = LR.getVNInfoAt(VNI->def);
3563 report_context(LR, VRegOrUnit, LaneMask);
3570 report_context(LR, VRegOrUnit, LaneMask);
3578 report_context(LR, VRegOrUnit, LaneMask);
3586 report_context(LR, VRegOrUnit, LaneMask);
3596 report_context(LR, VRegOrUnit, LaneMask);
3624 report_context(LR, VRegOrUnit, LaneMask);
3633 report_context(LR, VRegOrUnit, LaneMask);
3638 report_context(LR, VRegOrUnit, LaneMask);
3643 void MachineVerifier::verifyLiveRangeSegment(const LiveRange &LR,
3651 if (VNI->id >= LR.getNumValNums() || VNI != LR.getValNumInfo(VNI->id)) {
3653 report_context(LR, VRegOrUnit, LaneMask);
3660 report_context(LR, VRegOrUnit, LaneMask);
3667 report_context(LR, VRegOrUnit, LaneMask);
3674 report_context(LR, VRegOrUnit, LaneMask);
3682 report_context(LR, VRegOrUnit, LaneMask);
3699 report_context(LR, VRegOrUnit, LaneMask);
3707 report_context(LR, VRegOrUnit, LaneMask);
3716 report_context(LR, VRegOrUnit, LaneMask);
3728 if (I + 1 == LR.end() || (I + 1)->start != S.end) {
3732 report_context(LR, VRegOrUnit, LaneMask);
3775 report_context(LR, VRegOrUnit, LaneMask);
3786 report_context(LR, VRegOrUnit, LaneMask);
3812 assert(LiveInts->isLiveInToMBB(LR, &*MFI));
3837 const VNInfo *PVNI = LR.getVNInfoBefore(PEnd);
3847 report_context(LR, VRegOrUnit, LaneMask);
3858 report_context(LR, VRegOrUnit, LaneMask);
3871 void MachineVerifier::verifyLiveRange(const LiveRange &LR,
3874 for (const VNInfo *VNI : LR.valnos)
3875 verifyLiveRangeValue(LR, VNI, VRegOrUnit, LaneMask);
3877 for (LiveRange::const_iterator I = LR.begin(), E = LR.end(); I != E; ++I)
3878 verifyLiveRangeSegment(LR, I, VRegOrUnit, LaneMask);