sway-ir/src/optimize/README.md
Optimization passes are a part of the compiler interface. They can be specified in build configs via their names and their description can be in the compiler output.
To keep the passes consistent in appearance and simple to use from CLI and in build configs, we follow these conventions:
For the sake of our internal consistency, we apply the same conventions to the utility passes like e.g., module printer, and to analysis passes like e.g., escaped symbols.