Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dinduction_var_range.cc24 static bool CanLongValueFitIntoInt(int64_t c) { in CanLongValueFitIntoInt() function
30 return CanLongValueFitIntoInt(static_cast<int64_t>(c1) + static_cast<int64_t>(c2)); in IsSafeAdd()
35 return CanLongValueFitIntoInt(static_cast<int64_t>(c1) - static_cast<int64_t>(c2)); in IsSafeSub()
40 return CanLongValueFitIntoInt(static_cast<int64_t>(c1) * static_cast<int64_t>(c2)); in IsSafeMul()
45 return c2 != 0 && CanLongValueFitIntoInt(static_cast<int64_t>(c1) / static_cast<int64_t>(c2)); in IsSafeDiv()
583 if (IsConstant(info->op_a->op_a, kExact, &a) && CanLongValueFitIntoInt(a) && a >= 0 && in GetPolynomial()
584 IsConstant(info->op_a->op_b, kExact, &b) && CanLongValueFitIntoInt(b) && b >= 0) { in GetPolynomial()
610 CanLongValueFitIntoInt(a) && in GetGeometric()
639 if (IsInt64AndGet(instruction, &value) && CanLongValueFitIntoInt(value)) { in GetFetch()
647 if (IsInt64AndGet(instruction->InputAt(0), &value) && CanLongValueFitIntoInt(value)) { in GetFetch()
[all …]