Lines Matching defs:LR
265 void report_context(const LiveRange &LR, Register VRegUnit,
271 void report_context_liverange(const LiveRange &LR) const;
280 SlotIndex UseIdx, const LiveRange &LR,
284 SlotIndex DefIdx, const LiveRange &LR,
597 void MachineVerifier::report_context(const LiveRange &LR, Register VRegUnit,
599 report_context_liverange(LR);
613 void MachineVerifier::report_context_liverange(const LiveRange &LR) const {
614 errs() << "- liverange: " << LR << '\n';
2714 const LiveRange &LR,
2718 LiveQueryResult LRQ = LR.Query(UseIdx);
2724 report_context_liverange(LR);
2730 report_context_liverange(LR);
2740 const LiveRange &LR,
2744 if (const VNInfo *VNI = LR.getVNInfoAt(DefIdx)) {
2745 // The LR can correspond to the whole reg and its def slot is not obliged
2758 report_context_liverange(LR);
2767 report_context_liverange(LR);
2775 LiveQueryResult LRQ = LR.Query(DefIdx);
2785 report_context_liverange(LR);
2841 if (const LiveRange *LR = LiveInts->getCachedRegUnit(Unit))
2842 checkLivenessAtUse(MO, MONum, UseIdx, *LR, Unit);
3396 if (const LiveRange *LR = LiveInts->getCachedRegUnit(i))
3397 verifyLiveRange(*LR, i);
3400 void MachineVerifier::verifyLiveRangeValue(const LiveRange &LR,
3406 const VNInfo *DefVNI = LR.getVNInfoAt(VNI->def);
3410 report_context(LR, Reg, LaneMask);
3417 report_context(LR, Reg, LaneMask);
3425 report_context(LR, Reg, LaneMask);
3433 report_context(LR, Reg, LaneMask);
3443 report_context(LR, Reg, LaneMask);
3471 report_context(LR, Reg, LaneMask);
3480 report_context(LR, Reg, LaneMask);
3485 report_context(LR, Reg, LaneMask);
3491 void MachineVerifier::verifyLiveRangeSegment(const LiveRange &LR,
3499 if (VNI->id >= LR.getNumValNums() || VNI != LR.getValNumInfo(VNI->id)) {
3501 report_context(LR, Reg, LaneMask);
3508 report_context(LR, Reg, LaneMask);
3515 report_context(LR, Reg, LaneMask);
3522 report_context(LR, Reg, LaneMask);
3530 report_context(LR, Reg, LaneMask);
3547 report_context(LR, Reg, LaneMask);
3555 report_context(LR, Reg, LaneMask);
3564 report_context(LR, Reg, LaneMask);
3576 if (I + 1 == LR.end() || (I + 1)->start != S.end) {
3580 report_context(LR, Reg, LaneMask);
3623 report_context(LR, Reg, LaneMask);
3634 report_context(LR, Reg, LaneMask);
3660 assert(LiveInts->isLiveInToMBB(LR, &*MFI));
3685 const VNInfo *PVNI = LR.getVNInfoBefore(PEnd);
3695 report_context(LR, Reg, LaneMask);
3706 report_context(LR, Reg, LaneMask);
3719 void MachineVerifier::verifyLiveRange(const LiveRange &LR, Register Reg,
3721 for (const VNInfo *VNI : LR.valnos)
3722 verifyLiveRangeValue(LR, VNI, Reg, LaneMask);
3724 for (LiveRange::const_iterator I = LR.begin(), E = LR.end(); I != E; ++I)
3725 verifyLiveRangeSegment(LR, I, Reg, LaneMask);