Lines Matching refs:NewLIR2

45     NewLIR2(kX86Set8R, rl_result.reg.GetReg(), kX86CondG);   // result = (src1 > src2) ? 1 : 0  in GenCmpLong()
46 NewLIR2(kX86Set8R, temp_reg.GetReg(), kX86CondL); // temp = (src1 >= src2) ? 0 : 1 in GenCmpLong()
47 NewLIR2(kX86Sub8RR, rl_result.reg.GetReg(), temp_reg.GetReg()); in GenCmpLong()
48 NewLIR2(kX86Movsx8qRR, rl_result.reg.GetReg(), rl_result.reg.GetReg()); in GenCmpLong()
64 NewLIR2(kX86Set8R, rs_r2.GetReg(), kX86CondL); // r2 = (r1:r0) < (r3:r2) ? 1 : 0 in GenCmpLong()
65 NewLIR2(kX86Movzx8RR, rs_r2.GetReg(), rs_r2.GetReg()); in GenCmpLong()
68 NewLIR2(kX86Set8R, rs_r0.GetReg(), kX86CondNz); // r0 = (r1:r0) != (r3:r2) ? 1 : 0 in GenCmpLong()
69 NewLIR2(kX86Movzx8RR, r0, r0); in GenCmpLong()
100 NewLIR2(src1.Is64Bit() ? kX86Cmp64RR : kX86Cmp32RR, src1.GetReg(), src2.GetReg()); in OpCmpBranch()
102 LIR* branch = NewLIR2(kX86Jcc8, 0 /* lir operand for Jcc offset */ , in OpCmpBranch()
112 NewLIR2(reg.Is64Bit() ? kX86Test64RR: kX86Test32RR, reg.GetReg(), reg.GetReg()); in OpCmpImmBranch()
115 NewLIR2(IS_SIMM8(check_value) ? kX86Cmp64RI8 : kX86Cmp64RI, reg.GetReg(), check_value); in OpCmpImmBranch()
117 NewLIR2(IS_SIMM8(check_value) ? kX86Cmp32RI8 : kX86Cmp32RI, reg.GetReg(), check_value); in OpCmpImmBranch()
121 LIR* branch = NewLIR2(kX86Jcc8, 0 /* lir operand for Jcc offset */ , cc); in OpCmpImmBranch()
163 NewLIR2(kX86MovqxrRR, r_dest.GetReg(), r_src.GetReg()); in OpRegCopyWide()
165 NewLIR2(kX86MovdxrRR, r_dest.GetReg(), r_src.GetLowReg()); in OpRegCopyWide()
167 NewLIR2(kX86MovdxrRR, r_tmp.GetReg(), r_src.GetHighReg()); in OpRegCopyWide()
168 NewLIR2(kX86PunpckldqRR, r_dest.GetReg(), r_tmp.GetReg()); in OpRegCopyWide()
176 NewLIR2(kX86MovqrxRR, r_dest.GetReg(), r_src.GetReg()); in OpRegCopyWide()
178 NewLIR2(kX86MovdrxRR, r_dest.GetLowReg(), r_src.GetReg()); in OpRegCopyWide()
180 NewLIR2(kX86MovsdRR, temp_reg.GetReg(), r_src.GetReg()); in OpRegCopyWide()
181 NewLIR2(kX86PsrlqRI, temp_reg.GetReg(), 32); in OpRegCopyWide()
182 NewLIR2(kX86MovdrxRR, r_dest.GetHighReg(), temp_reg.GetReg()); in OpRegCopyWide()
234 NewLIR2(kX86Set8R, rs_dest.GetReg(), in GenSelectConst32()
237 NewLIR2(rs_dest.Is64Bit() ? kX86Movzx8qRR : kX86Movzx8RR, rs_dest.GetReg(), rs_dest.GetReg()); in GenSelectConst32()
462 NewLIR2(kX86Test64RR, rl_src1.reg.GetReg(), rl_src1.reg.GetReg()); in GenFusedLongCmpImmBranch()
499 NewLIR2(kX86Sbb32RI, high_reg.GetReg(), val_hi); in GenFusedLongCmpImmBranch()
514 NewLIR2(kX86Sbb32RI, high_reg.GetReg(), val_hi); in GenFusedLongCmpImmBranch()
521 NewLIR2(kX86Sbb32RI, t_reg.GetReg(), val_hi); in GenFusedLongCmpImmBranch()
627 LIR* branch = NewLIR2(kX86Jcc8, 0, kX86CondEq); in GenDivRemLit()
631 LIR *minint_branch = NewLIR2(kX86Jcc8, 0, kX86CondEq); in GenDivRemLit()
654 LIR* branch = NewLIR2(kX86Jcc8, 0, kX86CondNe); in GenDivRemLit()
660 NewLIR2(kX86Test32RR, rl_src.reg.GetReg(), rl_src.reg.GetReg()); in GenDivRemLit()
710 LIR* branch = NewLIR2(kX86Jcc8, 0, kX86CondNe); in GenDivRemLit()
725 NewLIR2(kX86Add32RR, rs_r2.GetReg(), numerator_reg.GetReg()); in GenDivRemLit()
728 NewLIR2(kX86Sub32RR, rs_r2.GetReg(), numerator_reg.GetReg()); in GenDivRemLit()
734 NewLIR2(kX86Sar32RI, rs_r2.GetReg(), shift); in GenDivRemLit()
743 NewLIR2(kX86Shr32RI, rs_r2.GetReg(), 31); in GenDivRemLit()
746 NewLIR2(kX86Add32RR, rs_r2.GetReg(), rs_r0.GetReg()); in GenDivRemLit()
759 NewLIR2(kX86Sub32RR, rs_r0.GetReg(), rs_r2.GetReg()); in GenDivRemLit()
800 LIR* branch = NewLIR2(kX86Jcc8, 0, kX86CondEq); in GenDivRem()
804 LIR* minus_one_branch = NewLIR2(kX86Jcc8, 0, kX86CondNe); in GenDivRem()
808 LIR* minint_branch = NewLIR2(kX86Jcc8, 0, kX86CondNe); in GenDivRem()
1097 NewLIR2(kX86Cmp16TI8, offset.Int32Value(), val); in OpTlsCmp()
1102 NewLIR2(kX86Cmp16TI8, offset.Int32Value(), val); in OpTlsCmp()
1269 NewLIR2(kX86Set8R, result_reg.GetReg(), kX86CondZ); in GenInlinedCas()
1270 NewLIR2(kX86Movzx8RR, rl_result.reg.GetReg(), result_reg.GetReg()); in GenInlinedCas()
1481 NewLIR2(kX86Cmp64RI8, reg.GetReg(), 0); in GenDivZeroCheckWide()
1626 NewLIR2(kX86Xor32RR, dest.GetReg(), dest.GetReg()); in GenImulRegImm()
1645 NewLIR2(kX86Xor32RR, dest.GetReg(), dest.GetReg()); in GenImulMemImm()
1786 NewLIR2(kX86Add32RR, rs_r1.GetReg(), rs_r0.GetReg()); in GenMulLongConst()
1795 LIR *m = NewLIR2(kX86Mul32DaM, rs_rX86_SP_32.GetReg(), displacement + LOWORD_OFFSET); in GenMulLongConst()
1801 NewLIR2(kX86Add32RR, rs_r2.GetReg(), rs_r1.GetReg()); in GenMulLongConst()
1833 NewLIR2(kX86Imul64RR, rl_result.reg.GetReg(), rl_result.reg.GetReg()); in GenMulLong()
1836 NewLIR2(kX86Imul64RR, rl_result.reg.GetReg(), rl_src1.reg.GetReg()); in GenMulLong()
1839 NewLIR2(kX86Imul64RR, rl_result.reg.GetReg(), rl_src2.reg.GetReg()); in GenMulLong()
1842 NewLIR2(kX86Imul64RR, rl_result.reg.GetReg(), rl_src2.reg.GetReg()); in GenMulLong()
1865 NewLIR2(kX86Mov32RR, rs_r1.GetReg(), rl_src1.reg.GetHighReg()); in GenMulLong()
1875 NewLIR2(kX86Imul32RR, rs_r1.GetReg(), rl_src2.reg.GetLowReg()); in GenMulLong()
1885 NewLIR2(kX86Add32RR, rs_r1.GetReg(), rs_r1.GetReg()); in GenMulLong()
1889 NewLIR2(kX86Mov32RR, rs_r0.GetReg(), rl_src2.reg.GetHighReg()); in GenMulLong()
1897 NewLIR2(kX86Imul32RR, rs_r0.GetReg(), rl_src1.reg.GetLowReg()); in GenMulLong()
1908 NewLIR2(kX86Imul32RR, rs_r1.GetReg(), rl_src2.reg.GetLowReg()); in GenMulLong()
1918 NewLIR2(kX86Add32RR, rs_r1.GetReg(), rs_r0.GetReg()); in GenMulLong()
1923 NewLIR2(kX86Mov32RR, rs_r0.GetReg(), rl_src2.reg.GetLowReg()); in GenMulLong()
1934 LIR *m = NewLIR2(kX86Mul32DaM, rs_rX86_SP_32.GetReg(), displacement + LOWORD_OFFSET); in GenMulLong()
1940 NewLIR2(kX86Add32RR, rs_r2.GetReg(), rs_r1.GetReg()); in GenMulLong()
1956 NewLIR2(x86op, rl_dest.reg.GetReg(), rl_src.reg.GetReg()); in GenLongRegOrMemOp()
1965 NewLIR2(x86op, rl_dest.reg.GetLowReg(), rl_src.reg.GetLowReg()); in GenLongRegOrMemOp()
1968 NewLIR2(x86op, rl_dest.reg.GetHighReg(), rl_src.reg.GetHighReg()); in GenLongRegOrMemOp()
2172 LIR *minint_branch = NewLIR2(kX86Jcc8, 0, kX86CondEq); in GenDivRemLongLit()
2196 NewLIR2(kX86Test64RR, rl_src.reg.GetReg(), rl_src.reg.GetReg()); in GenDivRemLongLit()
2259 LIR *m = NewLIR2(kX86Imul64DaM, rs_rX86_SP_32.GetReg(), displacement); in GenDivRemLongLit()
2306 NewLIR2(kX86Imul64RR, rs_r2q.GetReg(), rs_temp.GetReg()); in GenDivRemLongLit()
2361 NewLIR2(kX86Cmp64RI8, rs_r1q.GetReg(), -1); in GenDivRemLong()
2362 LIR* minus_one_branch = NewLIR2(kX86Jcc8, 0, kX86CondNe); in GenDivRemLong()
2366 NewLIR2(kX86Cmp64RR, rs_r0q.GetReg(), rs_r6q.GetReg()); in GenDivRemLong()
2367 LIR *minint_branch = NewLIR2(kX86Jcc8, 0, kX86CondNe); in GenDivRemLong()
2372 NewLIR2(kX86Xor64RR, rs_r2q.GetReg(), rs_r2q.GetReg()); in GenDivRemLong()
2416 NewLIR2(opcode, r_dest.GetReg(), thread_offset.Int32Value()); in OpRegThreadMem()
2439 NewLIR2(opcode, r_dest.GetReg(), thread_offset.Int32Value()); in OpRegThreadMem()
2584 NewLIR2(kX86Sal32RI, rl_result.reg.GetHighReg(), shift_amount - 32); in GenShiftImmOpLong()
2591 NewLIR2(kX86Sal32RI, rl_result.reg.GetLowReg(), shift_amount); in GenShiftImmOpLong()
2599 NewLIR2(kX86Sar32RI, rl_result.reg.GetHighReg(), 31); in GenShiftImmOpLong()
2603 NewLIR2(kX86Sar32RI, rl_result.reg.GetLowReg(), shift_amount - 32); in GenShiftImmOpLong()
2604 NewLIR2(kX86Sar32RI, rl_result.reg.GetHighReg(), 31); in GenShiftImmOpLong()
2610 NewLIR2(kX86Sar32RI, rl_result.reg.GetHighReg(), shift_amount); in GenShiftImmOpLong()
2620 NewLIR2(kX86Shr32RI, rl_result.reg.GetLowReg(), shift_amount - 32); in GenShiftImmOpLong()
2627 NewLIR2(kX86Shr32RI, rl_result.reg.GetHighReg(), shift_amount); in GenShiftImmOpLong()
2887 NewLIR2(x86op, rl_result.reg.GetReg(), val); in GenLongImm()
2929 NewLIR2(x86op, rl_result.reg.GetLowReg(), val_lo); in GenLongImm()
2933 NewLIR2(x86op, rl_result.reg.GetHighReg(), val_hi); in GenLongImm()
2953 NewLIR2(x86op, rl_dest.reg.GetReg(), val); in GenLongLongImm()
2963 NewLIR2(x86op, rl_result.reg.GetReg(), val); in GenLongLongImm()
2980 NewLIR2(x86op, rl_dest.reg.GetLowReg(), val_lo); in GenLongLongImm()
2984 NewLIR2(x86op, rl_dest.reg.GetHighReg(), val_hi); in GenLongLongImm()
2998 NewLIR2(x86op, rl_result.reg.GetLowReg(), val_lo); in GenLongLongImm()
3002 NewLIR2(x86op, rl_result.reg.GetHighReg(), val_hi); in GenLongLongImm()
3066 NewLIR2(kX86Set8R, result_reg.GetReg(), kX86CondEq); in GenInstanceofFinal()
3340 NewLIR2(kX86MovsxdRR, rl_result.reg.GetReg(), rl_src.reg.GetReg()); in GenIntToLong()
3388 NewLIR2(kX86Sal32RC, r_tmp.GetLowReg(), rs_rCX.GetReg()); in GenShiftOpLong()
3389 NewLIR2(kX86Test8RI, rs_rCX.GetReg(), 32); in GenShiftOpLong()
3390 branch = NewLIR2(kX86Jcc8, 0, kX86CondZ); in GenShiftOpLong()
3398 NewLIR2(kX86Sar32RC, r_tmp.GetHighReg(), rs_rCX.GetReg()); in GenShiftOpLong()
3399 NewLIR2(kX86Test8RI, rs_rCX.GetReg(), 32); in GenShiftOpLong()
3400 branch = NewLIR2(kX86Jcc8, 0, kX86CondZ); in GenShiftOpLong()
3402 NewLIR2(kX86Sar32RI, r_tmp.GetHighReg(), 31); in GenShiftOpLong()
3409 NewLIR2(kX86Shr32RC, r_tmp.GetHighReg(), rs_rCX.GetReg()); in GenShiftOpLong()
3410 NewLIR2(kX86Test8RI, rs_rCX.GetReg(), 32); in GenShiftOpLong()
3411 branch = NewLIR2(kX86Jcc8, 0, kX86CondZ); in GenShiftOpLong()