Lines Matching refs:TRI
75 static bool isVGPR(const MachineOperand *MO, const SIRegisterInfo &TRI, in isVGPR() argument
81 return TRI.hasVGPRs(MRI.getRegClass(MO->getReg())); in isVGPR()
83 return TRI.hasVGPRs(TRI.getPhysRegClass(MO->getReg())); in isVGPR()
87 const SIRegisterInfo &TRI, in canShrink() argument
102 if (!isVGPR(Src2, TRI, MRI) || in canShrink()
116 if (Src1 && (!isVGPR(Src1, TRI, MRI) || (Src1Mod && Src1Mod->getImm() != 0))) in canShrink()
146 const SIRegisterInfo &TRI = TII->getRegisterInfo(); in foldImmediates() local
159 if (Src0.isReg() && !isVGPR(&Src0, TRI, MRI)) in foldImmediates()
208 const SIRegisterInfo &TRI = TII->getRegisterInfo(); in runOnMachineFunction() local
235 if (!canShrink(MI, TII, TRI, MRI)) { in runOnMachineFunction()
239 !canShrink(MI, TII, TRI, MRI)) in runOnMachineFunction()