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.cc348 HInstruction* shift_amount = instruction->GetRight(); in VisitShift() local
355 if (shift_amount->IsConstant()) { in VisitShift()
356 int64_t cst = Int64FromConstant(shift_amount->AsConstant()); in VisitShift()
374 DCHECK_EQ(shift_amount->GetType(), DataType::Type::kInt32); in VisitShift()
391 if (shift_amount->IsAnd() || in VisitShift()
392 shift_amount->IsOr() || in VisitShift()
393 shift_amount->IsXor() || in VisitShift()
394 shift_amount->IsAdd() || in VisitShift()
395 shift_amount->IsSub()) { in VisitShift()
396 int64_t required_result = shift_amount->IsAnd() ? implicit_mask : 0; in VisitShift()
[all …]
Dcommon_arm64.h185 unsigned shift_amount = 0) {
188 return vixl::aarch64::MemOperand(base.X(), regoffset, shift, shift_amount);
Dnodes_shared.h235 /*out*/int* shift_amount);