/art/compiler/dex/quick/arm64/ |
D | call_arm64.cc | 84 OpRegRegImm(kOpSub, r_idx, r_idx, 1); in GenLargeSparseSwitch() 127 OpRegRegImm(kOpSub, key_reg, rl_src.reg, low_key); in GenLargePackedSwitch() 175 OpRegRegImm(kOpAdd, rs_x2, rs_x0, mirror::Object::MonitorOffset().Int32Value()); in GenMonitorEnter() 179 OpRegRegImm(kOpAnd, rs_w2, rs_w3, LockWord::kReadBarrierStateMaskShiftedToggled); in GenMonitorEnter() 183 OpRegRegImm(kOpAdd, rs_x2, rs_x0, mirror::Object::MonitorOffset().Int32Value()); in GenMonitorEnter() 231 OpRegRegImm(kOpAdd, rs_x3, rs_x0, mirror::Object::MonitorOffset().Int32Value()); in GenMonitorExit() 236 OpRegRegImm(kOpAnd, rs_w3, rs_w2, LockWord::kReadBarrierStateMaskShiftedToggled); in GenMonitorExit() 238 OpRegRegImm(kOpAnd, rs_w2, rs_w2, LockWord::kReadBarrierStateMaskShifted); in GenMonitorExit() 246 OpRegRegImm(kOpAdd, rs_x3, rs_x0, mirror::Object::MonitorOffset().Int32Value()); in GenMonitorExit() 278 OpRegRegImm(kOpLsr, reg_card_no, tgt_addr_reg, gc::accounting::CardTable::kCardShift); in UnconditionallyMarkGCCard() [all …]
|
D | int_arm64.cc | 165 OpRegRegImm(kOpAdd, t_reg2, left_op, delta); in GenSelect() 439 OpRegRegImm(kOpLsr, As64BitReg(r_long_mul), As64BitReg(r_long_mul), 32); in SmallLiteralDivRem() 443 OpRegRegImm(kOpAsr, As64BitReg(r_long_mul), As64BitReg(r_long_mul), in SmallLiteralDivRem() 450 OpRegRegImm(kOpAsr, r_long_mul, r_long_mul, magic_table[lit].shift); in SmallLiteralDivRem() 512 OpRegRegImm(kOpAsr, r_long_mul, r_long_mul, magic_table[lit].shift); in SmallLiteralDivRem64() 517 OpRegRegImm(kOpAsr, r_long_mul, r_long_mul, magic_table[lit].shift); in SmallLiteralDivRem64() 574 OpRegRegImm(kOpAsr, rl_result.reg, t_reg, k); in HandleEasyDivRem64() 576 OpRegRegImm(kOpAsr, t_reg, rl_src.reg, nbits - 1); in HandleEasyDivRem64() 578 OpRegRegImm(kOpAsr, rl_result.reg, t_reg, k); in HandleEasyDivRem64() 587 OpRegRegImm(kOpAsr, t_reg, rl_src.reg, nbits - 1); in HandleEasyDivRem64() [all …]
|
D | fp_arm64.cc | 385 OpRegRegImm(kOpAnd, rl_result.reg, rl_src.reg, 0x7fffffff); in GenInlinedAbsFloat()
|
D | codegen_arm64.h | 219 LIR* OpRegRegImm(OpKind op, RegStorage r_dest, RegStorage r_src1, int value) OVERRIDE;
|
D | utility_arm64.cc | 805 LIR* Arm64Mir2Lir::OpRegRegImm(OpKind op, RegStorage r_dest, RegStorage r_src1, int value) { in OpRegRegImm() function in art::Arm64Mir2Lir
|
/art/compiler/dex/quick/arm/ |
D | call_arm.cc | 95 OpRegRegImm(kOpSub, r_idx, r_idx, 1); // For value == 1, this should set flags. in GenLargeSparseSwitch() 124 OpRegRegImm(kOpSub, keyReg, rl_src.reg, low_key); in GenLargePackedSwitch() 168 OpRegRegImm(kOpAnd, rs_r3, rs_r1, LockWord::kReadBarrierStateMaskShiftedToggled); in GenMonitorEnter() 200 OpRegRegImm(kOpAnd, rs_r3, rs_r1, LockWord::kReadBarrierStateMaskShiftedToggled); in GenMonitorEnter() 253 OpRegRegImm(kOpAnd, rs_r3, rs_r1, LockWord::kReadBarrierStateMaskShiftedToggled); in GenMonitorExit() 255 OpRegRegImm(kOpAnd, rs_r1, rs_r1, LockWord::kReadBarrierStateMaskShifted); in GenMonitorExit() 294 OpRegRegImm(kOpAnd, rs_r3, rs_r1, LockWord::kReadBarrierStateMaskShiftedToggled); in GenMonitorExit() 296 OpRegRegImm(kOpAnd, rs_r1, rs_r1, LockWord::kReadBarrierStateMaskShifted); in GenMonitorExit() 353 OpRegRegImm(kOpLsr, reg_card_no, tgt_addr_reg, gc::accounting::CardTable::kCardShift); in UnconditionallyMarkGCCard() 410 OpRegRegImm(kOpSub, rs_r12, rs_rARM_SP, GetStackOverflowReservedBytes(kArm)); in GenEntrySequence() [all …]
|
D | int_arm.cc | 264 OpRegRegImm(kOpSub, rl_result.reg, rl_src.reg, -true_val); in GenSelect() 270 OpRegRegImm(kOpRsub, rl_result.reg, rl_src.reg, 1); in GenSelect() 547 OpRegRegImm(kOpAsr, r_lo, rl_src.reg, 31); in SmallLiteralDivRem() 553 OpRegRegImm(kOpAsr, r_lo, rl_src.reg, 31); in SmallLiteralDivRem() 669 OpRegRegImm(kOpLsl, r_tmp1, r_src, ops[0].shift); in GenEasyMultiplyTwoOps() 686 OpRegRegImm(kOpLsl, r_dest, r_tmp1, ops[1].shift); in GenEasyMultiplyTwoOps() 979 OpRegRegImm(kOpRsub, rl_result.reg, r_tmp, 1); in GenInlinedCas() 1051 OpRegRegImm(kOpLsl, rs_length, rs_length, 1); in GenInlinedArrayCopyCharArray() 1054 OpRegRegImm(kOpAnd, rs_tmp, rs_length, 2); in GenInlinedArrayCopyCharArray() 1153 OpRegRegImm(kOpLsl, rl_result.reg, rl_result.reg, first_bit); in GenMultiplyByTwoBitMultiplier() [all …]
|
D | utility_arm.cc | 513 LIR* ArmMir2Lir::OpRegRegImm(OpKind op, RegStorage r_dest, RegStorage r_src1, int value) { in OpRegRegImm() function in art::ArmMir2Lir 693 return OpRegRegImm(op, r_dest_src1, r_dest_src1, value); in OpRegImm() 890 OpRegRegImm(kOpAdd, r_ptr, r_base, displacement & ~kOffsetMask); in LoadStoreUsingInsnWithOffsetImm8Shl2() 1002 OpRegRegImm(kOpAdd, r_dest, r_base, displacement & ~(0x1f << scale)); in LoadBaseDispBody() 1006 OpRegRegImm(kOpAdd, r_dest, r_base, displacement & ~0x00000fff); in LoadBaseDispBody() 1045 OpRegRegImm(kOpAdd, r_ptr, r_base, displacement); in LoadBaseDisp() 1142 OpRegRegImm(kOpAdd, r_scratch, r_base, displacement & ~(0x1f << scale)); in StoreBaseDispBody() 1147 OpRegRegImm(kOpAdd, r_scratch, r_base, displacement & ~0x00000fff); in StoreBaseDispBody() 1188 OpRegRegImm(kOpAdd, r_ptr, r_base, displacement); in StoreBaseDisp() 1203 OpRegRegImm(kOpAdd, r_ptr, r_base, displacement); in StoreBaseDisp()
|
D | fp_arm.cc | 400 OpRegRegImm(kOpAnd, rl_result.reg, rl_src.reg, 0x7fffffff); in GenInlinedAbsFloat() 420 OpRegRegImm(kOpAnd, rl_result.reg.GetHigh(), rl_src.reg.GetHigh(), 0x7fffffff); in GenInlinedAbsDouble() 426 OpRegRegImm(kOpAnd, rl_result.reg.GetHigh(), rs_tmp, 0x7fffffff); in GenInlinedAbsDouble()
|
D | codegen_arm.h | 216 LIR* OpRegRegImm(OpKind op, RegStorage r_dest, RegStorage r_src1, int value);
|
/art/compiler/dex/quick/mips/ |
D | utility_mips.cc | 297 return OpRegRegImm(op, r_dest_src1, r_dest_src1, value); in OpRegImm() 346 LIR* MipsMir2Lir::OpRegRegImm(OpKind op, RegStorage r_dest, RegStorage r_src1, int value) { in OpRegRegImm() function in art::MipsMir2Lir 496 res = OpRegRegImm(kOpLsl, r_dest_src1, r_src2, 24); in OpRegReg() 497 OpRegRegImm(kOpAsr, r_dest_src1, r_dest_src1, 24); in OpRegReg() 509 res = OpRegRegImm(kOpLsl, r_dest_src1, r_src2, 16); in OpRegReg() 510 OpRegRegImm(kOpAsr, r_dest_src1, r_dest_src1, 16); in OpRegReg() 594 first = OpRegRegImm(kOpLsl, t_reg, r_index, scale); in LoadBaseIndexed() 601 first = OpRegRegImm(kOpLsl, t_reg, r_index, scale); in LoadBaseIndexed() 662 first = OpRegRegImm(kOpLsl, t_reg, r_index, scale); in StoreBaseIndexed() 764 res = OpRegRegImm(kOpAdd, r_tmp, r_base, displacement); in LoadBaseDispBody() [all …]
|
D | call_mips.cc | 183 OpRegRegImm(kOpSub, r_key, rl_src.reg, low_key); in GenLargePackedSwitch() 232 OpRegRegImm(kOpLsr, reg_card_no, tgt_addr_reg, gc::accounting::CardTable::kCardShift); in UnconditionallyMarkGCCard() 237 OpRegRegImm(kOpLsr, reg_card_no, tgt_addr_reg, gc::accounting::CardTable::kCardShift); in UnconditionallyMarkGCCard() 339 OpRegRegImm(kOpSub, new_sp, rs_sp, frame_sub); in GenEntrySequence()
|
D | fp_mips.cc | 271 OpRegRegImm(kOpAdd, rl_result.reg, rl_src.reg, 0x80000000); in GenNegFloat() 285 OpRegRegImm(kOpAdd, rl_result.reg.GetHigh(), rl_src.reg.GetHigh(), 0x80000000); in GenNegDouble()
|
D | int_mips.cc | 433 OpRegRegImm(kOpLsl, t_reg, rl_src.reg, second_bit - first_bit); in GenMultiplyByTwoBitMultiplier() 437 OpRegRegImm(kOpLsl, rl_result.reg, rl_result.reg, first_bit); in GenMultiplyByTwoBitMultiplier() 699 OpRegRegImm(kOpAdd, reg_ptr, rl_array.reg, data_offset); in GenArrayGet() 704 OpRegRegImm(kOpLsl, r_new_index, rl_index.reg, scale); in GenArrayGet() 798 OpRegRegImm(kOpLsl, r_new_index, rl_index.reg, scale); in GenArrayPut() 892 OpRegRegImm(op, rl_result.reg, rl_src1.reg, shift_amount); in GenShiftImmOpLong()
|
D | target_mips.cc | 797 OpRegRegImm(kOpAdd, reg_ptr, r_base, displacement); in GenAtomic64Load() 821 OpRegRegImm(kOpAdd, temp_ptr, r_base, displacement); in GenAtomic64Store()
|
D | codegen_mips.h | 213 LIR* OpRegRegImm(OpKind op, RegStorage r_dest, RegStorage r_src1, int value);
|
/art/compiler/dex/quick/ |
D | gen_common.cc | 450 OpRegRegImm(kOpAsr, rl_result.reg.GetHigh(), rl_result.reg.GetLow(), 31); in GenIntToLong() 603 OpRegRegImm(kOpAdd, r_src, TargetPtrReg(kSp), SRegOffset(rl_first.s_reg_low)); in GenFilledNewArray() 605 OpRegRegImm(kOpAdd, r_dst, ref_reg, in GenFilledNewArray() 623 OpRegRegImm(kOpAdd, ref_reg, r_dst, in GenFilledNewArray() 1598 OpRegRegImm(kOpAnd, t_reg, rl_src2.reg, 31); in GenArithOpInt() 1687 OpRegRegImm(kOpLsr, t_reg, rl_src.reg, 32 - k); in HandleEasyDivRem() 1689 OpRegRegImm(kOpAsr, rl_result.reg, t_reg, k); in HandleEasyDivRem() 1691 OpRegRegImm(kOpAsr, t_reg, rl_src.reg, 31); in HandleEasyDivRem() 1692 OpRegRegImm(kOpLsr, t_reg, t_reg, 32 - k); in HandleEasyDivRem() 1694 OpRegRegImm(kOpAsr, rl_result.reg, t_reg, k); in HandleEasyDivRem() [all …]
|
D | gen_invoke.cc | 744 OpRegRegImm(kOpAdd, TargetReg(kArg0, kRef), TargetPtrReg(kSp), outs_offset); in GenDalvikArgsBulkCopy() 745 OpRegRegImm(kOpAdd, TargetReg(kArg1, kRef), TargetPtrReg(kSp), start_offset); in GenDalvikArgsBulkCopy() 1013 OpRegRegImm(kOpAdd, reg_ptr, rl_obj.reg, value_offset); in GenInlinedCharAt() 1056 OpRegRegImm(kOpLsl, reg_tmp, reg_tmp, 1); in GenInlinedStringGetCharsNoCheck() 1062 OpRegRegImm(kOpLsl, reg_length, reg_length, 1); in GenInlinedStringGetCharsNoCheck() 1066 OpRegRegImm(kOpLsl, reg_tmp, reg_tmp, 1); in GenInlinedStringGetCharsNoCheck() 1103 OpRegRegImm(kOpLsr, rl_result.reg, rl_result.reg, 31); in GenInlinedStringIsEmptyOrLength() 1217 OpRegRegImm(kOpAsr, sign_reg, rl_src.reg, 31); in GenInlinedAbsInt() 1253 OpRegRegImm(kOpAsr, sign_reg, rl_src.reg, 63); in GenInlinedAbsLong() 1258 OpRegRegImm(kOpAsr, sign_reg, rl_src.reg.GetHigh(), 31); in GenInlinedAbsLong()
|
D | mir_to_lir.h | 1455 virtual LIR* OpRegRegImm(OpKind op, RegStorage r_dest, RegStorage r_src1, int value) = 0;
|
/art/compiler/dex/quick/x86/ |
D | call_x86.cc | 79 OpRegRegImm(kOpSub, keyReg, rl_src.reg, low_key); in GenLargePackedSwitch() 142 OpRegRegImm(kOpLsr, reg_card_no, tgt_addr_reg, gc::accounting::CardTable::kCardShift); in UnconditionallyMarkGCCard()
|
D | fp_x86.cc | 584 OpRegRegImm(kOpAdd, rl_result.reg, rl_src.reg, 0x80000000); in GenNegFloat() 600 OpRegRegImm(kOpAdd, rl_result.reg.GetHigh(), rl_result.reg.GetHigh(), 0x80000000); in GenNegDouble() 660 OpRegRegImm(kOpAnd, rl_result.reg, rl_src.reg, 0x7fffffff); in GenInlinedAbsFloat()
|
D | int_x86.cc | 756 OpRegRegImm(kOpMul, rs_r2, rs_r2, imm); in GenDivRemLit() 1469 OpRegRegImm(kOpLsl, t_reg, rl_src.reg, second_bit - first_bit); in GenMultiplyByTwoBitMultiplier() 1473 OpRegRegImm(kOpLsl, rl_result.reg, rl_result.reg, first_bit); in GenMultiplyByTwoBitMultiplier() 1632 OpRegRegImm(kOpMul, dest, src, val); in GenImulRegImm() 2573 OpRegRegImm(op, rl_result.reg, rl_src.reg, shift_amount); in GenShiftImmOpLong()
|
D | target_x86.cc | 1165 OpRegRegImm(kOpSub, tmp_reg, rs_rAX, pos_val); in GenInlinedArrayCopyCharArray() 1190 OpRegRegImm(kOpSub, tmp_reg, rs_rAX, pos_val); in GenInlinedArrayCopyCharArray() 1389 OpRegRegImm(kOpAdd, rs_rDI, rs_rDX, value_offset); in GenInlinedIndexOf()
|
D | codegen_x86.h | 312 LIR* OpRegRegImm(OpKind op, RegStorage r_dest, RegStorage r_src1, int value) OVERRIDE;
|
D | utility_x86.cc | 504 LIR* X86Mir2Lir::OpRegRegImm(OpKind op, RegStorage r_dest, RegStorage r_src, int value) { in OpRegRegImm() function in art::X86Mir2Lir
|