Searched refs:stride_value (Results 1 – 3 of 3) sorted by relevance
/art/compiler/optimizing/ |
D | induction_var_analysis.cc | 620 int64_t stride_value = 0; in VisitCondition() local 621 if (!IsExact(stride_expr, &stride_value)) { in VisitCondition() 627 if (cmp == kCondNE && ((stride_value == +1 && IsTaken(lower_expr, upper_expr, kCondLE)) || in VisitCondition() 628 (stride_value == -1 && IsTaken(lower_expr, upper_expr, kCondGE)))) { in VisitCondition() 629 cmp = stride_value > 0 ? kCondLT : kCondGT; in VisitCondition() 636 !FitsNarrowerControl(lower_expr, upper_expr, stride_value, a->type, cmp)) { in VisitCondition() 642 if ((stride_value > 0 && (cmp == kCondLT || cmp == kCondLE)) || in VisitCondition() 643 (stride_value < 0 && (cmp == kCondGT || cmp == kCondGE))) { in VisitCondition() 644 VisitTripCount(loop, lower_expr, upper_expr, stride_expr, stride_value, type, cmp); in VisitCondition() 653 int64_t stride_value, in VisitTripCount() argument [all …]
|
D | induction_var_analysis.h | 188 int64_t stride_value, 193 int64_t stride_value, 198 int64_t stride_value,
|
D | induction_var_range.cc | 309 int64_t stride_value = 0; in GetLinear() local 310 if (IsConstant(info->op_a, kExact, &stride_value)) { in GetLinear() 311 if (!is_min && stride_value == 1) { in GetLinear() 324 } else if (is_min && stride_value == -1) { in GetLinear() 757 int64_t stride_value = 0; in GenerateCode() local 758 if (IsConstant(info->op_a, kExact, &stride_value)) { in GenerateCode() 759 if (stride_value == 1 || stride_value == -1) { in GenerateCode() 760 const bool is_min_a = stride_value == 1 ? is_min : !is_min; in GenerateCode() 765 if (stride_value == 1) { in GenerateCode()
|