Function sequant::eval::detail::forced_split_levels

Function Documentation

inline ForcedSplitLevels sequant::eval::detail::forced_split_levels(RichSchedule const &rich, LegalitySchedule const &legality, OrderedScheduleDepGraph const &g, std::function<bool(std::size_t, std::size_t)> const &inside)

Assigns every value of rich its pass level (see ForcedSplitLevels), reading the carried/reduction roles from legality, the dependency edges from g, and deciding with inside whether a reader is produced inside a source’s own reduced loop instance.