sway_ir

Module pass_manager

Source

Structs§

Enums§

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 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.
  • A convenience utility to register known passes.

Type Aliases§