Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dinduction_var_range.cc229 int64_t stride_value = 0; in GetInductionRange() local
233 NeedsTripCount(context, loop, info, &stride_value) && IsUnsafeTripCount(trip); in GetInductionRange()
247 int64_t stride_value = 0; in CanGenerateRange() local
256 &stride_value, in CanGenerateRange()
259 (stride_value == -1 || in CanGenerateRange()
260 stride_value == 0 || in CanGenerateRange()
261 stride_value == 1); // avoid arithmetic wrap-around anomalies. in CanGenerateRange()
271 int64_t stride_value = 0; in GenerateRange() local
281 &stride_value, in GenerateRange()
284 (stride_value != -1 && in GenerateRange()
[all …]
Dinduction_var_analysis.cc1050 int64_t stride_value = 0; in VisitCondition() local
1051 if (!IsExact(context, loop, stride_expr, &stride_value)) { in VisitCondition()
1059 if (cmp == kCondNE && RewriteBreakLoop(context, loop, body, stride_value, type)) { in VisitCondition()
1060 cmp = stride_value > 0 ? kCondLE : kCondGE; in VisitCondition()
1066 ((stride_value == +1 && IsTaken(context, loop, lower_expr, upper_expr, kCondLE)) || in VisitCondition()
1067 (stride_value == -1 && IsTaken(context, loop, lower_expr, upper_expr, kCondGE)))) { in VisitCondition()
1068 cmp = stride_value > 0 ? kCondLT : kCondGT; in VisitCondition()
1073 !FitsNarrowerControl(context, loop, lower_expr, upper_expr, stride_value, a->type, cmp)) { in VisitCondition()
1079 if ((stride_value > 0 && (cmp == kCondLT || cmp == kCondLE)) || in VisitCondition()
1080 (stride_value < 0 && (cmp == kCondGT || cmp == kCondGE))) { in VisitCondition()
[all …]
Dinduction_var_analysis.h247 int64_t stride_value,
258 int64_t stride_value,
265 int64_t stride_value,
271 int64_t stride_value,
Dinduction_var_range.h232 /*out*/ int64_t* stride_value) const;
317 /*out*/ int64_t* stride_value,