Searched refs:CanLongValueFitIntoInt (Results 1 – 1 of 1) sorted by relevance
24 static bool CanLongValueFitIntoInt(int64_t c) { in CanLongValueFitIntoInt() function30 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()605 if (IsConstant(info->op_a->op_a, kExact, &a) && CanLongValueFitIntoInt(a) && a >= 0 && in GetPolynomial()606 IsConstant(info->op_a->op_b, kExact, &b) && CanLongValueFitIntoInt(b) && b >= 0) { in GetPolynomial()632 CanLongValueFitIntoInt(a) && in GetGeometric()661 if (IsInt64AndGet(instruction, &value) && CanLongValueFitIntoInt(value)) { in GetFetch()669 if (IsInt64AndGet(instruction->InputAt(0), &value) && CanLongValueFitIntoInt(value)) { in GetFetch()[all …]