Lines Matching defs:TRI
80 const TargetRegisterInfo *TRI);
90 const TargetRegisterInfo *TRI);
120 void print(const MachineOperand &Op, const TargetRegisterInfo *TRI,
124 void print(const MCCFIInstruction &CFI, const TargetRegisterInfo *TRI);
147 const TargetRegisterInfo *TRI) {
153 else if (Reg < TRI->getNumRegs())
154 OS << '%' << StringRef(TRI->getName(Reg)).lower();
160 const TargetRegisterInfo *TRI) {
162 printReg(Reg, OS, TRI);
199 const TargetRegisterInfo *TRI) {
210 StringRef(TRI->getRegClassName(RegInfo.getRegClass(Reg))).lower();
213 printReg(PreferredReg, VReg.PreferredRegister, TRI);
220 printReg(I->first, LiveIn.Register, TRI);
222 printReg(I->second, LiveIn.VirtualRegister, TRI);
234 printReg(I, Reg, TRI);
273 const TargetRegisterInfo *TRI) {
322 printReg(CSInfo.getReg(), Reg, TRI);
414 const auto *TRI = MF.getSubtarget().getRegisterInfo();
416 for (const uint32_t *Mask : TRI->getRegMasks())
472 const auto *TRI = MBB.getParent()->getSubtarget().getRegisterInfo();
473 assert(TRI && "Expected target register info");
481 printReg(LI.PhysReg, OS, TRI);
529 const auto *TRI = SubTarget.getRegisterInfo();
530 assert(TRI && "Expected target register info");
543 print(MI.getOperand(I), TRI, I, ShouldPrintRegisterTies, /*IsDef=*/true);
558 print(MI.getOperand(I), TRI, I, ShouldPrintRegisterTies);
729 void MIPrinter::print(const MachineOperand &Op, const TargetRegisterInfo *TRI,
751 printReg(Op.getReg(), OS, TRI);
754 OS << ':' << TRI->getSubRegIndexName(Op.getSubReg());
812 OS << StringRef(TRI->getRegMaskNames()[RegMaskInfo->second]).lower();
821 for (unsigned Reg = 0, E = TRI->getNumRegs(); Reg < E; ++Reg) {
825 printReg(Reg, OS, TRI);
840 print(MMI.getFrameInstructions()[Op.getCFIIndex()], TRI);
920 const TargetRegisterInfo *TRI) {
921 int Reg = TRI->getLLVMRegNum(DwarfReg, true);
926 printReg(Reg, OS, TRI);
930 const TargetRegisterInfo *TRI) {
936 printCFIRegister(CFI.getRegister(), OS, TRI);
942 printCFIRegister(CFI.getRegister(), OS, TRI);
949 printCFIRegister(CFI.getRegister(), OS, TRI);
961 printCFIRegister(CFI.getRegister(), OS, TRI);