Lines Matching refs:DestReg
85 const DebugLoc &DL, MCRegister DestReg, in copyPhysReg() argument
90 if (Mips::GPR32RegClass.contains(DestReg)) { // Copy to CPU Reg. in copyPhysReg()
111 BuildMI(MBB, I, DL, get(Mips::RDDSP), DestReg).addImm(1 << 4) in copyPhysReg()
119 if (Mips::CCRRegClass.contains(DestReg)) in copyPhysReg()
121 else if (Mips::FGR32RegClass.contains(DestReg)) in copyPhysReg()
123 else if (Mips::HI32RegClass.contains(DestReg)) in copyPhysReg()
124 Opc = Mips::MTHI, DestReg = 0; in copyPhysReg()
125 else if (Mips::LO32RegClass.contains(DestReg)) in copyPhysReg()
126 Opc = Mips::MTLO, DestReg = 0; in copyPhysReg()
127 else if (Mips::HI32DSPRegClass.contains(DestReg)) in copyPhysReg()
129 else if (Mips::LO32DSPRegClass.contains(DestReg)) in copyPhysReg()
131 else if (Mips::DSPCCRegClass.contains(DestReg)) { in copyPhysReg()
134 .addReg(DestReg, RegState::ImplicitDefine); in copyPhysReg()
136 } else if (Mips::MSACtrlRegClass.contains(DestReg)) { in copyPhysReg()
138 .addReg(DestReg) in copyPhysReg()
143 else if (Mips::FGR32RegClass.contains(DestReg, SrcReg)) in copyPhysReg()
145 else if (Mips::AFGR64RegClass.contains(DestReg, SrcReg)) in copyPhysReg()
147 else if (Mips::FGR64RegClass.contains(DestReg, SrcReg)) in copyPhysReg()
149 else if (Mips::GPR64RegClass.contains(DestReg)) { // Copy to CPU64 Reg. in copyPhysReg()
160 if (Mips::HI64RegClass.contains(DestReg)) in copyPhysReg()
161 Opc = Mips::MTHI64, DestReg = 0; in copyPhysReg()
162 else if (Mips::LO64RegClass.contains(DestReg)) in copyPhysReg()
163 Opc = Mips::MTLO64, DestReg = 0; in copyPhysReg()
164 else if (Mips::FGR64RegClass.contains(DestReg)) in copyPhysReg()
167 else if (Mips::MSA128BRegClass.contains(DestReg)) { // Copy to MSA reg in copyPhysReg()
176 if (DestReg) in copyPhysReg()
177 MIB.addReg(DestReg, RegState::Define); in copyPhysReg()
320 Register DestReg, int FI, const TargetRegisterClass *RC, in loadRegFromStack() argument
329 (DestReg == Mips::LO0 || DestReg == Mips::LO0_64 || in loadRegFromStack()
330 DestReg == Mips::HI0 || DestReg == Mips::HI0_64); in loadRegFromStack()
375 BuildMI(MBB, I, DL, get(Opc), DestReg) in loadRegFromStack()
384 if (DestReg == Mips::HI0) in loadRegFromStack()
389 if (DestReg == Mips::HI0_64) in loadRegFromStack()