Lines Matching refs:rl_src

184   RegLocation rl_src = mir_graph_->GetSrc(mir, 0);  in GenSelect()  local
185 rl_src = LoadValue(rl_src, rl_src.ref ? kRefReg : kCoreReg); in GenSelect()
187 OpRegImm(kOpCmp, rl_src.reg, 0); in GenSelect()
404 RegLocation rl_src, RegLocation rl_dest, int lit) { in SmallLiteralDivRem() argument
419 rl_src = LoadValue(rl_src, kCoreReg); in SmallLiteralDivRem()
423 r_magic.GetReg(), rl_src.reg.GetReg(), rxzr); in SmallLiteralDivRem()
427 OpRegRegRegShift(kOpSub, rl_result.reg, r_long_mul, rl_src.reg, EncodeShift(kA64Asr, 31)); in SmallLiteralDivRem()
432 OpRegRegRegShift(kOpSub, rl_result.reg, r_long_mul, rl_src.reg, EncodeShift(kA64Asr, 31)); in SmallLiteralDivRem()
435 OpRegRegRegShift(kOpAdd, As64BitReg(r_long_mul), As64BitReg(rl_src.reg), in SmallLiteralDivRem()
438 OpRegRegRegShift(kOpSub, rl_result.reg, r_long_mul, rl_src.reg, EncodeShift(kA64Asr, 31)); in SmallLiteralDivRem()
448 RegLocation rl_src, RegLocation rl_dest, int64_t lit) { in SmallLiteralDivRem64() argument
462 rl_src = LoadValueWide(rl_src, kCoreReg); in SmallLiteralDivRem64()
491 NewLIR3(kA64Smulh3xxx, r_long_mul.GetReg(), r_magic.GetReg(), rl_src.reg.GetReg()); in SmallLiteralDivRem64()
494 OpRegRegRegShift(kOpSub, rl_result.reg, r_long_mul, rl_src.reg, EncodeShift(kA64Asr, 63)); in SmallLiteralDivRem64()
498 OpRegRegRegShift(kOpSub, rl_result.reg, r_long_mul, rl_src.reg, EncodeShift(kA64Asr, 63)); in SmallLiteralDivRem64()
501 OpRegRegReg(kOpAdd, r_long_mul, rl_src.reg, r_long_mul); in SmallLiteralDivRem64()
503 OpRegRegRegShift(kOpSub, rl_result.reg, r_long_mul, rl_src.reg, EncodeShift(kA64Asr, 63)); in SmallLiteralDivRem64()
515 RegLocation rl_src, RegLocation rl_dest, int lit) { in HandleEasyDivRem() argument
516 return HandleEasyDivRem64(dalvik_opcode, is_div, rl_src, rl_dest, static_cast<int>(lit)); in HandleEasyDivRem()
522 RegLocation rl_src, RegLocation rl_dest, int64_t lit) { in HandleEasyDivRem64() argument
531 return SmallLiteralDivRem64(dalvik_opcode, is_div, rl_src, rl_dest, lit); in HandleEasyDivRem64()
533 return SmallLiteralDivRem(dalvik_opcode, is_div, rl_src, rl_dest, static_cast<int32_t>(lit)); in HandleEasyDivRem64()
545 rl_src = LoadValueWide(rl_src, kCoreReg); in HandleEasyDivRem64()
549 rl_src = LoadValue(rl_src, kCoreReg); in HandleEasyDivRem64()
558 OpRegRegRegShift(kOpAdd, t_reg, rl_src.reg, rl_src.reg, shift); in HandleEasyDivRem64()
561 OpRegRegImm(kOpAsr, t_reg, rl_src.reg, nbits - 1); in HandleEasyDivRem64()
562 OpRegRegRegShift(kOpAdd, t_reg, rl_src.reg, t_reg, shift); in HandleEasyDivRem64()
567 OpRegRegRegShift(kOpAdd, t_reg, rl_src.reg, rl_src.reg, shift); in HandleEasyDivRem64()
569 OpRegRegRegShift(kOpSub, rl_result.reg, t_reg, rl_src.reg, shift); in HandleEasyDivRem64()
572 OpRegRegImm(kOpAsr, t_reg, rl_src.reg, nbits - 1); in HandleEasyDivRem64()
573 OpRegRegRegShift(kOpAdd, t_reg2, rl_src.reg, t_reg, shift); in HandleEasyDivRem64()
587 bool Arm64Mir2Lir::EasyMultiply(RegLocation rl_src, RegLocation rl_dest, int lit) { in EasyMultiply() argument
645 RegLocation rl_src = info->args[0]; in GenInlinedAbsLong() local
646 rl_src = LoadValueWide(rl_src, kCoreReg); in GenInlinedAbsLong()
651 OpRegRegImm(kOpAsr, sign_reg, rl_src.reg, 63); in GenInlinedAbsLong()
652 OpRegRegReg(kOpAdd, rl_result.reg, rl_src.reg, sign_reg); in GenInlinedAbsLong()
794 RegLocation rl_src = info->args[0]; in GenInlinedArrayCopyCharArray() local
810 LoadValueDirectFixed(rl_src, rs_src); in GenInlinedArrayCopyCharArray()
922 void Arm64Mir2Lir::GenMultiplyByTwoBitMultiplier(RegLocation rl_src, in GenMultiplyByTwoBitMultiplier() argument
925 …OpRegRegRegShift(kOpAdd, rl_result.reg, rl_src.reg, rl_src.reg, EncodeShift(kA64Lsl, second_bit - … in GenMultiplyByTwoBitMultiplier()
994 void Arm64Mir2Lir::GenIntToLong(RegLocation rl_dest, RegLocation rl_src) { in GenIntToLong() argument
997 rl_src = LoadValue(rl_src, kCoreReg); in GenIntToLong()
999 NewLIR4(WIDE(kA64Sbfm4rrdd), rl_result.reg.GetReg(), As64BitReg(rl_src.reg).GetReg(), 0, 31); in GenIntToLong()
1032 void Arm64Mir2Lir::GenNegLong(RegLocation rl_dest, RegLocation rl_src) { in GenNegLong() argument
1035 rl_src = LoadValueWide(rl_src, kCoreReg); in GenNegLong()
1037 OpRegRegShift(kOpNeg, rl_result.reg, rl_src.reg, ENCODE_NO_SHIFT); in GenNegLong()
1041 void Arm64Mir2Lir::GenNotLong(RegLocation rl_dest, RegLocation rl_src) { in GenNotLong() argument
1044 rl_src = LoadValueWide(rl_src, kCoreReg); in GenNotLong()
1046 OpRegRegShift(kOpMvn, rl_result.reg, rl_src.reg, ENCODE_NO_SHIFT); in GenNotLong()
1199 RegLocation rl_index, RegLocation rl_src, int scale, bool card_mark) { in GenArrayPut() argument
1248 if (rl_src.wide || rl_src.fp || constant_index) { in GenArrayPut()
1249 if (rl_src.wide) { in GenArrayPut()
1250 rl_src = LoadValueWide(rl_src, reg_class); in GenArrayPut()
1252 rl_src = LoadValue(rl_src, reg_class); in GenArrayPut()
1266 if (rl_src.ref) { in GenArrayPut()
1267 StoreRefDisp(reg_ptr, data_offset, rl_src.reg, kNotVolatile); in GenArrayPut()
1269 StoreBaseDisp(reg_ptr, data_offset, rl_src.reg, size, kNotVolatile); in GenArrayPut()
1275 rl_src = LoadValue(rl_src, reg_class); in GenArrayPut()
1280 if (rl_src.ref) { in GenArrayPut()
1281 StoreRefIndexed(reg_ptr, As64BitReg(rl_index.reg), rl_src.reg, scale); in GenArrayPut()
1283 StoreBaseIndexed(reg_ptr, As64BitReg(rl_index.reg), rl_src.reg, scale, size); in GenArrayPut()
1291 MarkGCCard(rl_src.reg, rl_array.reg); in GenArrayPut()
1296 … RegLocation rl_dest, RegLocation rl_src, RegLocation rl_shift) { in GenShiftImmOpLong() argument
1300 rl_src = LoadValueWide(rl_src, kCoreReg); in GenShiftImmOpLong()
1302 StoreValueWide(rl_dest, rl_src); in GenShiftImmOpLong()
1323 OpRegRegImm(op, rl_result.reg, rl_src.reg, shift_amount); in GenShiftImmOpLong()