Lines Matching refs:rl_result

231   RegLocation rl_result;  in GenSelect()  local
243 rl_result = EvalLoc(rl_dest, result_reg_class, true); in GenSelect()
251 OpRegRegImm(kOpSub, rl_result.reg, rl_src.reg, -true_val); in GenSelect()
254 LoadConstant(rl_result.reg, false_val); in GenSelect()
257 OpRegRegImm(kOpRsub, rl_result.reg, rl_src.reg, 1); in GenSelect()
260 LoadConstant(rl_result.reg, false_val); in GenSelect()
265 LoadConstant(rl_result.reg, true_val); in GenSelect()
266 LoadConstant(rl_result.reg, false_val); in GenSelect()
276 OpRegCopy(rl_result.reg, t_reg1); in GenSelect()
277 OpRegCopy(rl_result.reg, t_reg2); in GenSelect()
286 rl_result = EvalLoc(rl_dest, result_reg_class, true); in GenSelect()
289 if (rl_result.reg.GetReg() == rl_true.reg.GetReg()) { // Is the "true" case already in place? in GenSelect()
291 OpRegCopy(rl_result.reg, rl_false.reg); in GenSelect()
292 } else if (rl_result.reg.GetReg() == rl_false.reg.GetReg()) { // False case in place? in GenSelect()
294 OpRegCopy(rl_result.reg, rl_true.reg); in GenSelect()
297 OpRegCopy(rl_result.reg, rl_true.reg); in GenSelect()
298 OpRegCopy(rl_result.reg, rl_false.reg); in GenSelect()
302 StoreValue(rl_dest, rl_result); in GenSelect()
505 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); in SmallLiteralDivRem() local
511 RegStorage r_div_result = is_div ? rl_result.reg : r_hi; in SmallLiteralDivRem()
544 OpRegRegReg(kOpSub, rl_result.reg, rl_src.reg, tmp1); in SmallLiteralDivRem()
547 StoreValue(rl_dest, rl_result); in SmallLiteralDivRem()
677 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); in EasyMultiply() local
679 GenEasyMultiplyTwoOps(rl_result.reg, rl_src.reg, ops); in EasyMultiply()
680 StoreValue(rl_dest, rl_result); in EasyMultiply()
696 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); in GenDivRemLit() local
703 rl_result = GenDivRem(rl_result, reg1, lit_temp, is_div); in GenDivRemLit()
706 return rl_result; in GenDivRemLit()
711 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); in GenDivRem() local
714 OpRegRegReg(kOpDiv, rl_result.reg, reg1, reg2); in GenDivRem()
724 OpRegRegReg(kOpSub, rl_result.reg, reg1, temp); in GenDivRem()
728 return rl_result; in GenDivRem()
741 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); in GenInlinedMinMax() local
744 OpRegReg(kOpMov, rl_result.reg, rl_src2.reg); in GenInlinedMinMax()
745 OpRegReg(kOpMov, rl_result.reg, rl_src1.reg); in GenInlinedMinMax()
747 StoreValue(rl_dest, rl_result); in GenInlinedMinMax()
756 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); in GenInlinedPeek() local
759 if (rl_address.reg.GetReg() != rl_result.reg.GetLowReg()) { in GenInlinedPeek()
760 Load32Disp(rl_address.reg, 0, rl_result.reg.GetLow()); in GenInlinedPeek()
761 Load32Disp(rl_address.reg, 4, rl_result.reg.GetHigh()); in GenInlinedPeek()
763 Load32Disp(rl_address.reg, 4, rl_result.reg.GetHigh()); in GenInlinedPeek()
764 Load32Disp(rl_address.reg, 0, rl_result.reg.GetLow()); in GenInlinedPeek()
766 StoreValueWide(rl_dest, rl_result); in GenInlinedPeek()
770 LoadBaseDisp(rl_address.reg, 0, rl_result.reg, size, kNotVolatile); in GenInlinedPeek()
771 StoreValue(rl_dest, rl_result); in GenInlinedPeek()
944 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); in GenInlinedCas() local
945 OpRegRegImm(kOpRsub, rl_result.reg, r_tmp, 1); in GenInlinedCas()
948 LoadConstant(rl_result.reg, 0); /* cc */ in GenInlinedCas()
952 StoreValue(rl_dest, rl_result); in GenInlinedCas()
1068 RegLocation rl_result, int lit, in GenMultiplyByTwoBitMultiplier() argument
1070 OpRegRegRegShift(kOpAdd, rl_result.reg, rl_src.reg, rl_src.reg, in GenMultiplyByTwoBitMultiplier()
1073 OpRegRegImm(kOpLsl, rl_result.reg, rl_result.reg, first_bit); in GenMultiplyByTwoBitMultiplier()
1147 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); in GenNegLong() local
1151 if (rl_result.reg.GetLowReg() == rl_src.reg.GetHighReg()) { in GenNegLong()
1153 OpRegCopy(t_reg, rl_result.reg.GetLow()); in GenNegLong()
1154 OpRegRegReg(kOpSub, rl_result.reg.GetLow(), z_reg, rl_src.reg.GetLow()); in GenNegLong()
1155 OpRegRegReg(kOpSbc, rl_result.reg.GetHigh(), z_reg, t_reg); in GenNegLong()
1158 OpRegRegReg(kOpSub, rl_result.reg.GetLow(), z_reg, rl_src.reg.GetLow()); in GenNegLong()
1159 OpRegRegReg(kOpSbc, rl_result.reg.GetHigh(), z_reg, rl_src.reg.GetHigh()); in GenNegLong()
1162 StoreValueWide(rl_dest, rl_result); in GenNegLong()
1181 RegLocation rl_result; in GenMulLong() local
1185 rl_result = GetReturnWide(kCoreReg); in GenMulLong()
1186 StoreValueWide(rl_dest, rl_result); in GenMulLong()
1204 rl_result = EvalLoc(rl_dest, kCoreReg, true); in GenMulLong()
1205 res_lo = rl_result.reg.GetLow(); in GenMulLong()
1206 res_hi = rl_result.reg.GetHigh(); in GenMulLong()
1264 rl_result = GetReturnWide(kCoreReg); // Just using as a template. in GenMulLong()
1265 rl_result.reg = RegStorage::MakeRegPair(res_lo, res_hi); in GenMulLong()
1268 StoreValueWide(rl_dest, rl_result); in GenMulLong()
1298 RegLocation rl_result; in GenArrayGet() local
1339 rl_result = EvalLoc(rl_dest, reg_class, true); in GenArrayGet()
1349 LoadBaseDisp(reg_ptr, data_offset, rl_result.reg, size, kNotVolatile); in GenArrayGet()
1355 StoreValueWide(rl_dest, rl_result); in GenArrayGet()
1357 StoreValue(rl_dest, rl_result); in GenArrayGet()
1364 rl_result = EvalLoc(rl_dest, reg_class, true); in GenArrayGet()
1370 LoadBaseIndexed(reg_ptr, rl_index.reg, rl_result.reg, scale, size); in GenArrayGet()
1373 StoreValue(rl_dest, rl_result); in GenArrayGet()
1484 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); in GenShiftImmOpLong() local
1489 OpRegRegReg(kOpAdd, rl_result.reg.GetLow(), rl_src.reg.GetLow(), rl_src.reg.GetLow()); in GenShiftImmOpLong()
1490 OpRegRegReg(kOpAdc, rl_result.reg.GetHigh(), rl_src.reg.GetHigh(), rl_src.reg.GetHigh()); in GenShiftImmOpLong()
1492 OpRegCopy(rl_result.reg.GetHigh(), rl_src.reg); in GenShiftImmOpLong()
1493 LoadConstant(rl_result.reg.GetLow(), 0); in GenShiftImmOpLong()
1495 OpRegRegImm(kOpLsl, rl_result.reg.GetHigh(), rl_src.reg.GetLow(), shift_amount - 32); in GenShiftImmOpLong()
1496 LoadConstant(rl_result.reg.GetLow(), 0); in GenShiftImmOpLong()
1498 OpRegRegImm(kOpLsl, rl_result.reg.GetHigh(), rl_src.reg.GetHigh(), shift_amount); in GenShiftImmOpLong()
1499 … OpRegRegRegShift(kOpOr, rl_result.reg.GetHigh(), rl_result.reg.GetHigh(), rl_src.reg.GetLow(), in GenShiftImmOpLong()
1501 OpRegRegImm(kOpLsl, rl_result.reg.GetLow(), rl_src.reg.GetLow(), shift_amount); in GenShiftImmOpLong()
1507 OpRegCopy(rl_result.reg.GetLow(), rl_src.reg.GetHigh()); in GenShiftImmOpLong()
1508 OpRegRegImm(kOpAsr, rl_result.reg.GetHigh(), rl_src.reg.GetHigh(), 31); in GenShiftImmOpLong()
1510 OpRegRegImm(kOpAsr, rl_result.reg.GetLow(), rl_src.reg.GetHigh(), shift_amount - 32); in GenShiftImmOpLong()
1511 OpRegRegImm(kOpAsr, rl_result.reg.GetHigh(), rl_src.reg.GetHigh(), 31); in GenShiftImmOpLong()
1515 OpRegRegRegShift(kOpOr, rl_result.reg.GetLow(), t_reg, rl_src.reg.GetHigh(), in GenShiftImmOpLong()
1518 OpRegRegImm(kOpAsr, rl_result.reg.GetHigh(), rl_src.reg.GetHigh(), shift_amount); in GenShiftImmOpLong()
1524 OpRegCopy(rl_result.reg.GetLow(), rl_src.reg.GetHigh()); in GenShiftImmOpLong()
1525 LoadConstant(rl_result.reg.GetHigh(), 0); in GenShiftImmOpLong()
1527 OpRegRegImm(kOpLsr, rl_result.reg.GetLow(), rl_src.reg.GetHigh(), shift_amount - 32); in GenShiftImmOpLong()
1528 LoadConstant(rl_result.reg.GetHigh(), 0); in GenShiftImmOpLong()
1532 OpRegRegRegShift(kOpOr, rl_result.reg.GetLow(), t_reg, rl_src.reg.GetHigh(), in GenShiftImmOpLong()
1535 OpRegRegImm(kOpLsr, rl_result.reg.GetHigh(), rl_src.reg.GetHigh(), shift_amount); in GenShiftImmOpLong()
1541 StoreValueWide(rl_dest, rl_result); in GenShiftImmOpLong()
1585 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); in GenArithImmOpLong() local
1590 NewLIR3(kThumb2AddRRI8M, rl_result.reg.GetLowReg(), rl_src1.reg.GetLowReg(), mod_imm_lo); in GenArithImmOpLong()
1591 NewLIR3(kThumb2AdcRRI8M, rl_result.reg.GetHighReg(), rl_src1.reg.GetHighReg(), mod_imm_hi); in GenArithImmOpLong()
1595 if ((val_lo != 0) || (rl_result.reg.GetLowReg() != rl_src1.reg.GetLowReg())) { in GenArithImmOpLong()
1596 OpRegRegImm(kOpOr, rl_result.reg.GetLow(), rl_src1.reg.GetLow(), val_lo); in GenArithImmOpLong()
1598 if ((val_hi != 0) || (rl_result.reg.GetHighReg() != rl_src1.reg.GetHighReg())) { in GenArithImmOpLong()
1599 OpRegRegImm(kOpOr, rl_result.reg.GetHigh(), rl_src1.reg.GetHigh(), val_hi); in GenArithImmOpLong()
1604 OpRegRegImm(kOpXor, rl_result.reg.GetLow(), rl_src1.reg.GetLow(), val_lo); in GenArithImmOpLong()
1605 OpRegRegImm(kOpXor, rl_result.reg.GetHigh(), rl_src1.reg.GetHigh(), val_hi); in GenArithImmOpLong()
1609 if ((val_lo != 0xffffffff) || (rl_result.reg.GetLowReg() != rl_src1.reg.GetLowReg())) { in GenArithImmOpLong()
1610 OpRegRegImm(kOpAnd, rl_result.reg.GetLow(), rl_src1.reg.GetLow(), val_lo); in GenArithImmOpLong()
1612 if ((val_hi != 0xffffffff) || (rl_result.reg.GetHighReg() != rl_src1.reg.GetHighReg())) { in GenArithImmOpLong()
1613 OpRegRegImm(kOpAnd, rl_result.reg.GetHigh(), rl_src1.reg.GetHigh(), val_hi); in GenArithImmOpLong()
1618 NewLIR3(kThumb2SubRRI8M, rl_result.reg.GetLowReg(), rl_src1.reg.GetLowReg(), mod_imm_lo); in GenArithImmOpLong()
1619 NewLIR3(kThumb2SbcRRI8M, rl_result.reg.GetHighReg(), rl_src1.reg.GetHighReg(), mod_imm_hi); in GenArithImmOpLong()
1624 StoreValueWide(rl_dest, rl_result); in GenArithImmOpLong()