Lines Matching refs:CanLongValueFitIntoInt

24 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()
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()
672 } else if (IsInt64AndGet(instruction->InputAt(1), &value) && CanLongValueFitIntoInt(value)) { in GetFetch()
678 if (IsInt64AndGet(instruction->InputAt(0), &value) && CanLongValueFitIntoInt(value)) { in GetFetch()
681 } else if (IsInt64AndGet(instruction->InputAt(1), &value) && CanLongValueFitIntoInt(value)) { in GetFetch()
859 if (CanLongValueFitIntoInt(value)) { in GetRem()
874 if (CanLongValueFitIntoInt(value)) { in GetXor()
887 if (CanLongValueFitIntoInt(value)) { in MulRangeAndConstant()
900 if (CanLongValueFitIntoInt(value)) { in DivRangeAndConstant()
1093 if (overflow || (type != DataType::Type::kInt64 && !CanLongValueFitIntoInt(fpow))) { in GenerateLastValueGeometric()
1335 CanLongValueFitIntoInt(stride_value)) { in GenerateCode()