Home
last modified time | relevance | path

Searched refs:stride_value (Results 1 – 4 of 4) sorted by relevance

/art/compiler/optimizing/
Dinduction_var_range.cc232 int64_t stride_value = 0; in GetInductionRange() local
235 *needs_finite_test = NeedsTripCount(info, &stride_value) && IsUnsafeTripCount(trip); in GetInductionRange()
249 int64_t stride_value = 0; in CanGenerateRange() local
258 &stride_value, in CanGenerateRange()
261 && (stride_value == -1 || in CanGenerateRange()
262 stride_value == 0 || in CanGenerateRange()
263 stride_value == 1); // avoid arithmetic wrap-around anomalies. in CanGenerateRange()
273 int64_t stride_value = 0; in GenerateRange() local
283 &stride_value, in GenerateRange()
295 int64_t stride_value = 0; in GenerateTakenTest() local
[all …]
Dinduction_var_analysis.cc941 int64_t stride_value = 0; in VisitCondition() local
942 if (!IsExact(stride_expr, &stride_value)) { in VisitCondition()
950 if (cmp == kCondNE && RewriteBreakLoop(loop, body, stride_value, type)) { in VisitCondition()
951 cmp = stride_value > 0 ? kCondLE : kCondGE; in VisitCondition()
956 if (cmp == kCondNE && ((stride_value == +1 && IsTaken(lower_expr, upper_expr, kCondLE)) || in VisitCondition()
957 (stride_value == -1 && IsTaken(lower_expr, upper_expr, kCondGE)))) { in VisitCondition()
958 cmp = stride_value > 0 ? kCondLT : kCondGT; in VisitCondition()
963 !FitsNarrowerControl(lower_expr, upper_expr, stride_value, a->type, cmp)) { in VisitCondition()
969 if ((stride_value > 0 && (cmp == kCondLT || cmp == kCondLE)) || in VisitCondition()
970 (stride_value < 0 && (cmp == kCondGT || cmp == kCondGE))) { in VisitCondition()
[all …]
Dinduction_var_analysis.h214 int64_t stride_value,
219 int64_t stride_value,
224 int64_t stride_value,
229 int64_t stride_value,
Dinduction_var_range.h213 /*out*/ int64_t* stride_value) const;
283 /*out*/ int64_t* stride_value,