Lines Matching refs:op

1949                                    Instruction::Code op) {  in GenLongRegOrMemOp()  argument
1951 X86OpCode x86op = GetOpcode(op, rl_dest, rl_src, false); in GenLongRegOrMemOp()
1967 x86op = GetOpcode(op, rl_dest, rl_src, true); in GenLongRegOrMemOp()
1985 x86op = GetOpcode(op, rl_dest, rl_src, true); in GenLongRegOrMemOp()
1992 void X86Mir2Lir::GenLongArith(RegLocation rl_dest, RegLocation rl_src, Instruction::Code op) { in GenLongArith() argument
1999 GenLongRegOrMemOp(rl_result, rl_src, op); in GenLongArith()
2007 GenLongRegOrMemOp(rl_result, rl_src, op); in GenLongArith()
2018 X86OpCode x86op = GetOpcode(op, rl_dest, rl_src, false); in GenLongArith()
2030 x86op = GetOpcode(op, rl_dest, rl_src, true); in GenLongArith()
2050 RegLocation rl_src2, Instruction::Code op, in GenLongArith() argument
2053 switch (op) { in GenLongArith()
2060 GenLongArith(rl_dest, rl_src2, op); in GenLongArith()
2077 GenLongRegOrMemOp(rl_result, rl_src2, op); in GenLongArith()
2093 GenLongRegOrMemOp(rl_src1, rl_src2, op); in GenLongArith()
2099 GenLongRegOrMemOp(rl_src1, rl_src2, op); in GenLongArith()
2101 GenLongRegOrMemOp(rl_src2, rl_src1, op); in GenLongArith()
2108 GenLongRegOrMemOp(rl_src1, rl_src2, op); in GenLongArith()
2112 GenLongRegOrMemOp(rl_src1, rl_src2, op); in GenLongArith()
2118 GenLongRegOrMemOp(rl_src1, rl_src2, op); in GenLongArith()
2120 GenLongRegOrMemOp(rl_src2, rl_src1, op); in GenLongArith()
2127 GenLongRegOrMemOp(rl_src1, rl_src2, op); in GenLongArith()
2406 void X86Mir2Lir::OpRegThreadMem(OpKind op, RegStorage r_dest, ThreadOffset<4> thread_offset) { in OpRegThreadMem() argument
2409 switch (op) { in OpRegThreadMem()
2413 LOG(FATAL) << "Bad opcode: " << op; in OpRegThreadMem()
2419 void X86Mir2Lir::OpRegThreadMem(OpKind op, RegStorage r_dest, ThreadOffset<8> thread_offset) { in OpRegThreadMem() argument
2423 switch (op) { in OpRegThreadMem()
2427 LOG(FATAL) << "Bad opcode(OpRegThreadMem 64): " << op; in OpRegThreadMem()
2431 switch (op) { in OpRegThreadMem()
2435 LOG(FATAL) << "Bad opcode: " << op; in OpRegThreadMem()
2556 OpKind op = static_cast<OpKind>(0); /* Make gcc happy */ in GenShiftImmOpLong() local
2560 op = kOpLsl; in GenShiftImmOpLong()
2564 op = kOpAsr; in GenShiftImmOpLong()
2568 op = kOpLsr; in GenShiftImmOpLong()
2573 OpRegRegImm(op, rl_result.reg, rl_src.reg, shift_amount); in GenShiftImmOpLong()
2711 bool X86Mir2Lir::IsNoOp(Instruction::Code op, int32_t value) { in IsNoOp() argument
2712 switch (op) { in IsNoOp()
2726 X86OpCode X86Mir2Lir::GetOpcode(Instruction::Code op, RegLocation dest, RegLocation rhs, in GetOpcode() argument
2732 switch (op) { in GetOpcode()
2777 LOG(FATAL) << "Unexpected opcode: " << op; in GetOpcode()
2782 X86OpCode X86Mir2Lir::GetOpcode(Instruction::Code op, RegLocation loc, bool is_high_op, in GetOpcode() argument
2788 switch (op) { in GetOpcode()
2850 LOG(FATAL) << "Unexpected opcode: " << op; in GetOpcode()
2855 bool X86Mir2Lir::GenLongImm(RegLocation rl_dest, RegLocation rl_src, Instruction::Code op) { in GenLongImm() argument
2873 X86OpCode x86op = GetOpcode(op, rl_dest, false, val); in GenLongImm()
2886 X86OpCode x86op = GetOpcode(op, rl_result, false, val); in GenLongImm()
2904 if (!IsNoOp(op, val_lo)) { in GenLongImm()
2905 X86OpCode x86op = GetOpcode(op, rl_dest, false, val_lo); in GenLongImm()
2912 if (!IsNoOp(op, val_hi)) { in GenLongImm()
2913 X86OpCode x86op = GetOpcode(op, rl_dest, true, val_hi); in GenLongImm()
2927 if (!IsNoOp(op, val_lo)) { in GenLongImm()
2928 X86OpCode x86op = GetOpcode(op, rl_result, false, val_lo); in GenLongImm()
2931 if (!IsNoOp(op, val_hi)) { in GenLongImm()
2932 X86OpCode x86op = GetOpcode(op, rl_result, true, val_hi); in GenLongImm()
2940 RegLocation rl_src2, Instruction::Code op) { in GenLongLongImm() argument
2951 X86OpCode x86op = GetOpcode(op, rl_dest, false, val); in GenLongLongImm()
2962 X86OpCode x86op = GetOpcode(op, rl_result, false, val); in GenLongLongImm()
2978 if (!IsNoOp(op, val_lo)) { in GenLongLongImm()
2979 X86OpCode x86op = GetOpcode(op, rl_dest, false, val_lo); in GenLongLongImm()
2982 if (!IsNoOp(op, val_hi)) { in GenLongLongImm()
2983 X86OpCode x86op = GetOpcode(op, rl_dest, true, val_hi); in GenLongLongImm()
2996 if (!IsNoOp(op, val_lo)) { in GenLongLongImm()
2997 X86OpCode x86op = GetOpcode(op, rl_result, false, val_lo); in GenLongLongImm()
3000 if (!IsNoOp(op, val_hi)) { in GenLongLongImm()
3001 X86OpCode x86op = GetOpcode(op, rl_result, true, val_hi); in GenLongLongImm()
3080 OpKind op = kOpBkpt; in GenArithOpInt() local
3088 op = kOpNeg; in GenArithOpInt()
3092 op = kOpMvn; in GenArithOpInt()
3099 op = kOpAdd; in GenArithOpInt()
3105 op = kOpSub; in GenArithOpInt()
3111 op = kOpMul; in GenArithOpInt()
3117 op = kOpDiv; in GenArithOpInt()
3125 op = kOpRem; in GenArithOpInt()
3132 op = kOpAnd; in GenArithOpInt()
3138 op = kOpOr; in GenArithOpInt()
3144 op = kOpXor; in GenArithOpInt()
3151 op = kOpLsl; in GenArithOpInt()
3158 op = kOpAsr; in GenArithOpInt()
3165 op = kOpLsr; in GenArithOpInt()
3184 rl_result = GenDivRem(rl_dest, rl_lhs, rl_rhs, op == kOpDiv, flags); in GenArithOpInt()
3196 OpRegReg(op, rl_result.reg, rl_lhs.reg); in GenArithOpInt()
3207 OpMemReg(op, rl_result, t_reg.GetReg()); in GenArithOpInt()
3212 OpRegReg(op, rl_result.reg, t_reg); in GenArithOpInt()
3221 OpRegRegReg(op, rl_result.reg, rl_lhs.reg, t_reg); in GenArithOpInt()
3225 if (is_two_addr && op != kOpMul) { in GenArithOpInt()
3234 OpRegMem(op, rl_result.reg, rl_rhs); in GenArithOpInt()
3238 OpRegReg(op, rl_result.reg, rl_rhs.reg); in GenArithOpInt()
3250 OpMemReg(op, rl_result, rl_rhs.reg.GetReg()); in GenArithOpInt()
3254 OpRegReg(op, rl_result.reg, rl_rhs.reg); in GenArithOpInt()
3260 OpRegRegReg(op, rl_result.reg, rl_lhs.reg, rl_rhs.reg); in GenArithOpInt()
3272 OpRegRegReg(op, rl_result.reg, rl_lhs.reg, rl_rhs.reg); in GenArithOpInt()
3290 OpRegMem(op, rl_result.reg, rl_rhs); in GenArithOpInt()
3293 if (op != kOpSub) { in GenArithOpInt()
3297 OpRegMem(op, rl_result.reg, rl_lhs); in GenArithOpInt()
3303 OpRegRegReg(op, rl_result.reg, rl_lhs.reg, rl_rhs.reg); in GenArithOpInt()
3310 OpRegRegReg(op, rl_result.reg, rl_lhs.reg, rl_rhs.reg); in GenArithOpInt()
3426 OpKind op = kOpBkpt; in GenShiftOpLong() local
3434 op = kOpLsl; in GenShiftOpLong()
3440 op = kOpAsr; in GenShiftOpLong()
3446 op = kOpLsr; in GenShiftOpLong()
3449 op = kOpBkpt; in GenShiftOpLong()
3461 OpMemReg(op, rl_result, t_reg.GetReg()); in GenShiftOpLong()
3464 OpRegReg(op, rl_result.reg, t_reg); in GenShiftOpLong()
3471 OpRegRegReg(op, rl_result.reg, rl_src1.reg, t_reg); in GenShiftOpLong()