Lines Matching refs:TRI

78 static unsigned getDwarfRegNum(unsigned Reg, const TargetRegisterInfo *TRI) {  in getDwarfRegNum()  argument
79 int RegNum = TRI->getDwarfRegNum(Reg, false); in getDwarfRegNum()
80 for (MCSuperRegIterator SR(Reg, TRI); SR.isValid() && RegNum < 0; ++SR) in getDwarfRegNum()
81 RegNum = TRI->getDwarfRegNum(*SR, false); in getDwarfRegNum()
91 const TargetRegisterInfo *TRI = AP.MF->getSubtarget().getRegisterInfo(); in parseOperand() local
105 getDwarfRegNum(Reg, TRI), Imm); in parseOperand()
114 getDwarfRegNum(Reg, TRI), Imm); in parseOperand()
139 const TargetRegisterClass *RC = TRI->getMinimalPhysRegClass(MOI->getReg()); in parseOperand()
143 unsigned DwarfRegNum = getDwarfRegNum(MOI->getReg(), TRI); in parseOperand()
144 unsigned LLVMRegNum = TRI->getLLVMRegNum(DwarfRegNum, false); in parseOperand()
145 unsigned SubRegIdx = TRI->getSubRegIndex(LLVMRegNum, MOI->getReg()); in parseOperand()
147 Offset = TRI->getSubRegIdxOffset(SubRegIdx); in parseOperand()
160 const TargetRegisterInfo *TRI = in print() local
179 if (TRI) in print()
180 OS << TRI->getName(Loc.Reg); in print()
186 if (TRI) in print()
187 OS << TRI->getName(Loc.Reg); in print()
195 if (TRI) in print()
196 OS << TRI->getName(Loc.Reg); in print()
218 if (TRI) in print()
219 OS << TRI->getName(LO.Reg); in print()
231 StackMaps::createLiveOutReg(unsigned Reg, const TargetRegisterInfo *TRI) const { in createLiveOutReg()
232 unsigned DwarfRegNum = getDwarfRegNum(Reg, TRI); in createLiveOutReg()
233 unsigned Size = TRI->getMinimalPhysRegClass(Reg)->getSize(); in createLiveOutReg()
242 const TargetRegisterInfo *TRI = AP.MF->getSubtarget().getRegisterInfo(); in parseRegisterLiveOutMask() local
246 for (unsigned Reg = 0, NumRegs = TRI->getNumRegs(); Reg != NumRegs; ++Reg) in parseRegisterLiveOutMask()
248 LiveOuts.push_back(createLiveOutReg(Reg, TRI)); in parseRegisterLiveOutMask()
268 if (TRI->isSuperRegister(I->Reg, II->Reg)) in parseRegisterLiveOutMask()