Lines Matching refs:int64_t

25 static bool CanLongValueFitIntoInt(int64_t c) {  in CanLongValueFitIntoInt()
31 return CanLongValueFitIntoInt(static_cast<int64_t>(c1) + static_cast<int64_t>(c2)); in IsSafeAdd()
36 return CanLongValueFitIntoInt(static_cast<int64_t>(c1) - static_cast<int64_t>(c2)); in IsSafeSub()
41 return CanLongValueFitIntoInt(static_cast<int64_t>(c1) * static_cast<int64_t>(c2)); in IsSafeMul()
46 return c2 != 0 && CanLongValueFitIntoInt(static_cast<int64_t>(c1) / static_cast<int64_t>(c2)); in IsSafeDiv()
50 static int64_t SafeMul(int64_t a, int64_t b, /*out*/ bool* overflow) { in SafeMul()
51 if (a > 0 && b > 0 && a > (std::numeric_limits<int64_t>::max() / b)) { in SafeMul()
58 static int64_t IntPow(int64_t b, int64_t e, /*out*/ bool* overflow) { in IntPow()
61 int64_t pow = 1; in IntPow()
104 int64_t value; in SimplifyMax()
229 int64_t stride_value = 0; in GetInductionRange()
247 int64_t stride_value = 0; in CanGenerateRange()
271 int64_t stride_value = 0; in GenerateRange()
297 int64_t stride_value = 0; in GenerateTakenTest()
321 int64_t stride_value = 0; in CanGenerateLastValue()
344 int64_t stride_value = 0; in GenerateLastValue()
378 bool InductionVarRange::IsFinite(const HLoopInformation* loop, /*out*/ int64_t* trip_count) const { in IsFinite()
384 /*out*/ int64_t* trip_count) const { in HasKnownTripCount()
400 int64_t stride_value = 0; in IsUnitStride()
402 int64_t off_value = 0; in IsUnitStride()
463 /*out*/ int64_t* trip_count) const { in CheckForFiniteAndConstantProps()
478 /*out*/ int64_t* value) const { in IsConstant()
536 int64_t not_used = 0; in IsWellBehavedTripCount()
558 int64_t* stride_value) const { in NeedsTripCount()
605 int64_t stride_value = 0; in GetLinear()
652 int64_t a = 0; in GetPolynomial()
653 int64_t b = 0; in GetPolynomial()
681 int64_t a = 0; in GetGeometric()
682 int64_t f = 0; in GetGeometric()
716 int64_t value; in GetFetch()
852 int64_t value = 0; in GetMul()
889 int64_t value = 0; in GetDiv()
922 int64_t v1 = 0; in GetRem()
923 int64_t v2 = 0; in GetRem()
928 int64_t value = v1 % v2; in GetRem()
941 int64_t v1 = 0; in GetXor()
942 int64_t v2 = 0; in GetXor()
946 int64_t value = v1 ^ v2; in GetXor()
957 int64_t value, in MulRangeAndConstant()
971 int64_t value, in DivRangeAndConstant()
1053 /*out*/int64_t* stride_value, in GenerateRangeOrLastValue()
1147 int64_t stride_value = 0; in GenerateLastValueLinear()
1207 int64_t a = 0; in GenerateLastValuePolynomial()
1208 int64_t b = 0; in GenerateLastValuePolynomial()
1209 int64_t m = 0; in GenerateLastValuePolynomial()
1227 int64_t sum = a * ((m * (m - 1)) / 2) + b * m; in GenerateLastValuePolynomial()
1250 int64_t f = 0; in GenerateLastValueGeometric()
1251 int64_t m = 0; in GenerateLastValueGeometric()
1266 int64_t fpow = IntPow(f, m, &overflow); in GenerateLastValueGeometric()
1314 int64_t m = 0; in GenerateLastValueWrapAround()
1335 int64_t period = 1; in GenerateLastValuePeriodic()
1356 int64_t m = 0; in GenerateLastValuePeriodic()
1358 int64_t li = m % period; in GenerateLastValuePeriodic()
1359 for (int64_t i = 0; i < li; info = info->op_b, i++) {} in GenerateLastValuePeriodic()
1375 int64_t stride_value = 0; in GenerateLastValuePeriodic()
1613 int64_t stride_value = 0; in GenerateCode()
1684 int64_t val_a; in TryGenerateAddWithoutOverflow()
1686 int64_t val_b; in TryGenerateAddWithoutOverflow()
1728 int64_t val_b; in TryGenerateSubWithoutOverflow()
1735 int64_t val_a; in TryGenerateSubWithoutOverflow()