Searched refs:reg_bits (Results 1 – 1 of 1) sorted by relevance
406 static bool IsSubRegBitsMinusOther(HSub* sub, size_t reg_bits, HInstruction* other) { in IsSubRegBitsMinusOther() argument409 (Int64FromConstant(sub->GetLeft()->AsConstant()) & (reg_bits - 1)) == 0); in IsSubRegBitsMinusOther()477 size_t reg_bits = DataType::Size(ushr->GetType()) * kBitsPerByte; in TryReplaceWithRotateConstantPattern() local480 if (((ldist + rdist) & (reg_bits - 1)) == 0) { in TryReplaceWithRotateConstantPattern()538 size_t reg_bits = DataType::Size(ushr->GetType()) * kBitsPerByte; in TryReplaceWithRotateRegisterSubPattern() local541 if ((shl_shift->IsSub() && IsSubRegBitsMinusOther(shl_shift->AsSub(), reg_bits, ushr_shift)) || in TryReplaceWithRotateRegisterSubPattern()542 (ushr_shift->IsSub() && IsSubRegBitsMinusOther(ushr_shift->AsSub(), reg_bits, shl_shift))) { in TryReplaceWithRotateRegisterSubPattern()1406 size_t reg_bits = (instruction->GetResultType() == DataType::Type::kInt64) ? 64 : 32; in VisitAnd() local1407 size_t shift = Int64FromConstant(input_other->InputAt(1)->AsConstant()) & (reg_bits - 1); in VisitAnd()1409 if ((num_tail_bits_set >= reg_bits - shift) && input_other->IsUShr()) { in VisitAnd()[all …]