Home
last modified time | relevance | path

Searched refs:shift_amount (Results 1 – 6 of 6) sorted by relevance

/art/compiler/optimizing/
Dnodes_shared.cc32 /*out*/int* shift_amount) { in GetOpInfoFromInstruction() argument
36 *shift_amount = instruction->AsShl()->GetRight()->AsIntConstant()->GetValue(); in GetOpInfoFromInstruction()
39 *shift_amount = instruction->AsShr()->GetRight()->AsIntConstant()->GetValue(); in GetOpInfoFromInstruction()
42 *shift_amount = instruction->AsUShr()->GetRight()->AsIntConstant()->GetValue(); in GetOpInfoFromInstruction()
56 *shift_amount = 0; in GetOpInfoFromInstruction()
Dinstruction_simplifier_arm.cc121 int shift_amount = 0; in TryMergeIntoShifterOperand() local
123 HDataProcWithShifterOp::GetOpInfoFromInstruction(bitfield_op, &op_kind, &shift_amount); in TryMergeIntoShifterOperand()
124 shift_amount &= use->GetType() == DataType::Type::kInt32 in TryMergeIntoShifterOperand()
134 } else if (type == DataType::Type::kInt64 && shift_amount == 1) { in TryMergeIntoShifterOperand()
144 shift_amount, in TryMergeIntoShifterOperand()
Dinstruction_simplifier_arm64.cc135 int shift_amount = 0; in TryMergeIntoShifterOperand() local
136 HDataProcWithShifterOp::GetOpInfoFromInstruction(bitfield_op, &op_kind, &shift_amount); in TryMergeIntoShifterOperand()
148 shift_amount, in TryMergeIntoShifterOperand()
Dinstruction_simplifier.cc366 HInstruction* shift_amount = instruction->GetRight(); in VisitShift() local
373 if (shift_amount->IsConstant()) { in VisitShift()
374 int64_t cst = Int64FromConstant(shift_amount->AsConstant()); in VisitShift()
392 DCHECK_EQ(shift_amount->GetType(), DataType::Type::kInt32); in VisitShift()
409 if (shift_amount->IsAnd() || in VisitShift()
410 shift_amount->IsOr() || in VisitShift()
411 shift_amount->IsXor() || in VisitShift()
412 shift_amount->IsAdd() || in VisitShift()
413 shift_amount->IsSub()) { in VisitShift()
414 int64_t required_result = shift_amount->IsAnd() ? implicit_mask : 0; in VisitShift()
[all …]
Dcommon_arm64.h200 unsigned shift_amount = 0) {
203 return vixl::aarch64::MemOperand(base.X(), regoffset, shift, shift_amount);
Dnodes_shared.h235 /*out*/int* shift_amount);