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.cc119 int shift_amount = 0; in TryMergeIntoShifterOperand() local
121 HDataProcWithShifterOp::GetOpInfoFromInstruction(bitfield_op, &op_kind, &shift_amount); in TryMergeIntoShifterOperand()
122 shift_amount &= use->GetType() == DataType::Type::kInt32 in TryMergeIntoShifterOperand()
132 } else if (type == DataType::Type::kInt64 && shift_amount == 1) { in TryMergeIntoShifterOperand()
142 shift_amount, in TryMergeIntoShifterOperand()
Dinstruction_simplifier_arm64.cc133 int shift_amount = 0; in TryMergeIntoShifterOperand() local
134 HDataProcWithShifterOp::GetOpInfoFromInstruction(bitfield_op, &op_kind, &shift_amount); in TryMergeIntoShifterOperand()
146 shift_amount, in TryMergeIntoShifterOperand()
Dinstruction_simplifier.cc338 HInstruction* shift_amount = instruction->GetRight(); in VisitShift() local
345 if (shift_amount->IsConstant()) { in VisitShift()
346 int64_t cst = Int64FromConstant(shift_amount->AsConstant()); in VisitShift()
364 DCHECK_EQ(shift_amount->GetType(), DataType::Type::kInt32); in VisitShift()
381 if (shift_amount->IsAnd() || in VisitShift()
382 shift_amount->IsOr() || in VisitShift()
383 shift_amount->IsXor() || in VisitShift()
384 shift_amount->IsAdd() || in VisitShift()
385 shift_amount->IsSub()) { in VisitShift()
386 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);