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()355 if (IsIntAndGet(instruction, &value) && CanLongValueFitIntoInt(value)) { in GetFetch()358 if (IsIntAndGet(instruction->InputAt(0), &value) && CanLongValueFitIntoInt(value)) { in GetFetch()361 } else if (IsIntAndGet(instruction->InputAt(1), &value) && CanLongValueFitIntoInt(value)) { in GetFetch()