Home | History | Annotate | Download | only in arm

Lines Matching full:r_src1

355 LIR* ArmMir2Lir::OpRegRegRegShift(OpKind op, int r_dest, int r_src1,
358 bool thumb_form = (shift == 0) && ARM_LOWREG(r_dest) && ARM_LOWREG(r_src1) &&
414 return NewLIR4(opcode, r_dest, r_src1, r_src2, shift);
417 return NewLIR3(opcode, r_dest, r_src1, r_src2);
421 LIR* ArmMir2Lir::OpRegRegReg(OpKind op, int r_dest, int r_src1, int r_src2) {
422 return OpRegRegRegShift(op, r_dest, r_src1, r_src2, 0);
425 LIR* ArmMir2Lir::OpRegRegImm(OpKind op, int r_dest, int r_src1, int value) {
431 bool all_low_regs = (ARM_LOWREG(r_dest) && ARM_LOWREG(r_src1));
438 return NewLIR3(kThumbLslRRI5, r_dest, r_src1, value);
440 return NewLIR3(kThumb2LslRRI5, r_dest, r_src1, value);
443 return NewLIR3(kThumbLsrRRI5, r_dest, r_src1, value);
445 return NewLIR3(kThumb2LsrRRI5, r_dest, r_src1, value);
448 return NewLIR3(kThumbAsrRRI5, r_dest, r_src1, value);
450 return NewLIR3(kThumb2AsrRRI5, r_dest, r_src1, value);
452 return NewLIR3(kThumb2RorRRI5, r_dest, r_src1, value);
454 if (ARM_LOWREG(r_dest) && (r_src1 == r13sp) &&
456 return NewLIR3(kThumbAddSpRel, r_dest, r_src1, value >> 2);
457 } else if (ARM_LOWREG(r_dest) && (r_src1 == r15pc) &&
459 return NewLIR3(kThumbAddPcRel, r_dest, r_src1, value >> 2);
468 return NewLIR3(opcode, r_dest, r_src1, abs_value);
474 return NewLIR3(opcode, r_dest, r_src1, abs_value);
521 res = NewLIR2(kThumb2CmpRI12, r_src1, mod_imm);
525 OpRegReg(kOpCmp, r_src1, r_tmp);
535 return NewLIR3(opcode, r_dest, r_src1, mod_imm);
540 res = NewLIR4(alt_opcode, r_dest, r_src1, r_scratch, 0);
542 r_src1, r_scratch);