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.h158 static bool IsShiftOp(OpKind op_kind) { in IsShiftOp() argument
159 return kFirstShiftOp <= op_kind && op_kind <= kLastShiftOp; in IsShiftOp()
162 static bool IsExtensionOp(OpKind op_kind) { in IsExtensionOp() argument
163 return kFirstExtensionOp <= op_kind && op_kind <= kLastExtensionOp; in IsExtensionOp()
168 /*out*/OpKind* op_kind,
Dinstruction_simplifier_shared.cc43 HInstruction::InstructionKind op_kind; in TrySimpleMultiplyAccumulatePatterns() local
52 op_kind = HInstruction::kAdd; in TrySimpleMultiplyAccumulatePatterns()
63 op_kind = HInstruction::kAdd; in TrySimpleMultiplyAccumulatePatterns()
71 op_kind = HInstruction::kSub; in TrySimpleMultiplyAccumulatePatterns()
82 mul->GetType(), op_kind, input_a, input_a, input_b, mul->GetDexPc()); in TrySimpleMultiplyAccumulatePatterns()
Dinstruction_simplifier_arm.cc123 HDataProcWithShifterOp::OpKind op_kind; in TryMergeIntoShifterOperand() local
126 HDataProcWithShifterOp::GetOpInfoFromInstruction(bitfield_op, &op_kind, &shift_amount); in TryMergeIntoShifterOperand()
131 if (HDataProcWithShifterOp::IsExtensionOp(op_kind)) { in TryMergeIntoShifterOperand()
146 op_kind, in TryMergeIntoShifterOperand()
Dinstruction_simplifier_arm64.cc137 HDataProcWithShifterOp::OpKind op_kind; in TryMergeIntoShifterOperand() local
139 HDataProcWithShifterOp::GetOpInfoFromInstruction(bitfield_op, &op_kind, &shift_amount); in TryMergeIntoShifterOperand()
141 if (HDataProcWithShifterOp::IsExtensionOp(op_kind) && !ShifterOperandSupportsExtension(use)) { in TryMergeIntoShifterOperand()
150 op_kind, in TryMergeIntoShifterOperand()
Dcommon_arm64.h344 inline vixl::aarch64::Shift ShiftFromOpKind(HDataProcWithShifterOp::OpKind op_kind) { in ShiftFromOpKind() argument
345 switch (op_kind) { in ShiftFromOpKind()
350 LOG(FATAL) << "Unexpected op kind " << op_kind; in ShiftFromOpKind()
355 inline vixl::aarch64::Extend ExtendFromOpKind(HDataProcWithShifterOp::OpKind op_kind) { in ExtendFromOpKind() argument
356 switch (op_kind) { in ExtendFromOpKind()
364 LOG(FATAL) << "Unexpected op kind " << op_kind; in ExtendFromOpKind()
Dscheduler_arm.cc710 const HDataProcWithShifterOp::OpKind op_kind = instruction->GetOpKind(); in VisitDataProcWithShifterOp() local
716 if (HDataProcWithShifterOp::IsExtensionOp(op_kind)) { in VisitDataProcWithShifterOp()
Dcode_generator_arm_vixl.cc1063 inline ShiftType ShiftFromOpKind(HDataProcWithShifterOp::OpKind op_kind) { in ShiftFromOpKind() argument
1064 switch (op_kind) { in ShiftFromOpKind()
1069 LOG(FATAL) << "Unexpected op kind " << op_kind; in ShiftFromOpKind()
8832 const HDataProcWithShifterOp::OpKind op_kind = instruction->GetOpKind(); in VisitDataProcWithShifterOp() local
8841 if (HDataProcWithShifterOp::IsExtensionOp(op_kind)) { in VisitDataProcWithShifterOp()
8844 switch (op_kind) { in VisitDataProcWithShifterOp()
8858 LOG(FATAL) << "Unexpected operation kind: " << op_kind; in VisitDataProcWithShifterOp()
8866 ShiftFromOpKind(op_kind), in VisitDataProcWithShifterOp()
8873 if (HDataProcWithShifterOp::IsExtensionOp(op_kind)) { in VisitDataProcWithShifterOp()
Dcode_generator_arm64.cc2564 HDataProcWithShifterOp::OpKind op_kind = instruction->GetOpKind(); in VisitDataProcWithShifterOp() local
2565 if (HDataProcWithShifterOp::IsExtensionOp(op_kind)) { in VisitDataProcWithShifterOp()
2566 right_operand = Operand(right_reg, helpers::ExtendFromOpKind(op_kind)); in VisitDataProcWithShifterOp()
2569 helpers::ShiftFromOpKind(op_kind), in VisitDataProcWithShifterOp()