pub fn insert_after_each(pg: PassGroup, pass: &'static str) -> PassGroup
Expand description
Utility to insert a pass after every pass in the given group pg
.
It preserves the pg
group’s structure. This means if pg
has subgroups
and those have subgroups, the resulting PassGroup will have the
same subgroups, but with the pass
inserted after every pass in every
subgroup, as well as all passes outside of any groups.