Lines Matching refs:r_src
428 LIR* ArmMir2Lir::OpMovMemReg(RegStorage r_base, int offset, RegStorage r_src, MoveType move_type) { in OpMovMemReg() argument
429 UNUSED(r_base, offset, r_src, move_type); in OpMovMemReg()
434 LIR* ArmMir2Lir::OpCondRegReg(OpKind op, ConditionCode cc, RegStorage r_dest, RegStorage r_src) { in OpCondRegReg() argument
435 UNUSED(op, cc, r_dest, r_src); in OpCondRegReg()
814 LIR* ArmMir2Lir::StoreBaseIndexed(RegStorage r_base, RegStorage r_index, RegStorage r_src, in StoreBaseIndexed() argument
816 bool all_low_regs = r_base.Low8() && r_index.Low8() && r_src.Low8(); in StoreBaseIndexed()
822 if (r_src.IsFloat()) { in StoreBaseIndexed()
823 if (r_src.IsSingle()) { in StoreBaseIndexed()
828 DCHECK(r_src.IsDouble()); in StoreBaseIndexed()
830 DCHECK_EQ((r_src.GetReg() & 0x1), 0); in StoreBaseIndexed()
850 store = NewLIR3(opcode, r_src.GetReg(), reg_ptr.GetReg(), 0); in StoreBaseIndexed()
872 store = NewLIR3(opcode, r_src.GetReg(), r_base.GetReg(), r_index.GetReg()); in StoreBaseIndexed()
874 store = NewLIR4(opcode, r_src.GetReg(), r_base.GetReg(), r_index.GetReg(), scale); in StoreBaseIndexed()
1060 LIR* ArmMir2Lir::StoreBaseDispBody(RegStorage r_base, int displacement, RegStorage r_src, in StoreBaseDispBody() argument
1066 bool all_low = r_src.Is32Bit() && r_base.Low8() && r_src.Low8(); in StoreBaseDispBody()
1073 if (r_src.IsFloat()) { in StoreBaseDispBody()
1077 if (r_src.IsPair()) { in StoreBaseDispBody()
1078 r_src = As64BitFloatReg(r_src); in StoreBaseDispBody()
1080 DCHECK(!r_src.IsPair()); in StoreBaseDispBody()
1081 store = LoadStoreUsingInsnWithOffsetImm8Shl2(kThumb2Vstrd, r_base, displacement, r_src); in StoreBaseDispBody()
1083 DCHECK(r_src.IsPair()); in StoreBaseDispBody()
1084 store = LoadStoreUsingInsnWithOffsetImm8Shl2(kThumb2StrdI8, r_base, displacement, r_src); in StoreBaseDispBody()
1093 if (r_src.IsFloat()) { in StoreBaseDispBody()
1094 DCHECK(r_src.IsSingle()); in StoreBaseDispBody()
1095 store = LoadStoreUsingInsnWithOffsetImm8Shl2(kThumb2Vstrs, r_base, displacement, r_src); in StoreBaseDispBody()
1101 if (r_src.Low8() && (r_base == rs_r13sp) && (displacement <= 1020) && (displacement >= 0)) { in StoreBaseDispBody()
1130 store = NewLIR3(opcode16, r_src.GetReg(), r_base.GetReg(), displacement >> scale); in StoreBaseDispBody()
1132 store = NewLIR3(opcode32, r_src.GetReg(), r_base.GetReg(), displacement); in StoreBaseDispBody()
1139 if (opcode16 != kThumbBkpt && r_src.Low8() && r_scratch.Low8() && in StoreBaseDispBody()
1143 store = NewLIR3(opcode16, r_src.GetReg(), r_scratch.GetReg(), in StoreBaseDispBody()
1148 store = NewLIR3(opcode32, r_src.GetReg(), r_scratch.GetReg(), displacement & 0x00000fff); in StoreBaseDispBody()
1158 DCHECK(!r_src.IsFloat()); in StoreBaseDispBody()
1159 store = StoreBaseIndexed(r_base, r_scratch, r_src, scale, size); in StoreBaseDispBody()
1167 AnnotateDalvikRegAccess(store, displacement >> 2, false /* is_load */, r_src.Is64Bit()); in StoreBaseDispBody()
1172 LIR* ArmMir2Lir::StoreBaseDisp(RegStorage r_base, int displacement, RegStorage r_src, in StoreBaseDisp() argument
1186 DCHECK(!r_src.IsFloat()); // See RegClassForFieldLoadSave(). in StoreBaseDisp()
1205 NewLIR4(kThumb2Strexd, r_temp.GetReg(), r_src.GetLowReg(), r_src.GetHighReg(), r_ptr.GetReg()); in StoreBaseDisp()
1214 null_ck_insn = StoreBaseDispBody(r_base, displacement, r_src, size); in StoreBaseDisp()
1226 LIR* ArmMir2Lir::OpFpRegCopy(RegStorage r_dest, RegStorage r_src) { in OpFpRegCopy() argument
1228 DCHECK_EQ(r_dest.IsDouble(), r_src.IsDouble()); in OpFpRegCopy()
1233 opcode = r_src.IsSingle() ? kThumb2Vmovs : kThumb2Fmsr; in OpFpRegCopy()
1235 DCHECK(r_src.IsSingle()); in OpFpRegCopy()
1239 LIR* res = RawLIR(current_dalvik_offset_, opcode, r_dest.GetReg(), r_src.GetReg()); in OpFpRegCopy()
1240 if (!(cu_->disable_opt & (1 << kSafeOptimizations)) && r_dest == r_src) { in OpFpRegCopy()