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.cc118 HDataProcWithShifterOp::OpKind op_kind; in TryMergeIntoShifterOperand() local
121 HDataProcWithShifterOp::GetOpInfoFromInstruction(bitfield_op, &op_kind, &shift_amount); in TryMergeIntoShifterOperand()
126 if (HDataProcWithShifterOp::IsExtensionOp(op_kind)) { in TryMergeIntoShifterOperand()
141 op_kind, in TryMergeIntoShifterOperand()
Dinstruction_simplifier_arm64.cc132 HDataProcWithShifterOp::OpKind op_kind; in TryMergeIntoShifterOperand() local
134 HDataProcWithShifterOp::GetOpInfoFromInstruction(bitfield_op, &op_kind, &shift_amount); in TryMergeIntoShifterOperand()
136 if (HDataProcWithShifterOp::IsExtensionOp(op_kind) && !ShifterOperandSupportsExtension(use)) { in TryMergeIntoShifterOperand()
145 op_kind, in TryMergeIntoShifterOperand()
Dcommon_arm64.h327 inline vixl::aarch64::Shift ShiftFromOpKind(HDataProcWithShifterOp::OpKind op_kind) { in ShiftFromOpKind() argument
328 switch (op_kind) { in ShiftFromOpKind()
333 LOG(FATAL) << "Unexpected op kind " << op_kind; in ShiftFromOpKind()
339 inline vixl::aarch64::Extend ExtendFromOpKind(HDataProcWithShifterOp::OpKind op_kind) { in ExtendFromOpKind() argument
340 switch (op_kind) { in ExtendFromOpKind()
348 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.cc1003 inline ShiftType ShiftFromOpKind(HDataProcWithShifterOp::OpKind op_kind) { in ShiftFromOpKind() argument
1004 switch (op_kind) { in ShiftFromOpKind()
1009 LOG(FATAL) << "Unexpected op kind " << op_kind; in ShiftFromOpKind()
8041 const HDataProcWithShifterOp::OpKind op_kind = instruction->GetOpKind(); in VisitDataProcWithShifterOp() local
8050 if (HDataProcWithShifterOp::IsExtensionOp(op_kind)) { in VisitDataProcWithShifterOp()
8053 switch (op_kind) { in VisitDataProcWithShifterOp()
8067 LOG(FATAL) << "Unexpected operation kind: " << op_kind; in VisitDataProcWithShifterOp()
8075 ShiftFromOpKind(op_kind), in VisitDataProcWithShifterOp()
8082 if (HDataProcWithShifterOp::IsExtensionOp(op_kind)) { in VisitDataProcWithShifterOp()
Dcode_generator_arm64.cc2162 HDataProcWithShifterOp::OpKind op_kind = instruction->GetOpKind(); in VisitDataProcWithShifterOp() local
2163 if (HDataProcWithShifterOp::IsExtensionOp(op_kind)) { in VisitDataProcWithShifterOp()
2164 right_operand = Operand(right_reg, helpers::ExtendFromOpKind(op_kind)); in VisitDataProcWithShifterOp()
2167 helpers::ShiftFromOpKind(op_kind), in VisitDataProcWithShifterOp()