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.cc344 HInstruction* shift_amount = instruction->GetRight(); in VisitShift() local
351 if (shift_amount->IsConstant()) { in VisitShift()
352 int64_t cst = Int64FromConstant(shift_amount->AsConstant()); in VisitShift()
370 DCHECK_EQ(shift_amount->GetType(), DataType::Type::kInt32); in VisitShift()
387 if (shift_amount->IsAnd() || in VisitShift()
388 shift_amount->IsOr() || in VisitShift()
389 shift_amount->IsXor() || in VisitShift()
390 shift_amount->IsAdd() || in VisitShift()
391 shift_amount->IsSub()) { in VisitShift()
392 int64_t required_result = shift_amount->IsAnd() ? implicit_mask : 0; in VisitShift()
[all …]
Dcommon_arm64.h190 unsigned shift_amount = 0) {
193 return vixl::aarch64::MemOperand(base.X(), regoffset, shift, shift_amount);
Dnodes_shared.h235 /*out*/int* shift_amount);