Searched refs:trip_counter (Results 1 – 1 of 1) sorted by relevance
1000 absl::optional<int64> trip_counter; in TryMergeInductionVariables() local1011 if (!trip_counter && constant->literal().IsAll(1) && in TryMergeInductionVariables()1015 trip_counter = i; in TryMergeInductionVariables()1029 if (induction_vars.size() + (trip_counter.has_value() ? 1 : 0) < 2) { in TryMergeInductionVariables()1067 if (!trip_counter) { in TryMergeInductionVariables()1069 trip_counter = new_while_shape.tuple_shapes_size(); in TryMergeInductionVariables()1090 add_gte(instr, *trip_counter), in TryMergeInductionVariables()1115 new_while_shape.tuple_shapes(*trip_counter), HloOpcode::kAdd, in TryMergeInductionVariables()1116 add_gte(loop_body_param, *trip_counter), in TryMergeInductionVariables()