Lines Matching refs:VNI
244 void report_context(const VNInfo &VNI) const;
552 void MachineVerifier::report_context(const VNInfo &VNI) const { in report_context()
553 errs() << "- ValNo: " << VNI.id << " (def " << VNI.def << ")\n"; in report_context()
2343 if (const VNInfo *VNI = LR.getVNInfoAt(DefIdx)) { in checkLivenessAtDef() local
2352 if (((SubRangeCheck || MO->getSubReg() == 0) && VNI->def != DefIdx) || in checkLivenessAtDef()
2353 !SlotIndex::isSameInstr(VNI->def, DefIdx) || in checkLivenessAtDef()
2354 (VNI->def != DefIdx && in checkLivenessAtDef()
2355 (!VNI->def.isEarlyClobber() || !DefIdx.isRegister()))) { in checkLivenessAtDef()
2361 report_context(*VNI); in checkLivenessAtDef()
2965 const VNInfo *VNI, Register Reg, in verifyLiveRangeValue() argument
2967 if (VNI->isUnused()) in verifyLiveRangeValue()
2970 const VNInfo *DefVNI = LR.getVNInfoAt(VNI->def); in verifyLiveRangeValue()
2975 report_context(*VNI); in verifyLiveRangeValue()
2979 if (DefVNI != VNI) { in verifyLiveRangeValue()
2982 report_context(*VNI); in verifyLiveRangeValue()
2986 const MachineBasicBlock *MBB = LiveInts->getMBBFromIndex(VNI->def); in verifyLiveRangeValue()
2990 report_context(*VNI); in verifyLiveRangeValue()
2994 if (VNI->isPHIDef()) { in verifyLiveRangeValue()
2995 if (VNI->def != LiveInts->getMBBStartIdx(MBB)) { in verifyLiveRangeValue()
2998 report_context(*VNI); in verifyLiveRangeValue()
3004 const MachineInstr *MI = LiveInts->getInstructionFromIndex(VNI->def); in verifyLiveRangeValue()
3008 report_context(*VNI); in verifyLiveRangeValue()
3036 report_context(*VNI); in verifyLiveRangeValue()
3042 if (!VNI->def.isEarlyClobber()) { in verifyLiveRangeValue()
3045 report_context(*VNI); in verifyLiveRangeValue()
3047 } else if (!VNI->def.isRegister()) { in verifyLiveRangeValue()
3050 report_context(*VNI); in verifyLiveRangeValue()
3060 const VNInfo *VNI = S.valno; in verifyLiveRangeSegment() local
3061 assert(VNI && "Live segment has no valno"); in verifyLiveRangeSegment()
3063 if (VNI->id >= LR.getNumValNums() || VNI != LR.getValNumInfo(VNI->id)) { in verifyLiveRangeSegment()
3067 report_context(*VNI); in verifyLiveRangeSegment()
3070 if (VNI->isUnused()) { in verifyLiveRangeSegment()
3084 if (S.start != MBBStartIdx && S.start != VNI->def) { in verifyLiveRangeSegment()
3104 if (!Reg.isVirtual() && VNI->isPHIDef() && S.start == VNI->def && in verifyLiveRangeSegment()
3105 S.end == VNI->def.getDeadSlot()) in verifyLiveRangeSegment()
3208 if (S.start == VNI->def && !VNI->isPHIDef()) { in verifyLiveRangeSegment()
3233 bool IsPHI = VNI->isPHIDef() && in verifyLiveRangeSegment()
3234 VNI->def == LiveInts->getMBBStartIdx(&*MFI); in verifyLiveRangeSegment()
3259 report_context(*VNI); in verifyLiveRangeSegment()
3267 if (!IsPHI && PVNI != VNI) { in verifyLiveRangeSegment()
3272 << VNI->id << " live into " << printMBBReference(*MFI) << '@' in verifyLiveRangeSegment()
3284 for (const VNInfo *VNI : LR.valnos) in verifyLiveRange() local
3285 verifyLiveRangeValue(LR, VNI, Reg, LaneMask); in verifyLiveRange()