Lines Matching refs:IsConstant
377 if (IsConstant(info->op_a, kExact, &stride_value) && stride_value == 1) { in IsUnitStride()
379 if (IsConstant(info->op_b, kExact, &off_value)) { in IsUnitStride()
428 *is_constant = IsConstant(trip->op_a, kExact, trip_count); in CheckForFiniteAndConstantProps()
434 bool InductionVarRange::IsConstant(HInductionVarAnalysis::InductionInfo* info, in IsConstant() function in art::InductionVarRange
494 return (!HasFetchInLoop(lower) || range.IsConstant(lower, kAtLeast, ¬_used)) && in IsWellBehavedTripCount()
495 (!HasFetchInLoop(upper) || range.IsConstant(upper, kAtLeast, ¬_used)); in IsWellBehavedTripCount()
515 return IsConstant(info->op_a, kExact, stride_value); in NeedsTripCount()
559 if (IsConstant(info->op_a, kExact, &stride_value)) { in GetLinear()
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()
631 if (IsConstant(info->op_a, kExact, &a) && in GetGeometric()
654 } else if (!instruction->IsConstant() && !IsUnsafeTripCount(trip)) { in GetFetch()
788 if (IsConstant(info1, kExact, &value)) { in GetMul()
790 } else if (IsConstant(info2, kExact, &value)) { in GetMul()
824 if (IsConstant(info2, kExact, &value)) { in GetDiv()
857 if (IsConstant(info1, kExact, &v1) && IsConstant(info2, kExact, &v2) && v2 != 0) { in GetRem()
872 if (IsConstant(info1, kExact, &v1) && IsConstant(info2, kExact, &v2)) { in GetXor()
1049 if (IsConstant(info->op_a->op_a, kExact, &a) && in GenerateLastValuePolynomial()
1050 IsConstant(info->op_a->op_b, kExact, &b) && in GenerateLastValuePolynomial()
1051 IsConstant(trip->op_a, kExact, &m) && m >= 1) { in GenerateLastValuePolynomial()
1081 if (IsInt64AndGet(info->fetch, &f) && f >= 1 && IsConstant(trip->op_a, kExact, &m) && m >= 1) { in GenerateLastValueGeometric()
1138 IsConstant(trip->op_a, kExact, &m) && m >= depth) { in GenerateLastValueWrapAround()
1175 if (IsConstant(trip->op_a, kExact, &m) && m >= 1) { in GenerateLastValuePeriodic()
1334 if (IsConstant(info->op_a, kExact, &stride_value) && in GenerateCode()