/art/compiler/dex/quick/ |
gen_loadstore.cc | 135 void Mir2Lir::StoreValue(RegLocation rl_dest, RegLocation rl_src) { 143 (rl_dest.s_reg_low != live_sreg_)); 144 live_sreg_ = rl_dest.s_reg_low; 148 DCHECK(!rl_dest.wide); 151 rl_dest = UpdateLoc(rl_dest); 155 (rl_dest.location == kLocPhysReg)) { 157 rl_dest = EvalLoc(rl_dest, rl_dest.ref || rl_src.ref ? kRefReg : kAnyReg, false) [all...] |
mir_to_lir.cc | 165 void Mir2Lir::LoadArgDirect(size_t in_position, RegLocation rl_dest) { 166 DCHECK_EQ(rl_dest.location, kLocPhysReg); 188 if (reg_arg.Valid() && rl_dest.wide && (reg_arg.GetWideKind() == kNotWide)) { 196 OpSize op_size = rl_dest.wide ? k64 : (rl_dest.ref ? kReference : k32); 197 LoadBaseDisp(TargetPtrReg(kSp), offset, rl_dest.reg, op_size, kNotVolatile); 199 if (rl_dest.wide) { 200 OpRegCopyWide(rl_dest.reg, reg_arg); 202 OpRegCopy(rl_dest.reg, reg_arg); 288 RegLocation rl_dest = IsWide(size) ? GetReturnWide(ret_reg_class) : GetReturn(ret_reg_class) local 386 RegLocation rl_dest = wide ? GetReturnWide(reg_class) : GetReturn(reg_class); local 416 RegLocation rl_dest = GetReturn(ShortyToRegClass(cu_->shorty[0])); local 478 RegLocation rl_dest = mir_graph_->GetBadLoc(); local 1140 RegLocation rl_dest = mir_graph_->GetDest(mir); local [all...] |
gen_common.cc | 443 void Mir2Lir::GenIntToLong(RegLocation rl_dest, RegLocation rl_src) { 444 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); 451 StoreValueWide(rl_dest, rl_result); 454 void Mir2Lir::GenLongToInt(RegLocation rl_dest, RegLocation rl_src) { 457 StoreValue(rl_dest, rl_src); 460 void Mir2Lir::GenIntNarrowing(Instruction::Code opcode, RegLocation rl_dest, 463 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); 479 StoreValue(rl_dest, rl_result); 487 void Mir2Lir::GenNewArray(uint32_t type_idx, RegLocation rl_dest, 517 StoreValue(rl_dest, GetReturn(kRefReg)) [all...] |
mir_to_lir.h | [all...] |
gen_invoke.cc | 975 RegLocation rl_dest = InlineTarget(info); local 1015 RegLocation rl_dest = InlineTarget(info); local 1090 RegLocation rl_dest = InlineTarget(info); local 1129 RegLocation rl_dest = InlineTarget(info); local 1145 RegLocation rl_dest = InlineTarget(info); local 1161 RegLocation rl_dest = InlineTarget(info); local 1171 RegLocation rl_dest = IsWide(size) ? InlineTargetWide(info) : InlineTarget(info); \/\/ result reg local 1207 RegLocation rl_dest = InlineTarget(info); local 1225 RegLocation rl_dest = InlineTargetWide(info); local 1306 RegLocation rl_dest = InlineTarget(info); local 1321 RegLocation rl_dest = InlineTargetWide(info); local 1381 RegLocation rl_dest = InlineTarget(info); local 1415 RegLocation rl_dest = InlineTarget(info); local 1421 RegLocation rl_dest = InlineTarget(info); local 1451 RegLocation rl_dest = is_long ? InlineTargetWide(info) : InlineTarget(info); \/\/ result reg local [all...] |
codegen_util.cc | [all...] |
/art/compiler/dex/quick/mips/ |
fp_mips.cc | 26 void MipsMir2Lir::GenArithOpFloat(Instruction::Code opcode, RegLocation rl_dest, 57 StoreValue(rl_dest, rl_result); 60 GenNegFloat(rl_dest, rl_src1); 67 rl_result = EvalLoc(rl_dest, kFPReg, true); 69 StoreValue(rl_dest, rl_result); 72 void MipsMir2Lir::GenArithOpDouble(Instruction::Code opcode, RegLocation rl_dest, 99 StoreValueWide(rl_dest, rl_result); 102 GenNegDouble(rl_dest, rl_src1); 111 rl_result = EvalLoc(rl_dest, kFPReg, true); 112 DCHECK(rl_dest.wide) [all...] |
int_mips.cc | 53 void MipsMir2Lir::GenCmpLong(RegLocation rl_dest, RegLocation rl_src1, RegLocation rl_src2) { 58 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); 63 StoreValue(rl_dest, rl_result); 67 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); 79 StoreValue(rl_dest, rl_result); 303 RegLocation MipsMir2Lir::GenDivRem(RegLocation rl_dest, RegStorage reg1, RegStorage reg2, 305 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); 316 RegLocation MipsMir2Lir::GenDivRemLit(RegLocation rl_dest, RegStorage reg1, int lit, bool is_div) { 325 RegLocation rl_result = GenDivRem(rl_dest, reg1, t_reg, is_div); 330 RegLocation MipsMir2Lir::GenDivRem(RegLocation rl_dest, RegLocation rl_src1, RegLocation rl_src2 375 RegLocation rl_dest = InlineTarget(info); local [all...] |
codegen_mips.h | 74 RegLocation rl_dest, int lit); 75 bool EasyMultiply(RegLocation rl_src, RegLocation rl_dest, int lit) OVERRIDE; 76 void GenMultiplyByConstantFloat(RegLocation rl_dest, RegLocation rl_src1, int32_t constant) 78 void GenMultiplyByConstantDouble(RegLocation rl_dest, RegLocation rl_src1, int64_t constant) 142 void GenShiftOpLong(Instruction::Code opcode, RegLocation rl_dest, RegLocation rl_src1, 144 void GenArithImmOpLong(Instruction::Code opcode, RegLocation rl_dest, RegLocation rl_src1, 147 RegLocation rl_dest, int scale); 150 void GenShiftImmOpLong(Instruction::Code opcode, RegLocation rl_dest, RegLocation rl_src1, 152 void GenArithOpDouble(Instruction::Code opcode, RegLocation rl_dest, RegLocation rl_src1, 154 void GenArithOpFloat(Instruction::Code opcode, RegLocation rl_dest, RegLocation rl_src1 [all...] |
call_mips.cc | 214 void MipsMir2Lir::GenMoveException(RegLocation rl_dest) { 217 RegLocation rl_result = EvalLoc(rl_dest, kRefReg, true); 223 StoreValue(rl_dest, rl_result);
|
/art/compiler/dex/quick/arm64/ |
fp_arm64.cc | 26 void Arm64Mir2Lir::GenArithOpFloat(Instruction::Code opcode, RegLocation rl_dest, 53 StoreValue(rl_dest, rl_result); 56 GenNegFloat(rl_dest, rl_src1); 63 rl_result = EvalLoc(rl_dest, kFPReg, true); 65 StoreValue(rl_dest, rl_result); 69 RegLocation rl_dest, RegLocation rl_src1, RegLocation rl_src2) { 101 StoreValueWide(rl_dest, rl_result); 104 GenNegDouble(rl_dest, rl_src1); 114 rl_result = EvalLoc(rl_dest, kFPReg, true); 115 DCHECK(rl_dest.wide) 376 RegLocation rl_dest = info->result; local 395 RegLocation rl_dest = info->result; local 412 RegLocation rl_dest = InlineTargetWide(info); \/\/ double place for result local 422 RegLocation rl_dest = InlineTargetWide(info); local 432 RegLocation rl_dest = InlineTargetWide(info); local 442 RegLocation rl_dest = InlineTargetWide(info); local 454 RegLocation rl_dest = (is_double) ? InlineTargetWide(info) : InlineTarget(info); local 475 RegLocation rl_dest = (is_double) ? InlineTargetWide(info) : InlineTarget(info); local [all...] |
codegen_arm64.h | 55 RegLocation rl_dest, int lit) OVERRIDE; 57 RegLocation rl_src, RegLocation rl_dest, int lit) OVERRIDE; 59 RegLocation rl_src, RegLocation rl_dest, int64_t lit); 60 bool EasyMultiply(RegLocation rl_src, RegLocation rl_dest, int lit) OVERRIDE; 61 void GenMultiplyByConstantFloat(RegLocation rl_dest, RegLocation rl_src1, 63 void GenMultiplyByConstantDouble(RegLocation rl_dest, RegLocation rl_src1, 131 void GenShiftOpLong(Instruction::Code opcode, RegLocation rl_dest, RegLocation rl_src1, 133 void GenArithImmOpLong(Instruction::Code opcode, RegLocation rl_dest, RegLocation rl_src1, 136 RegLocation rl_dest, int scale) OVERRIDE; 139 void GenShiftImmOpLong(Instruction::Code opcode, RegLocation rl_dest, RegLocation rl_src1 [all...] |
int_arm64.cc | 57 void Arm64Mir2Lir::GenCmpLong(RegLocation rl_dest, RegLocation rl_src1, 62 rl_result = EvalLoc(rl_dest, kCoreReg, true); 68 StoreValue(rl_dest, rl_result); 71 void Arm64Mir2Lir::GenShiftOpLong(Instruction::Code opcode, RegLocation rl_dest, 92 RegLocation rl_result = EvalLocWide(rl_dest, kCoreReg, true); 94 StoreValueWide(rl_dest, rl_result); 195 // rl_src may be aliased with rl_result/rl_dest, so do compare early. 198 RegLocation rl_dest = mir_graph_->GetDest(mir); 202 RegLocation rl_result = EvalLoc(rl_dest, rl_dest.ref ? kRefReg : kCoreReg, true) 666 RegLocation rl_dest = InlineTarget(info); local 681 RegLocation rl_dest = InlineTargetWide(info); local 699 RegLocation rl_dest = (is_long) ? InlineTargetWide(info) : InlineTarget(info); local 710 RegLocation rl_dest = (size == k64) ? InlineTargetWide(info) : InlineTarget(info); local 749 RegLocation rl_dest = InlineTarget(info); \/\/ boolean place for result local 1786 RegLocation rl_dest = IsWide(size) ? InlineTargetWide(info) : InlineTarget(info); \/\/ result reg local [all...] |
target_arm64.cc | 889 RegLocation rl_dest = mir_graph_->GetBadLoc(); local 895 rl_dest = mir_graph_->GetDest(mir); 899 GenMaddMsubInt(rl_dest, rl_src[0], rl_src[1], rl_src[2], opcode == kMirOpMsubInt); 903 rl_dest = mir_graph_->GetDestWide(mir); 907 GenMaddMsubLong(rl_dest, rl_src[0], rl_src[1], rl_src[2], opcode == kMirOpMsubLong);
|
call_arm64.cc | 266 void Arm64Mir2Lir::GenMoveException(RegLocation rl_dest) { 268 RegLocation rl_result = EvalLoc(rl_dest, kRefReg, true); 271 StoreValue(rl_dest, rl_result);
|
/art/compiler/dex/quick/x86/ |
fp_x86.cc | 27 RegLocation rl_dest, RegLocation rl_src1, RegLocation rl_src2) { 54 GenRemFP(rl_dest, rl_src1, rl_src2, false /* is_double */); 57 GenNegFloat(rl_dest, rl_src1); 64 rl_result = EvalLoc(rl_dest, kFPReg, true); 74 StoreValue(rl_dest, rl_result); 78 RegLocation rl_dest, RegLocation rl_src1, RegLocation rl_src2) { 79 DCHECK(rl_dest.wide); 80 DCHECK(rl_dest.fp); 107 GenRemFP(rl_dest, rl_src1, rl_src2, true /* is_double */); 110 GenNegDouble(rl_dest, rl_src1) 606 RegLocation rl_dest = InlineTargetWide(info); \/\/ double place for result local 624 RegLocation rl_dest = InlineTarget(info); local 668 RegLocation rl_dest = InlineTargetWide(info); local 733 RegLocation rl_dest = InlineTargetWide(info); local 772 RegLocation rl_dest = InlineTarget(info); local [all...] |
int_x86.cc | 37 void X86Mir2Lir::GenCmpLong(RegLocation rl_dest, RegLocation rl_src1, 42 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); 50 StoreValue(rl_dest, rl_result); 72 StoreValue(rl_dest, rl_result); 277 RegLocation rl_dest = mir_graph_->GetDest(mir); local 280 RegisterClass result_reg_class = rl_dest.ref ? kRefReg : kCoreReg; 292 rl_result = EvalLoc(rl_dest, result_reg_class, true); 298 rl_result = EvalLoc(rl_dest, result_reg_class, true); 355 rl_result = EvalLoc(rl_dest, result_reg_class, true); 385 StoreValue(rl_dest, rl_result) 869 RegLocation rl_dest = InlineTargetWide(info); local 988 RegLocation rl_dest = (is_long) ? InlineTargetWide(info) : InlineTarget(info); local 1032 RegLocation rl_dest = size == k64 ? InlineTargetWide(info) : InlineTarget(info); local 1261 RegLocation rl_dest = InlineTarget(info); \/\/ boolean place for result local 1304 RegLocation rl_dest = (size == k64) ? InlineTargetWide(info) : InlineTarget(info); local [all...] |
codegen_x86.h | 84 RegLocation rl_dest, int lit) OVERRIDE; 85 bool EasyMultiply(RegLocation rl_src, RegLocation rl_dest, int lit) OVERRIDE; 86 void GenMultiplyByConstantFloat(RegLocation rl_dest, RegLocation rl_src1, 88 void GenMultiplyByConstantDouble(RegLocation rl_dest, RegLocation rl_src1, 98 void GenLongToInt(RegLocation rl_dest, RegLocation rl_src); 176 RegLocation rl_dest, int scale) OVERRIDE; 180 void GenArithOpDouble(Instruction::Code opcode, RegLocation rl_dest, RegLocation rl_src1, 182 void GenArithOpFloat(Instruction::Code opcode, RegLocation rl_dest, RegLocation rl_src1, 184 void GenCmpFP(Instruction::Code opcode, RegLocation rl_dest, RegLocation rl_src1, 186 void GenConversion(Instruction::Code opcode, RegLocation rl_dest, RegLocation rl_src) OVERRIDE [all...] |
target_x86.cc | 898 void X86Mir2Lir::GenConstWide(RegLocation rl_dest, int64_t value) { 900 rl_dest = UpdateLocWide(rl_dest); 901 if ((rl_dest.location == kLocDalvikFrame) || 902 (rl_dest.location == kLocCompilerTemp)) { 906 int displacement = SRegOffset(rl_dest.s_reg_low); 919 Mir2Lir::GenConstWide(rl_dest, value); 1283 RegLocation rl_dest = InlineTarget(info); local 1992 RegLocation rl_src, rl_dest, rl_result; local 2135 RegLocation rl_dest = mir_graph_->GetDest(mir); local 2445 RegLocation rl_dest = InlineTarget(info); local 2460 RegLocation rl_dest = InlineTarget(info); local [all...] |
call_x86.cc | 124 void X86Mir2Lir::GenMoveException(RegLocation rl_dest) { 128 RegLocation rl_result = EvalLoc(rl_dest, kRefReg, true); 131 StoreValue(rl_dest, rl_result);
|
utility_x86.cc | 398 LIR* X86Mir2Lir::OpMemReg(OpKind op, RegLocation rl_dest, int r_value) { 399 DCHECK_NE(rl_dest.location, kLocPhysReg); 400 int displacement = SRegOffset(rl_dest.s_reg_low); 401 bool is64Bit = rl_dest.wide != 0; [all...] |
/art/compiler/dex/quick/arm/ |
fp_arm.cc | 26 void ArmMir2Lir::GenArithOpFloat(Instruction::Code opcode, RegLocation rl_dest, 57 StoreValue(rl_dest, rl_result); 60 GenNegFloat(rl_dest, rl_src1); 67 rl_result = EvalLoc(rl_dest, kFPReg, true); 69 StoreValue(rl_dest, rl_result); 73 RegLocation rl_dest, RegLocation rl_src1, RegLocation rl_src2) { 99 StoreValueWide(rl_dest, rl_result); 102 GenNegDouble(rl_dest, rl_src1); 112 rl_result = EvalLoc(rl_dest, kFPReg, true); 113 DCHECK(rl_dest.wide) 392 RegLocation rl_dest = info->result; local 410 RegLocation rl_dest = info->result; local 436 RegLocation rl_dest = InlineTargetWide(info); \/\/ double place for result local [all...] |
codegen_arm.h | 63 RegLocation rl_dest, int lit); 64 bool EasyMultiply(RegLocation rl_src, RegLocation rl_dest, int lit) OVERRIDE; 65 void GenMultiplyByConstantFloat(RegLocation rl_dest, RegLocation rl_src1, 67 void GenMultiplyByConstantDouble(RegLocation rl_dest, RegLocation rl_src1, 143 void GenArithOpLong(Instruction::Code opcode, RegLocation rl_dest, RegLocation rl_src1, 145 void GenArithImmOpLong(Instruction::Code opcode, RegLocation rl_dest, 148 RegLocation rl_index, RegLocation rl_dest, int scale); 151 void GenShiftImmOpLong(Instruction::Code opcode, RegLocation rl_dest, 153 void GenArithOpDouble(Instruction::Code opcode, RegLocation rl_dest, RegLocation rl_src1, 155 void GenArithOpFloat(Instruction::Code opcode, RegLocation rl_dest, RegLocation rl_src1 [all...] |
int_arm.cc | 133 void ArmMir2Lir::GenCmpLong(RegLocation rl_dest, RegLocation rl_src1, RegLocation rl_src2) { 158 StoreValue(rl_dest, rl_temp); 246 RegLocation rl_dest = mir_graph_->GetDest(mir); local 249 RegisterClass result_reg_class = rl_dest.ref ? kRefReg : kCoreReg; 256 rl_result = EvalLoc(rl_dest, result_reg_class, true); 299 rl_result = EvalLoc(rl_dest, result_reg_class, true); 315 StoreValue(rl_dest, rl_result); 520 RegLocation rl_src, RegLocation rl_dest, int lit) { 533 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); 537 // rl_dest and rl_src might overlap 774 RegLocation rl_dest = InlineTarget(info); local 788 RegLocation rl_dest = InlineTarget(info); local 840 RegLocation rl_dest = InlineTarget(info); \/\/ boolean place for result local [all...] |
target_arm.cc | 994 RegLocation rl_dest = mir_graph_->GetBadLoc(); local [all...] |