Lines Matching refs:VNI
268 void report_context(const VNInfo &VNI) const;
609 void MachineVerifier::report_context(const VNInfo &VNI) const { in report_context()
610 errs() << "- ValNo: " << VNI.id << " (def " << VNI.def << ")\n"; in report_context()
2744 if (const VNInfo *VNI = LR.getVNInfoAt(DefIdx)) { in checkLivenessAtDef() local
2753 if (((SubRangeCheck || MO->getSubReg() == 0) && VNI->def != DefIdx) || in checkLivenessAtDef()
2754 !SlotIndex::isSameInstr(VNI->def, DefIdx) || in checkLivenessAtDef()
2755 (VNI->def != DefIdx && in checkLivenessAtDef()
2756 (!VNI->def.isEarlyClobber() || !DefIdx.isRegister()))) { in checkLivenessAtDef()
2762 report_context(*VNI); in checkLivenessAtDef()
3401 const VNInfo *VNI, Register Reg, in verifyLiveRangeValue() argument
3403 if (VNI->isUnused()) in verifyLiveRangeValue()
3406 const VNInfo *DefVNI = LR.getVNInfoAt(VNI->def); in verifyLiveRangeValue()
3411 report_context(*VNI); in verifyLiveRangeValue()
3415 if (DefVNI != VNI) { in verifyLiveRangeValue()
3418 report_context(*VNI); in verifyLiveRangeValue()
3422 const MachineBasicBlock *MBB = LiveInts->getMBBFromIndex(VNI->def); in verifyLiveRangeValue()
3426 report_context(*VNI); in verifyLiveRangeValue()
3430 if (VNI->isPHIDef()) { in verifyLiveRangeValue()
3431 if (VNI->def != LiveInts->getMBBStartIdx(MBB)) { in verifyLiveRangeValue()
3434 report_context(*VNI); in verifyLiveRangeValue()
3440 const MachineInstr *MI = LiveInts->getInstructionFromIndex(VNI->def); in verifyLiveRangeValue()
3444 report_context(*VNI); in verifyLiveRangeValue()
3472 report_context(*VNI); in verifyLiveRangeValue()
3478 if (!VNI->def.isEarlyClobber()) { in verifyLiveRangeValue()
3481 report_context(*VNI); in verifyLiveRangeValue()
3483 } else if (!VNI->def.isRegister()) { in verifyLiveRangeValue()
3486 report_context(*VNI); in verifyLiveRangeValue()
3496 const VNInfo *VNI = S.valno; in verifyLiveRangeSegment() local
3497 assert(VNI && "Live segment has no valno"); in verifyLiveRangeSegment()
3499 if (VNI->id >= LR.getNumValNums() || VNI != LR.getValNumInfo(VNI->id)) { in verifyLiveRangeSegment()
3503 report_context(*VNI); in verifyLiveRangeSegment()
3506 if (VNI->isUnused()) { in verifyLiveRangeSegment()
3520 if (S.start != MBBStartIdx && S.start != VNI->def) { in verifyLiveRangeSegment()
3538 if (!Reg.isVirtual() && VNI->isPHIDef() && S.start == VNI->def && in verifyLiveRangeSegment()
3539 S.end == VNI->def.getDeadSlot()) in verifyLiveRangeSegment()
3645 if (S.start == VNI->def && !VNI->isPHIDef()) { in verifyLiveRangeSegment()
3670 bool IsPHI = VNI->isPHIDef() && in verifyLiveRangeSegment()
3671 VNI->def == LiveInts->getMBBStartIdx(&*MFI); in verifyLiveRangeSegment()
3696 report_context(*VNI); in verifyLiveRangeSegment()
3704 if (!IsPHI && PVNI != VNI) { in verifyLiveRangeSegment()
3709 << VNI->id << " live into " << printMBBReference(*MFI) << '@' in verifyLiveRangeSegment()
3721 for (const VNInfo *VNI : LR.valnos) in verifyLiveRange() local
3722 verifyLiveRangeValue(LR, VNI, Reg, LaneMask); in verifyLiveRange()