Lines Matching defs:TRI
366 const TargetRegisterInfo &TRI =
385 if (TRI.regsOverlap(PRegN, PRegM)) {
545 static bool isACalleeSavedRegister(unsigned reg, const TargetRegisterInfo &TRI,
547 const MCPhysReg *CSR = TRI.getCalleeSavedRegs(&MF);
549 if (TRI.regsOverlap(reg, CSR[i]))
560 const TargetRegisterInfo &TRI =
590 for (MCRegUnitIterator Units(PReg, &TRI); Units.isValid(); ++Units) {
617 if (isACalleeSavedRegister(VRegAllowed[i], TRI, MF))
637 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo();
638 (void)TRI;
639 DEBUG(dbgs() << "VREG " << PrintReg(VReg, &TRI) << " -> SPILLED (Cost: "
648 DEBUG(dbgs() << PrintReg(LI.reg, &TRI) << " ");
661 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo();
662 (void)TRI;
678 DEBUG(dbgs() << "VREG " << PrintReg(VReg, &TRI) << " -> "
679 << TRI.getName(PReg) << "\n");
814 const TargetRegisterInfo *TRI = MRI.getTargetRegisterInfo();
816 const char *RegClassName = TRI->getRegClassName(MRI.getRegClass(VReg));
817 OS << NId << " (" << RegClassName << ':' << PrintReg(VReg, TRI) << ')';