Lines Matching defs:TRI

84                                   const TargetRegisterInfo &TRI) {
87 SubIdx = TRI.composeSubRegIndices(SubIdx, getSubReg());
93 void MachineOperand::substPhysReg(MCRegister Reg, const TargetRegisterInfo &TRI) {
96 Reg = TRI.getSubReg(Reg, getSubReg());
360 const TargetRegisterInfo *TRI = MF->getSubtarget().getRegisterInfo();
361 unsigned RegMaskSize = MachineOperand::getRegMaskSize(TRI->getNumRegs());
422 const TargetRegisterInfo *TRI = MF->getSubtarget().getRegisterInfo();
423 unsigned RegMaskSize = MachineOperand::getRegMaskSize(TRI->getNumRegs());
453 // Try to crawl up to the machine function and get TRI and IntrinsicInfo from
456 const TargetRegisterInfo *&TRI,
459 TRI = MF->getSubtarget().getRegisterInfo();
492 const TargetRegisterInfo *TRI) {
493 if (!TRI) {
498 if (std::optional<unsigned> Reg = TRI->getLLVMRegNum(DwarfReg, true))
499 OS << printReg(*Reg, TRI);
570 const TargetRegisterInfo *TRI) {
572 if (TRI && Index != 0 && Index < TRI->getNumSubRegIndices())
573 OS << TRI->getSubRegIndexName(Index);
665 const TargetRegisterInfo *TRI) {
671 printCFIRegister(CFI.getRegister(), OS, TRI);
687 printCFIRegister(CFI.getRegister(), OS, TRI);
694 printCFIRegister(CFI.getRegister(), OS, TRI);
706 printCFIRegister(CFI.getRegister(), OS, TRI);
713 printCFIRegister(CFI.getRegister(), OS, TRI);
721 printCFIRegister(CFI.getRegister(), OS, TRI);
734 printCFIRegister(CFI.getRegister(), OS, TRI);
752 printCFIRegister(CFI.getRegister(), OS, TRI);
758 printCFIRegister(CFI.getRegister(), OS, TRI);
760 printCFIRegister(CFI.getRegister2(), OS, TRI);
779 void MachineOperand::print(raw_ostream &OS, const TargetRegisterInfo *TRI,
781 print(OS, LLT{}, TRI, IntrinsicInfo);
785 const TargetRegisterInfo *TRI,
787 tryToGetTargetInfo(*this, TRI, IntrinsicInfo);
792 /*TiedOperandIdx=*/0, TRI, IntrinsicInfo);
800 const TargetRegisterInfo *TRI,
833 OS << printReg(Reg, TRI, 0, MRI);
836 if (TRI)
837 OS << '.' << TRI->getSubRegIndexName(SubReg);
847 OS << printRegClassOrBank(Reg, MRI, TRI);
934 if (TRI) {
937 for (unsigned i = 0; i < TRI->getNumRegs(); ++i) {
943 OS << " " << printReg(i, TRI);
960 if (!TRI) {
964 for (unsigned Reg = 0, E = TRI->getNumRegs(); Reg < E; ++Reg) {
968 OS << printReg(Reg, TRI);
989 printCFI(OS, MF->getFrameInstructions()[getCFIIndex()], TRI);