Lines Matching refs:stride_value
218 int64_t stride_value = 0; in GetInductionRange() local
221 *needs_finite_test = NeedsTripCount(info, &stride_value) && IsUnsafeTripCount(trip); in GetInductionRange()
235 int64_t stride_value = 0; in CanGenerateRange() local
244 &stride_value, in CanGenerateRange()
247 && (stride_value == -1 || in CanGenerateRange()
248 stride_value == 0 || in CanGenerateRange()
249 stride_value == 1); // avoid arithmetic wrap-around anomalies. in CanGenerateRange()
259 int64_t stride_value = 0; in GenerateRange() local
269 &stride_value, in GenerateRange()
281 int64_t stride_value = 0; in GenerateTakenTest() local
291 &stride_value, in GenerateTakenTest()
301 int64_t stride_value = 0; in CanGenerateLastValue() local
312 &stride_value, in CanGenerateLastValue()
323 int64_t stride_value = 0; in GenerateLastValue() local
333 &stride_value, in GenerateLastValue()
376 int64_t stride_value = 0; in IsUnitStride() local
377 if (IsConstant(info->op_a, kExact, &stride_value) && stride_value == 1) { in IsUnitStride()
512 int64_t* stride_value) const { in NeedsTripCount()
515 return IsConstant(info->op_a, kExact, stride_value); in NeedsTripCount()
517 return NeedsTripCount(info->op_a, stride_value); in NeedsTripCount()
519 return NeedsTripCount(info->op_b, stride_value); in NeedsTripCount()
558 int64_t stride_value = 0; in GetLinear() local
559 if (IsConstant(info->op_a, kExact, &stride_value)) { in GetLinear()
560 if (!is_min && stride_value == 1) { in GetLinear()
573 } else if (is_min && stride_value == -1) { in GetLinear()
978 /*out*/int64_t* stride_value, in GenerateRangeOrLastValue() argument
993 *stride_value = 0; in GenerateRangeOrLastValue()
994 *needs_finite_test = NeedsTripCount(info, stride_value) && IsUnsafeTripCount(trip); in GenerateRangeOrLastValue()
1001 if (*stride_value > 0) { in GenerateRangeOrLastValue()
1333 int64_t stride_value = 0; in GenerateCode() local
1334 if (IsConstant(info->op_a, kExact, &stride_value) && in GenerateCode()
1335 CanLongValueFitIntoInt(stride_value)) { in GenerateCode()
1336 const bool is_min_a = stride_value >= 0 ? is_min : !is_min; in GenerateCode()
1342 if (stride_value == 1) { in GenerateCode()
1344 } else if (stride_value == -1) { in GenerateCode()
1348 new (allocator) HMul(type, graph->GetConstant(type, stride_value), opa); in GenerateCode()