Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dbounds_check_elimination.cc1036 int64_t const_divisor = 0; in TryToAssignRangeIfOptimizedRemWithConstantDivisor() local
1042 const_divisor = Int64FromConstant(mul->GetRight()->AsConstant()); in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1059 const_divisor = (1LL << n) + 1; in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1072 const_divisor = (1LL << n) - 1; in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1075 if (div == nullptr || !IsInt64Value(div->GetRight(), const_divisor) || in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1081 if (const_divisor == DataType::MinValueOfIntegralType(DataType::Type::kInt32)) { in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1086 DCHECK_GT(const_divisor, DataType::MinValueOfIntegralType(DataType::Type::kInt32)); in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1087 DCHECK_LE(const_divisor, DataType::MaxValueOfIntegralType(DataType::Type::kInt32)); in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1088 int32_t abs_const_divisor = static_cast<int32_t>(std::abs(const_divisor)); in TryToAssignRangeIfOptimizedRemWithConstantDivisor()