Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:VNI

219     void report_context(const VNInfo &VNI) const;
489 void MachineVerifier::report_context(const VNInfo &VNI) const {
490 errs() << "- ValNo: " << VNI.id << " (def " << VNI.def << ")\n";
1135 if (const VNInfo *VNI = LR.getVNInfoAt(DefIdx)) {
1136 assert(VNI && "NULL valno is not allowed");
1137 if (VNI->def != DefIdx) {
1143 report_context(*VNI);
1582 const VNInfo *VNI, unsigned Reg,
1584 if (VNI->isUnused())
1587 const VNInfo *DefVNI = LR.getVNInfoAt(VNI->def);
1592 report_context(*VNI);
1596 if (DefVNI != VNI) {
1599 report_context(*VNI);
1603 const MachineBasicBlock *MBB = LiveInts->getMBBFromIndex(VNI->def);
1607 report_context(*VNI);
1611 if (VNI->isPHIDef()) {
1612 if (VNI->def != LiveInts->getMBBStartIdx(MBB)) {
1615 report_context(*VNI);
1621 const MachineInstr *MI = LiveInts->getInstructionFromIndex(VNI->def);
1625 report_context(*VNI);
1654 report_context(*VNI);
1660 if (!VNI->def.isEarlyClobber()) {
1663 report_context(*VNI);
1665 } else if (!VNI->def.isRegister()) {
1668 report_context(*VNI);
1678 const VNInfo *VNI = S.valno;
1679 assert(VNI && "Live segment has no valno");
1681 if (VNI->id >= LR.getNumValNums() || VNI != LR.getValNumInfo(VNI->id)) {
1685 report_context(*VNI);
1688 if (VNI->isUnused()) {
1702 if (S.start != MBBStartIdx && S.start != VNI->def) {
1722 if (!TargetRegisterInfo::isVirtualRegister(Reg) && VNI->isPHIDef() &&
1723 S.start == VNI->def && S.end == VNI->def.getDeadSlot())
1815 if (S.start == VNI->def && !VNI->isPHIDef()) {
1833 // Is VNI a PHI-def in the current block?
1834 bool IsPHI = VNI->isPHIDef() &&
1835 VNI->def == LiveInts->getMBBStartIdx(&*MFI);
1837 // Check that VNI is live-out of all predecessors.
1848 report_context(*VNI);
1856 if (!IsPHI && PVNI != VNI) {
1860 << (*PI)->getNumber() << '@' << PEnd << "\nValno #" << VNI->id
1873 for (const VNInfo *VNI : LR.valnos)
1874 verifyLiveRangeValue(LR, VNI, Reg, LaneMask);