Lines Matching refs:MRI
58 MachineRegisterInfo &MRI) { in IsRegInClass()
60 return RC->hasSubClassEq(MRI.getRegClass(Reg)); in IsRegInClass()
68 bool IsVSReg(unsigned Reg, MachineRegisterInfo &MRI) { in IsVSReg()
69 return IsRegInClass(Reg, &PPC::VSRCRegClass, MRI); in IsVSReg()
72 bool IsVRReg(unsigned Reg, MachineRegisterInfo &MRI) { in IsVRReg()
73 return IsRegInClass(Reg, &PPC::VRRCRegClass, MRI); in IsVRReg()
76 bool IsF8Reg(unsigned Reg, MachineRegisterInfo &MRI) { in IsF8Reg()
77 return IsRegInClass(Reg, &PPC::F8RCRegClass, MRI); in IsF8Reg()
80 bool IsVSFReg(unsigned Reg, MachineRegisterInfo &MRI) { in IsVSFReg()
81 return IsRegInClass(Reg, &PPC::VSFRCRegClass, MRI); in IsVSFReg()
84 bool IsVSSReg(unsigned Reg, MachineRegisterInfo &MRI) { in IsVSSReg()
85 return IsRegInClass(Reg, &PPC::VSSRCRegClass, MRI); in IsVSSReg()
92 MachineRegisterInfo &MRI = MBB.getParent()->getRegInfo(); in processBlock() local
102 if ( IsVSReg(DstMO.getReg(), MRI) && in processBlock()
103 !IsVSReg(SrcMO.getReg(), MRI)) { in processBlock()
108 IsVRReg(SrcMO.getReg(), MRI) ? &PPC::VSHRCRegClass : in processBlock()
110 assert((IsF8Reg(SrcMO.getReg(), MRI) || in processBlock()
111 IsVRReg(SrcMO.getReg(), MRI) || in processBlock()
112 IsVSSReg(SrcMO.getReg(), MRI) || in processBlock()
113 IsVSFReg(SrcMO.getReg(), MRI)) && in processBlock()
116 unsigned NewVReg = MRI.createVirtualRegister(SrcRC); in processBlock()
122 .addImm(IsVRReg(SrcMO.getReg(), MRI) ? PPC::sub_128 : in processBlock()
127 } else if (!IsVSReg(DstMO.getReg(), MRI) && in processBlock()
128 IsVSReg(SrcMO.getReg(), MRI)) { in processBlock()
133 IsVRReg(DstMO.getReg(), MRI) ? &PPC::VSHRCRegClass : in processBlock()
135 assert((IsF8Reg(DstMO.getReg(), MRI) || in processBlock()
136 IsVSFReg(DstMO.getReg(), MRI) || in processBlock()
137 IsVSSReg(DstMO.getReg(), MRI) || in processBlock()
138 IsVRReg(DstMO.getReg(), MRI)) && in processBlock()
142 unsigned NewVReg = MRI.createVirtualRegister(DstRC); in processBlock()
149 SrcMO.setSubReg(IsVRReg(DstMO.getReg(), MRI) ? PPC::sub_128 : in processBlock()