Module sway_ir::pass_manager
source · Structs§
- An analysis or transformation pass.
- A group of passes. Can contain sub-groups.
Enums§
- Is a pass an Analysis or a Transformation over the IR?
- An individual pass, or a group (with possible subgroup) of passes.
- A concrete version of PassScope.
Traits§
- Result of an analysis. Specific result must be downcasted to.
- Program scope over which a pass executes.
Functions§
- Utility to insert a pass after every pass in the given group
pg
. It preserves thepg
group’s structure. This means ifpg
has subgroups and those have subgroups, the resulting PassGroup will have the same subgroups, but with thepass
inserted after every pass in every subgroup, as well as all passes outside of any groups. - A convenience utility to register known passes.