Home
last modified time | relevance | path

Searched refs:reg_bits (Results 1 – 2 of 2) sorted by relevance

/art/compiler/optimizing/
Dinstruction_simplifier.cc289 static bool IsSubRegBitsMinusOther(HSub* sub, size_t reg_bits, HInstruction* other) { in IsSubRegBitsMinusOther() argument
292 (Int64FromConstant(sub->GetLeft()->AsConstant()) & (reg_bits - 1)) == 0); in IsSubRegBitsMinusOther()
359 size_t reg_bits = Primitive::ComponentSize(ushr->GetType()) * kBitsPerByte; in TryReplaceWithRotateConstantPattern() local
362 if (((ldist + rdist) & (reg_bits - 1)) == 0) { in TryReplaceWithRotateConstantPattern()
420 size_t reg_bits = Primitive::ComponentSize(ushr->GetType()) * kBitsPerByte; in TryReplaceWithRotateRegisterSubPattern() local
423 if ((shl_shift->IsSub() && IsSubRegBitsMinusOther(shl_shift->AsSub(), reg_bits, ushr_shift)) || in TryReplaceWithRotateRegisterSubPattern()
424 (ushr_shift->IsSub() && IsSubRegBitsMinusOther(ushr_shift->AsSub(), reg_bits, shl_shift))) { in TryReplaceWithRotateRegisterSubPattern()
1048 size_t reg_bits = (instruction->GetResultType() == Primitive::kPrimLong) ? 64 : 32; in VisitAnd() local
1049 size_t shift = Int64FromConstant(input_other->InputAt(1)->AsConstant()) & (reg_bits - 1); in VisitAnd()
1051 if ((num_tail_bits_set >= reg_bits - shift) && input_other->IsUShr()) { in VisitAnd()
[all …]
Dnodes.h5010 const V reg_bits = sizeof(T) * 8; in Compute() local
5012 (value << (reg_bits - (distance & max_shift_value))); in Compute()