Home
last modified time | relevance | path

Searched refs:op_kind (Results 1 – 9 of 9) sorted by relevance

/art/compiler/optimizing/
Dnodes_shared.cc31 /*out*/OpKind* op_kind, in GetOpInfoFromInstruction() argument
35 *op_kind = kLSL; in GetOpInfoFromInstruction()
38 *op_kind = kASR; in GetOpInfoFromInstruction()
41 *op_kind = kLSR; in GetOpInfoFromInstruction()
55 *op_kind = kLSL; in GetOpInfoFromInstruction()
59 *op_kind = kUXTB; in GetOpInfoFromInstruction()
62 *op_kind = kUXTH; in GetOpInfoFromInstruction()
65 case 1: *op_kind = kSXTB; break; in GetOpInfoFromInstruction()
66 case 2: *op_kind = kSXTH; break; in GetOpInfoFromInstruction()
67 case 4: *op_kind = kSXTW; break; in GetOpInfoFromInstruction()
Dnodes_shared.h224 static bool IsShiftOp(OpKind op_kind) { in IsShiftOp() argument
225 return kFirstShiftOp <= op_kind && op_kind <= kLastShiftOp; in IsShiftOp()
228 static bool IsExtensionOp(OpKind op_kind) { in IsExtensionOp() argument
229 return kFirstExtensionOp <= op_kind && op_kind <= kLastExtensionOp; in IsExtensionOp()
234 /*out*/OpKind* op_kind,
Dinstruction_simplifier_shared.cc41 HInstruction::InstructionKind op_kind; in TrySimpleMultiplyAccumulatePatterns() local
50 op_kind = HInstruction::kAdd; in TrySimpleMultiplyAccumulatePatterns()
61 op_kind = HInstruction::kAdd; in TrySimpleMultiplyAccumulatePatterns()
69 op_kind = HInstruction::kSub; in TrySimpleMultiplyAccumulatePatterns()
80 mul->GetType(), op_kind, input_a, input_a, input_b, mul->GetDexPc()); in TrySimpleMultiplyAccumulatePatterns()
Dinstruction_simplifier_arm.cc120 HDataProcWithShifterOp::OpKind op_kind; in TryMergeIntoShifterOperand() local
123 HDataProcWithShifterOp::GetOpInfoFromInstruction(bitfield_op, &op_kind, &shift_amount); in TryMergeIntoShifterOperand()
128 if (HDataProcWithShifterOp::IsExtensionOp(op_kind)) { in TryMergeIntoShifterOperand()
143 op_kind, in TryMergeIntoShifterOperand()
Dinstruction_simplifier_arm64.cc134 HDataProcWithShifterOp::OpKind op_kind; in TryMergeIntoShifterOperand() local
136 HDataProcWithShifterOp::GetOpInfoFromInstruction(bitfield_op, &op_kind, &shift_amount); in TryMergeIntoShifterOperand()
138 if (HDataProcWithShifterOp::IsExtensionOp(op_kind) && !ShifterOperandSupportsExtension(use)) { in TryMergeIntoShifterOperand()
147 op_kind, in TryMergeIntoShifterOperand()
Dcommon_arm64.h332 inline vixl::aarch64::Shift ShiftFromOpKind(HDataProcWithShifterOp::OpKind op_kind) { in ShiftFromOpKind() argument
333 switch (op_kind) { in ShiftFromOpKind()
338 LOG(FATAL) << "Unexpected op kind " << op_kind; in ShiftFromOpKind()
344 inline vixl::aarch64::Extend ExtendFromOpKind(HDataProcWithShifterOp::OpKind op_kind) { in ExtendFromOpKind() argument
345 switch (op_kind) { in ExtendFromOpKind()
353 LOG(FATAL) << "Unexpected op kind " << op_kind; in ExtendFromOpKind()
Dscheduler_arm.cc599 const HDataProcWithShifterOp::OpKind op_kind = instruction->GetOpKind(); in VisitDataProcWithShifterOp() local
605 if (HDataProcWithShifterOp::IsExtensionOp(op_kind)) { in VisitDataProcWithShifterOp()
Dcode_generator_arm_vixl.cc1005 inline ShiftType ShiftFromOpKind(HDataProcWithShifterOp::OpKind op_kind) { in ShiftFromOpKind() argument
1006 switch (op_kind) { in ShiftFromOpKind()
1011 LOG(FATAL) << "Unexpected op kind " << op_kind; in ShiftFromOpKind()
8410 const HDataProcWithShifterOp::OpKind op_kind = instruction->GetOpKind(); in VisitDataProcWithShifterOp() local
8419 if (HDataProcWithShifterOp::IsExtensionOp(op_kind)) { in VisitDataProcWithShifterOp()
8422 switch (op_kind) { in VisitDataProcWithShifterOp()
8436 LOG(FATAL) << "Unexpected operation kind: " << op_kind; in VisitDataProcWithShifterOp()
8444 ShiftFromOpKind(op_kind), in VisitDataProcWithShifterOp()
8451 if (HDataProcWithShifterOp::IsExtensionOp(op_kind)) { in VisitDataProcWithShifterOp()
Dcode_generator_arm64.cc2310 HDataProcWithShifterOp::OpKind op_kind = instruction->GetOpKind(); in VisitDataProcWithShifterOp() local
2311 if (HDataProcWithShifterOp::IsExtensionOp(op_kind)) { in VisitDataProcWithShifterOp()
2312 right_operand = Operand(right_reg, helpers::ExtendFromOpKind(op_kind)); in VisitDataProcWithShifterOp()
2315 helpers::ShiftFromOpKind(op_kind), in VisitDataProcWithShifterOp()