Lines Matching refs:GetReg

53   LIR* res = RawLIR(current_dalvik_offset_, opcode, r_dest.GetReg(), r_src.GetReg());  in OpFpRegCopy()
91 return NewLIR2(kX86XorpsRR, r_dest.GetReg(), r_dest.GetReg()); in LoadConstantNoClobber()
98 res = NewLIR2(kX86Xor32RR, r_dest.GetReg(), r_dest.GetReg()); in LoadConstantNoClobber()
102 res = NewLIR2(kX86Mov32RI, r_dest.GetReg(), value); in LoadConstantNoClobber()
106 NewLIR2(kX86MovdxrRR, r_dest_save.GetReg(), r_dest.GetReg()); in LoadConstantNoClobber()
136 return NewLIR1(opcode, r_dest_src.GetReg()); in OpReg()
177 return NewLIR3(opcode, r_dest_src1.GetReg(), r_dest_src1.GetReg(), value); in OpRegImm()
198 return NewLIR2(opcode, r_dest_src1.GetReg(), value); in OpRegImm()
238 NewLIR2(is64Bit ? kX86Mov64RR : kX86Mov32RR, r_dest_src1.GetReg(), r_src2.GetReg()); in OpRegReg()
239 NewLIR2(is64Bit ? kX86Sal64RI : kX86Sal32RI, r_dest_src1.GetReg(), is64Bit ? 56 : 24); in OpRegReg()
240 return NewLIR2(is64Bit ? kX86Sar64RI : kX86Sar32RI, r_dest_src1.GetReg(), in OpRegReg()
253 CHECK(!src2_must_be_cx || r_src2.GetReg() == rs_rCX.GetReg()); in OpRegReg()
254 return NewLIR2(opcode, r_dest_src1.GetReg(), r_src2.GetReg()); in OpRegReg()
260 int dest = r_dest.IsPair() ? r_dest.GetLowReg() : r_dest.GetReg(); in OpMovRegMem()
306 return NewLIR3(opcode, dest, r_base.GetReg(), offset); in OpMovRegMem()
311 int src = r_src.IsPair() ? r_src.GetLowReg() : r_src.GetReg(); in OpMovMemReg()
359 return NewLIR3(opcode, r_base.GetReg(), offset, src); in OpMovMemReg()
366 return NewLIR3(r_dest.Is64Bit() ? kX86Cmov64RRC : kX86Cmov32RRC, r_dest.GetReg(), in OpCondRegReg()
367 r_src.GetReg(), X86ConditionEncoding(cc)); in OpCondRegReg()
390 LIR *l = NewLIR3(opcode, r_dest.GetReg(), r_base.GetReg(), offset); in OpRegMem()
418 LIR *l = NewLIR3(opcode, rs_rX86_SP_32.GetReg(), displacement, r_value); in OpMemReg()
444 LIR *l = NewLIR3(opcode, r_dest.GetReg(), rs_rX86_SP_32.GetReg(), displacement); in OpRegMem()
460 return NewLIR5(is64Bit ? kX86Lea64RA : kX86Lea32RA, r_dest.GetReg(), in OpRegRegReg()
461 r_src1.GetReg() /* base */, r_src2.GetReg() /* index */, in OpRegRegReg()
464 return NewLIR5(is64Bit ? kX86Lea64RA : kX86Lea32RA, r_dest.GetReg(), in OpRegRegReg()
465 r_src2.GetReg() /* base */, r_src1.GetReg() /* index */, in OpRegRegReg()
507 return NewLIR3(opcode, r_dest.GetReg(), r_src.GetReg(), value); in OpRegRegImm()
510 return NewLIR2(kX86Movzx8RR, r_dest.GetReg(), r_src.GetReg()); in OpRegRegImm()
512 return NewLIR2(kX86Movzx16RR, r_dest.GetReg(), r_src.GetReg()); in OpRegRegImm()
518 return NewLIR5(kX86Lea32RA, r_dest.GetReg(), r5sib_no_base /* base */, in OpRegRegImm()
519 r_src.GetReg() /* index */, value /* scale */, 0 /* disp */); in OpRegRegImm()
521 return NewLIR5(r_dest.Is64Bit() ? kX86Lea64RA : kX86Lea32RA, r_dest.GetReg(), in OpRegRegImm()
522 … r_src.GetReg() /* base */, rs_rX86_SP_32.GetReg()/*r4sib_no_index*/ /* index */, in OpRegRegImm()
564 return NewLIR2(opcode, r_base.GetReg(), disp); in OpMem()
570 int32_t low_reg_val = r_dest.IsPair() ? r_dest.GetLowReg() : r_dest.GetReg(); in LoadConstantWide()
616 NewLIR2(kX86PunpckldqRR, low_reg_val, r_dest_hi.GetReg()); in LoadConstantWide()
632 res = NewLIR2(kX86Xor64RR, r_dest.GetReg(), r_dest.GetReg()); in LoadConstantWide()
634 res = NewLIR2(kX86Mov64RI32, r_dest.GetReg(), val_lo); in LoadConstantWide()
636 res = NewLIR3(kX86Mov64RI64, r_dest.GetReg(), val_hi, val_lo); in LoadConstantWide()
702 load = NewLIR3(opcode, r_dest.GetReg(), r_base.GetReg(), displacement + LOWORD_OFFSET); in LoadBaseIndexedDisp()
706 load = NewLIR3(opcode, r_dest.GetHighReg(), r_base.GetReg(), in LoadBaseIndexedDisp()
708 load2 = NewLIR3(opcode, r_dest.GetLowReg(), r_base.GetReg(), displacement + LOWORD_OFFSET); in LoadBaseIndexedDisp()
710 load = NewLIR3(opcode, r_dest.GetLowReg(), r_base.GetReg(), displacement + LOWORD_OFFSET); in LoadBaseIndexedDisp()
711 load2 = NewLIR3(opcode, r_dest.GetHighReg(), r_base.GetReg(), in LoadBaseIndexedDisp()
726 load = NewLIR5(opcode, r_dest.GetReg(), r_base.GetReg(), r_index.GetReg(), scale, in LoadBaseIndexedDisp()
734 load = NewLIR5(opcode, temp.GetReg(), r_base.GetReg(), r_index.GetReg(), scale, in LoadBaseIndexedDisp()
736 load2 = NewLIR5(opcode, r_dest.GetLowReg(), r_base.GetReg(), r_index.GetReg(), scale, in LoadBaseIndexedDisp()
741 load = NewLIR5(opcode, r_dest.GetHighReg(), r_base.GetReg(), r_index.GetReg(), scale, in LoadBaseIndexedDisp()
743 load2 = NewLIR5(opcode, r_dest.GetLowReg(), r_base.GetReg(), r_index.GetReg(), scale, in LoadBaseIndexedDisp()
750 load = NewLIR5(opcode, temp.GetReg(), r_base.GetReg(), r_index.GetReg(), scale, in LoadBaseIndexedDisp()
752 load2 = NewLIR5(opcode, r_dest.GetHighReg(), r_base.GetReg(), r_index.GetReg(), scale, in LoadBaseIndexedDisp()
757 load = NewLIR5(opcode, r_dest.GetLowReg(), r_base.GetReg(), r_index.GetReg(), scale, in LoadBaseIndexedDisp()
759 load2 = NewLIR5(opcode, r_dest.GetHighReg(), r_base.GetReg(), r_index.GetReg(), scale, in LoadBaseIndexedDisp()
874 store = NewLIR3(opcode, r_base.GetReg(), displacement + LOWORD_OFFSET, r_src.GetReg()); in StoreBaseIndexedDisp()
877 store = NewLIR3(opcode, r_base.GetReg(), displacement + LOWORD_OFFSET, r_src.GetLowReg()); in StoreBaseIndexedDisp()
878 store2 = NewLIR3(opcode, r_base.GetReg(), displacement + HIWORD_OFFSET, r_src.GetHighReg()); in StoreBaseIndexedDisp()
891 store = NewLIR5(opcode, r_base.GetReg(), r_index.GetReg(), scale, in StoreBaseIndexedDisp()
892 displacement + LOWORD_OFFSET, r_src.GetReg()); in StoreBaseIndexedDisp()
895 store = NewLIR5(opcode, r_base.GetReg(), r_index.GetReg(), scale, in StoreBaseIndexedDisp()
897 store2 = NewLIR5(opcode, r_base.GetReg(), r_index.GetReg(), scale, in StoreBaseIndexedDisp()
948 LIR* inst = NewLIR3(IS_SIMM8(check_value) ? kX86Cmp32MI8 : kX86Cmp32MI, base_reg.GetReg(), in OpCmpMemImmBranch()