Lines Matching refs:GetReg
292 SetupRegMask(def_mask, rs_rAX.GetReg()); in SetupTargetResourceMasks()
296 SetupRegMask(def_mask, rs_rDX.GetReg()); in SetupTargetResourceMasks()
299 SetupRegMask(use_mask, rs_rAX.GetReg()); in SetupTargetResourceMasks()
303 SetupRegMask(use_mask, rs_rCX.GetReg()); in SetupTargetResourceMasks()
307 SetupRegMask(use_mask, rs_rDX.GetReg()); in SetupTargetResourceMasks()
311 SetupRegMask(use_mask, rs_rBX.GetReg()); in SetupTargetResourceMasks()
316 SetupRegMask(use_mask, rs_rAX.GetReg()); in SetupTargetResourceMasks()
317 SetupRegMask(use_mask, rs_rCX.GetReg()); in SetupTargetResourceMasks()
318 SetupRegMask(use_mask, rs_rDI.GetReg()); in SetupTargetResourceMasks()
319 SetupRegMask(def_mask, rs_rDI.GetReg()); in SetupTargetResourceMasks()
479 return GetRegInfo(reg)->Master()->GetReg(); in Get128BitRegister()
523 DCHECK_EQ(res.reg.GetLowReg(), rs_rAX.GetReg()); in GetReturnWideAlt()
524 DCHECK_EQ(res.reg.GetHighReg(), rs_rDX.GetReg()); in GetReturnWideAlt()
535 res.reg.SetReg(rs_rDX.GetReg()); in GetReturnAlt()
660 reginfo_map_[reg.GetReg()] = info; in CompilerInitializeRegAlloc()
677 int sp_reg_num = info->GetReg().GetRegNum(); in CompilerInitializeRegAlloc()
697 int x_reg_num = info->GetReg().GetRegNum(); in CompilerInitializeRegAlloc()
874 NewLIR2(kX86Mov64RT, rs_rAX.GetReg(), in CheckSuspendUsingLoad()
877 NewLIR2(kX86Mov32RT, rs_rAX.GetReg(), in CheckSuspendUsingLoad()
880 return NewLIR3(kX86Test32RM, rs_rAX.GetReg(), rs_rAX.GetReg(), 0); in CheckSuspendUsingLoad()
905 int r_base = rs_rX86_SP_32.GetReg(); in GenConstWide()
953 TargetReg(symbolic_reg, kNotWide).GetReg(), in LoadMethodAddress()
972 TargetReg(symbolic_reg, kNotWide).GetReg(), in LoadClassType()
1198 NewLIR5(kX86Lea32RA, rs_rAX.GetReg(), rs_rAX.GetReg(), in GenInlinedArrayCopyCharArray()
1199 rs_rCX.GetReg(), 1, mirror::Array::DataOffset(2).Int32Value()); in GenInlinedArrayCopyCharArray()
1203 NewLIR5(kX86Lea32RA, tmp_reg.GetReg(), tmp_reg.GetReg(), in GenInlinedArrayCopyCharArray()
1204 rs_rCX.GetReg(), 1, mirror::Array::DataOffset(2).Int32Value() ); in GenInlinedArrayCopyCharArray()
1319 NewLIR1(kX86Push32R, rs_rDI.GetReg()); in GenInlinedIndexOf()
1322 if (!CoreSpillMaskContains(rs_rDI.GetReg())) { in GenInlinedIndexOf()
1323 cfi_.RelOffset(DwarfCoreReg(cu_->target64, rs_rDI.GetReg()), 0); in GenInlinedIndexOf()
1405 NewLIR3(kX86Lea32RM, rl_return.reg.GetReg(), rs_tmp.GetReg(), -1); in GenInlinedIndexOf()
1419 NewLIR1(kX86Pop32R, rs_rDI.GetReg()); in GenInlinedIndexOf()
1421 if (!CoreSpillMaskContains(rs_rDI.GetReg())) { in GenInlinedIndexOf()
1422 cfi_.Restore(DwarfCoreReg(cu_->target64, rs_rDI.GetReg())); in GenInlinedIndexOf()
1511 info->GetReg().IsSingle() ? ®_pool_->sp_regs_ : ®_pool_->dp_regs_; in ReserveVectorRegisters()
1527 if (info->GetReg().IsSingle()) { in ReturnVectorRegisters()
1541 int reg = rs_dest.GetReg(); in GenConst128()
1579 load = NewLIR3(opcode, reg, r_pc.GetReg(), kDummy32BitOffset); in AppendOpcodeWithConst()
1595 NewLIR2(kX86MovdqaRR, rs_dest.GetReg(), rs_src.GetReg()); in GenMoveVector()
1618 NewLIR2(kX86MovdqaRR, rs_src1_high_tmp.GetReg(), rs_src2.GetReg()); in GenMultiplyVectorSignedByte()
1619 NewLIR2(kX86MovdqaRR, rs_dest_high_tmp.GetReg(), rs_dest_src1.GetReg()); in GenMultiplyVectorSignedByte()
1623 NewLIR2(kX86PmullwRR, rs_dest_src1.GetReg(), rs_src2.GetReg()); in GenMultiplyVectorSignedByte()
1629 NewLIR2(kX86PsrlwRI, rs_src1_high_tmp.GetReg(), 0x8); in GenMultiplyVectorSignedByte()
1633 NewLIR2(kX86PmullwRR, rs_src1_high_tmp.GetReg(), rs_dest_high_tmp.GetReg()); in GenMultiplyVectorSignedByte()
1636 NewLIR2(kX86PorRR, rs_dest_src1.GetReg(), rs_src1_high_tmp.GetReg()); in GenMultiplyVectorSignedByte()
1677 bool both_operands_same = (rs_dest_src1.GetReg() == rs_src2.GetReg()); in GenMultiplyVectorLong()
1682 NewLIR2(kX86MovdqaRR, rs_tmp_vector_1.GetReg(), rs_dest_src1.GetReg()); in GenMultiplyVectorLong()
1686 NewLIR2(kX86MovdqaRR, rs_tmp_vector_2.GetReg(), rs_src2.GetReg()); in GenMultiplyVectorLong()
1687 NewLIR2(kX86PsrlqRI, rs_tmp_vector_2.GetReg(), 0x20); in GenMultiplyVectorLong()
1688 NewLIR2(kX86PmuludqRR, rs_tmp_vector_2.GetReg(), rs_tmp_vector_1.GetReg()); in GenMultiplyVectorLong()
1691 NewLIR2(kX86PsrlqRI, rs_dest_src1.GetReg(), 0x20); in GenMultiplyVectorLong()
1692 NewLIR2(kX86PmuludqRR, rs_dest_src1.GetReg(), rs_src2.GetReg()); in GenMultiplyVectorLong()
1695 NewLIR2(kX86PaddqRR, rs_dest_src1.GetReg(), rs_tmp_vector_2.GetReg()); in GenMultiplyVectorLong()
1697 NewLIR2(kX86PaddqRR, rs_dest_src1.GetReg(), rs_dest_src1.GetReg()); in GenMultiplyVectorLong()
1700 NewLIR2(kX86PsllqRI, rs_dest_src1.GetReg(), 0x20); in GenMultiplyVectorLong()
1701 NewLIR2(kX86PmuludqRR, rs_tmp_vector_1.GetReg(), rs_src2.GetReg()); in GenMultiplyVectorLong()
1702 NewLIR2(kX86PaddqRR, rs_dest_src1.GetReg(), rs_tmp_vector_1.GetReg()); in GenMultiplyVectorLong()
1736 NewLIR2(opcode, rs_dest_src1.GetReg(), rs_src2.GetReg()); in GenMultiplyVector()
1771 NewLIR2(opcode, rs_dest_src1.GetReg(), rs_src2.GetReg()); in GenAddVector()
1806 NewLIR2(opcode, rs_dest_src1.GetReg(), rs_src2.GetReg()); in GenSubtractVector()
1830 NewLIR2(kX86PxorRR, rs_dest_src1.GetReg(), rs_dest_src1.GetReg()); in GenShiftByteVector()
1835 NewLIR2(opcode, rs_dest_src1.GetReg(), imm); in GenShiftByteVector()
1879 NewLIR2(opcode, rs_dest_src1.GetReg(), imm); in GenShiftLeftVector()
1907 NewLIR2(opcode, rs_dest_src1.GetReg(), imm); in GenSignedShiftRightVector()
1936 NewLIR2(opcode, rs_dest_src1.GetReg(), imm); in GenUnsignedShiftRightVector()
1945 NewLIR2(kX86PandRR, rs_dest_src1.GetReg(), rs_src2.GetReg()); in GenAndVector()
1954 NewLIR2(kX86PorRR, rs_dest_src1.GetReg(), rs_src2.GetReg()); in GenOrVector()
1963 NewLIR2(kX86PxorRR, rs_dest_src1.GetReg(), rs_src2.GetReg()); in GenXorVector()
1981 AppendOpcodeWithConst(opcode, rs_src1.GetReg(), const_mirp); in MaskVectorRegister()
2015 NewLIR2(kX86AddssRR, rl_result.reg.GetReg(), vector_src.GetReg()); in GenAddReduceVector()
2020 NewLIR3(kX86ShufpsRRI, vector_src.GetReg(), vector_src.GetReg(), 0x39); in GenAddReduceVector()
2021 NewLIR2(kX86AddssRR, rl_result.reg.GetReg(), vector_src.GetReg()); in GenAddReduceVector()
2044 NewLIR2(kX86MovdqaRR, rs_tmp_vector.GetReg(), vector_src.GetReg()); in GenAddReduceVector()
2045 NewLIR2(kX86PsrldqRI, rs_tmp_vector.GetReg(), 8); in GenAddReduceVector()
2046 NewLIR2(kX86PaddqRR, vector_src.GetReg(), rs_tmp_vector.GetReg()); in GenAddReduceVector()
2059 NewLIR2(kX86MovqrxRR, temp_loc.reg.GetReg(), vector_src.GetReg()); in GenAddReduceVector()
2061 NewLIR2(kX86MovdrxRR, temp_loc.reg.GetLowReg(), vector_src.GetReg()); in GenAddReduceVector()
2062 NewLIR2(kX86PsrlqRI, vector_src.GetReg(), 0x20); in GenAddReduceVector()
2063 NewLIR2(kX86MovdrxRR, temp_loc.reg.GetHighReg(), vector_src.GetReg()); in GenAddReduceVector()
2069 NewLIR2(kX86PxorRR, rs_tmp.GetReg(), rs_tmp.GetReg()); in GenAddReduceVector()
2070 NewLIR2(kX86PsadbwRR, vector_src.GetReg(), rs_tmp.GetReg()); in GenAddReduceVector()
2071 NewLIR3(kX86PshufdRRI, rs_tmp.GetReg(), vector_src.GetReg(), 0x4e); in GenAddReduceVector()
2072 NewLIR2(kX86PaddbRR, vector_src.GetReg(), rs_tmp.GetReg()); in GenAddReduceVector()
2075 NewLIR2(kX86MovdrxRR, temp.GetReg(), vector_src.GetReg()); in GenAddReduceVector()
2102 NewLIR2(horizontal_add_opcode, vector_src.GetReg(), vector_src.GetReg()); in GenAddReduceVector()
2111 NewLIR3(extract_opcode, temp.GetReg(), vector_src.GetReg(), 0); in GenAddReduceVector()
2128 OpMemReg(kOpAdd, rl_result, temp.GetReg()); in GenAddReduceVector()
2148 NewLIR2(kX86PxorRR, rl_result.reg.GetReg(), rl_result.reg.GetReg()); in GenReduceVector()
2166 NewLIR3(kX86ShufpsRRI, vector_src.GetReg(), vector_src.GetReg(), mask); in GenReduceVector()
2167 NewLIR2(kX86AddssRR, rl_result.reg.GetReg(), vector_src.GetReg()); in GenReduceVector()
2168 NewLIR3(kX86ShufpsRRI, vector_src.GetReg(), vector_src.GetReg(), mask); in GenReduceVector()
2171 NewLIR2(kX86AddssRR, rl_result.reg.GetReg(), vector_src.GetReg()); in GenReduceVector()
2190 NewLIR2(kX86PsrldqRI, vector_src.GetReg(), 8); in GenReduceVector()
2194 NewLIR2(kX86MovqrxRR, rl_result.reg.GetReg(), vector_src.GetReg()); in GenReduceVector()
2196 NewLIR2(kX86MovdrxRR, rl_result.reg.GetLowReg(), vector_src.GetReg()); in GenReduceVector()
2197 NewLIR2(kX86PsrlqRI, vector_src.GetReg(), 0x20); in GenReduceVector()
2198 NewLIR2(kX86MovdrxRR, rl_result.reg.GetHighReg(), vector_src.GetReg()); in GenReduceVector()
2225 NewLIR3(extr_opcode, rl_result.reg.GetReg(), vector_src.GetReg(), extract_index); in GenReduceVector()
2230 LIR *l = NewLIR4(extr_opcode, rs_rX86_SP_32.GetReg(), displacement, vector_src.GetReg(), in GenReduceVector()
2241 NewLIR2(kX86MovdxrRR, rs_dest.GetReg(), rs_src.GetLowReg()); in LoadVectorRegister()
2243 NewLIR2(kX86MovdxrRR, r_tmp.GetReg(), rs_src.GetHighReg()); in LoadVectorRegister()
2244 NewLIR2(kX86PunpckldqRR, rs_dest.GetReg(), r_tmp.GetReg()); in LoadVectorRegister()
2247 NewLIR2(op_mov, rs_dest.GetReg(), rs_src.GetReg()); in LoadVectorRegister()
2309 NewLIR2(kX86PunpcklbwRR, rs_dest.GetReg(), rs_dest.GetReg()); in GenSetVector()
2310 NewLIR2(kX86PunpcklwdRR, rs_dest.GetReg(), rs_dest.GetReg()); in GenSetVector()
2315 NewLIR2(op_shuffle, rs_dest.GetReg(), rs_dest.GetReg()); in GenSetVector()
2317 NewLIR3(op_shuffle, rs_dest.GetReg(), rs_dest.GetReg(), 0); in GenSetVector()
2322 NewLIR3(op_shuffle_high, rs_dest.GetReg(), rs_dest.GetReg(), 0); in GenSetVector()