Lines Matching refs:op
120 LIR* X86Mir2Lir::OpReg(OpKind op, RegStorage r_dest_src) { in OpReg() argument
122 switch (op) { in OpReg()
128 LOG(FATAL) << "Bad case in OpReg " << op; in OpReg()
133 LIR* X86Mir2Lir::OpRegImm(OpKind op, RegStorage r_dest_src1, int value) { in OpRegImm() argument
138 switch (op) { in OpRegImm()
146 LOG(FATAL) << "Bad case in OpRegImm (64-bit) " << op; in OpRegImm()
149 switch (op) { in OpRegImm()
189 LOG(FATAL) << "Bad case in OpRegImm " << op; in OpRegImm()
195 LIR* X86Mir2Lir::OpRegReg(OpKind op, RegStorage r_dest_src1, RegStorage r_src2) { in OpRegReg() argument
199 switch (op) { in OpRegReg()
244 LOG(FATAL) << "Bad case in OpRegReg " << op; in OpRegReg()
356 LIR* X86Mir2Lir::OpCondRegReg(OpKind op, ConditionCode cc, RegStorage r_dest, RegStorage r_src) { in OpCondRegReg() argument
358 DCHECK_EQ(op, kOpCmov); in OpCondRegReg()
364 LIR* X86Mir2Lir::OpRegMem(OpKind op, RegStorage r_dest, RegStorage r_base, int offset) { in OpRegMem() argument
367 switch (op) { in OpRegMem()
381 LOG(FATAL) << "Bad case in OpRegMem " << op; in OpRegMem()
392 LIR* X86Mir2Lir::OpMemReg(OpKind op, RegLocation rl_dest, int r_value) { in OpMemReg() argument
397 switch (op) { in OpMemReg()
409 LOG(FATAL) << "Bad case in OpMemReg " << op; in OpMemReg()
420 LIR* X86Mir2Lir::OpRegMem(OpKind op, RegStorage r_dest, RegLocation rl_value) { in OpRegMem() argument
425 switch (op) { in OpRegMem()
435 LOG(FATAL) << "Bad case in OpRegMem " << op; in OpRegMem()
445 LIR* X86Mir2Lir::OpRegRegReg(OpKind op, RegStorage r_dest, RegStorage r_src1, in OpRegRegReg() argument
449 if (op == kOpAdd) { // lea special case, except can't encode rbp as base in OpRegRegReg()
464 return OpRegReg(op, r_dest, r_src2); in OpRegRegReg()
467 return OpRegReg(op, r_dest, r_src2); in OpRegRegReg()
469 switch (op) { in OpRegRegReg()
472 op = kOpAdd; in OpRegRegReg()
478 OpRegReg(op, t_reg, r_src2); in OpRegRegReg()
491 LOG(FATAL) << "Bad case in OpRegRegReg " << op; in OpRegRegReg()
493 return OpRegReg(op, r_dest, r_src1); in OpRegRegReg()
497 LIR* X86Mir2Lir::OpRegRegImm(OpKind op, RegStorage r_dest, RegStorage r_src, int value) { in OpRegRegImm() argument
498 if (op == kOpMul && !cu_->target64) { in OpRegRegImm()
501 } else if (op == kOpAnd && !cu_->target64) { in OpRegRegImm()
509 if (false && op == kOpLsl && value >= 0 && value <= 3) { // lea shift special case in OpRegRegImm()
513 } else if (op == kOpAdd) { // lea add special case in OpRegRegImm()
520 return OpRegImm(op, r_dest, value); in OpRegRegImm()
523 LIR* X86Mir2Lir::OpThreadMem(OpKind op, ThreadOffset<4> thread_offset) { in OpThreadMem() argument
526 switch (op) { in OpThreadMem()
530 LOG(FATAL) << "Bad opcode: " << op; in OpThreadMem()
536 LIR* X86Mir2Lir::OpThreadMem(OpKind op, ThreadOffset<8> thread_offset) { in OpThreadMem() argument
539 switch (op) { in OpThreadMem()
543 LOG(FATAL) << "Bad opcode: " << op; in OpThreadMem()
549 LIR* X86Mir2Lir::OpMem(OpKind op, RegStorage r_base, int disp) { in OpMem() argument
551 switch (op) { in OpMem()
554 LOG(FATAL) << "Bad opcode: " << op; in OpMem()
1078 LIR* X86Mir2Lir::InvokeTrampoline(OpKind op, RegStorage r_tgt, QuickEntrypointEnum trampoline) { in InvokeTrampoline() argument
1080 return OpThreadMem(op, GetThreadOffset<8>(trampoline)); in InvokeTrampoline()
1082 return OpThreadMem(op, GetThreadOffset<4>(trampoline)); in InvokeTrampoline()