Lines Matching refs:r_src1

440 LIR* ArmMir2Lir::OpRegRegRegShift(OpKind op, RegStorage r_dest, RegStorage r_src1,  in OpRegRegRegShift()  argument
443 bool thumb_form = (shift == 0) && r_dest.Low8() && r_src1.Low8() && r_src2.Low8(); in OpRegRegRegShift()
502 return NewLIR4(opcode, r_dest.GetReg(), r_src1.GetReg(), r_src2.GetReg(), shift); in OpRegRegRegShift()
505 return NewLIR3(opcode, r_dest.GetReg(), r_src1.GetReg(), r_src2.GetReg()); in OpRegRegRegShift()
509 LIR* ArmMir2Lir::OpRegRegReg(OpKind op, RegStorage r_dest, RegStorage r_src1, RegStorage r_src2) { in OpRegRegReg() argument
510 return OpRegRegRegShift(op, r_dest, r_src1, r_src2, 0); in OpRegRegReg()
513 LIR* ArmMir2Lir::OpRegRegImm(OpKind op, RegStorage r_dest, RegStorage r_src1, int value) { in OpRegRegImm() argument
518 bool all_low_regs = r_dest.Low8() && r_src1.Low8(); in OpRegRegImm()
524 return NewLIR3(kThumbLslRRI5, r_dest.GetReg(), r_src1.GetReg(), value); in OpRegRegImm()
526 return NewLIR3(kThumb2LslRRI5, r_dest.GetReg(), r_src1.GetReg(), value); in OpRegRegImm()
529 return NewLIR3(kThumbLsrRRI5, r_dest.GetReg(), r_src1.GetReg(), value); in OpRegRegImm()
531 return NewLIR3(kThumb2LsrRRI5, r_dest.GetReg(), r_src1.GetReg(), value); in OpRegRegImm()
534 return NewLIR3(kThumbAsrRRI5, r_dest.GetReg(), r_src1.GetReg(), value); in OpRegRegImm()
536 return NewLIR3(kThumb2AsrRRI5, r_dest.GetReg(), r_src1.GetReg(), value); in OpRegRegImm()
538 return NewLIR3(kThumb2RorRRI5, r_dest.GetReg(), r_src1.GetReg(), value); in OpRegRegImm()
540 if (r_dest.Low8() && (r_src1 == rs_r13sp) && (value <= 1020) && ((value & 0x3) == 0)) { in OpRegRegImm()
541 return NewLIR3(kThumbAddSpRel, r_dest.GetReg(), r_src1.GetReg(), value >> 2); in OpRegRegImm()
542 } else if (r_dest.Low8() && (r_src1 == rs_r15pc) && in OpRegRegImm()
544 return NewLIR3(kThumbAddPcRel, r_dest.GetReg(), r_src1.GetReg(), value >> 2); in OpRegRegImm()
553 return NewLIR3(opcode, r_dest.GetReg(), r_src1.GetReg(), abs_value); in OpRegRegImm()
568 return NewLIR3(opcode, r_dest.GetReg(), r_src1.GetReg(), abs_value); in OpRegRegImm()
604 return NewLIR3(kThumb2BicRRI8M, r_dest.GetReg(), r_src1.GetReg(), mod_imm); in OpRegRegImm()
622 res = NewLIR2(kThumb2CmpRI8M, r_src1.GetReg(), mod_imm); in OpRegRegImm()
626 res = NewLIR2(kThumb2CmnRI8M, r_src1.GetReg(), mod_imm); in OpRegRegImm()
630 OpRegReg(kOpCmp, r_src1, r_tmp); in OpRegRegImm()
641 return NewLIR3(opcode, r_dest.GetReg(), r_src1.GetReg(), mod_imm); in OpRegRegImm()
647 res = NewLIR4(alt_opcode, r_dest.GetReg(), r_src1.GetReg(), r_scratch.GetReg(), 0); in OpRegRegImm()
649 res = NewLIR3(alt_opcode, r_dest.GetReg(), r_src1.GetReg(), r_scratch.GetReg()); in OpRegRegImm()