Lines Matching refs:r_dest

181 LIR* MipsMir2Lir::OpRegCopyNoInsert(RegStorage r_dest, RegStorage r_src) {  in OpRegCopyNoInsert()  argument
187 if (r_dest.IsPair()) { in OpRegCopyNoInsert()
188 r_dest = r_dest.GetLow(); in OpRegCopyNoInsert()
194 DCHECK(!r_dest.IsPair() && !r_src.IsPair()); in OpRegCopyNoInsert()
197 if (r_dest.IsFloat() || r_src.IsFloat()) in OpRegCopyNoInsert()
198 return OpFpRegCopy(r_dest, r_src); in OpRegCopyNoInsert()
201 if (r_dest.Is64Bit() || r_src.Is64Bit()) { in OpRegCopyNoInsert()
209 res = RawLIR(current_dalvik_offset_, opcode, r_dest.GetReg(), r_src.GetReg()); in OpRegCopyNoInsert()
210 if (!(cu_->disable_opt & (1 << kSafeOptimizations)) && r_dest == r_src) { in OpRegCopyNoInsert()
216 void MipsMir2Lir::OpRegCopy(RegStorage r_dest, RegStorage r_src) { in OpRegCopy() argument
217 if (r_dest != r_src) { in OpRegCopy()
218 LIR *res = OpRegCopyNoInsert(r_dest, r_src); in OpRegCopy()
223 void MipsMir2Lir::OpRegCopyWide(RegStorage r_dest, RegStorage r_src) { in OpRegCopyWide() argument
225 OpRegCopy(r_dest, r_src); in OpRegCopyWide()
228 if (r_dest != r_src) { in OpRegCopyWide()
229 bool dest_fp = r_dest.IsFloat(); in OpRegCopyWide()
235 OpRegCopy(r_dest, r_src); in OpRegCopyWide()
240 NewLIR2(kMipsMtc1, r_src.GetLowReg(), r_dest.GetLowReg()); in OpRegCopyWide()
241 NewLIR2(kMipsMtc1, r_src.GetHighReg(), r_dest.GetHighReg()); in OpRegCopyWide()
243 r_dest = Fp64ToSolo32(r_dest); in OpRegCopyWide()
244 NewLIR2(kMipsMtc1, r_src.GetLowReg(), r_dest.GetReg()); in OpRegCopyWide()
245 NewLIR2(kMipsMthc1, r_src.GetHighReg(), r_dest.GetReg()); in OpRegCopyWide()
252 NewLIR2(kMipsMfc1, r_dest.GetLowReg(), r_src.GetLowReg()); in OpRegCopyWide()
253 NewLIR2(kMipsMfc1, r_dest.GetHighReg(), r_src.GetHighReg()); in OpRegCopyWide()
256 NewLIR2(kMipsMfc1, r_dest.GetLowReg(), r_src.GetReg()); in OpRegCopyWide()
257 NewLIR2(kMipsMfhc1, r_dest.GetHighReg(), r_src.GetReg()); in OpRegCopyWide()
262 if (r_src.GetHighReg() != r_dest.GetLowReg()) { in OpRegCopyWide()
263 OpRegCopy(r_dest.GetLow(), r_src.GetLow()); in OpRegCopyWide()
264 OpRegCopy(r_dest.GetHigh(), r_src.GetHigh()); in OpRegCopyWide()
265 } else if (r_src.GetLowReg() != r_dest.GetHighReg()) { in OpRegCopyWide()
266 OpRegCopy(r_dest.GetHigh(), r_src.GetHigh()); in OpRegCopyWide()
267 OpRegCopy(r_dest.GetLow(), r_src.GetLow()); in OpRegCopyWide()
271 OpRegCopy(r_dest.GetLow(), r_src.GetLow()); in OpRegCopyWide()
272 OpRegCopy(r_dest.GetHigh(), r_tmp); in OpRegCopyWide()