doc: the different chunks of the pass manager (#12400)

This commit is contained in:
Henrik Böving 2026-02-10 09:48:36 +01:00 committed by GitHub
parent 7488201604
commit 611337ecee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -101,9 +101,16 @@ The `PassManager` used to store all `Pass`es that will be run within
pipeline.
-/
structure PassManager where
/-- Passes that happen during the LCNF base phase -/
basePasses : Array Pass
/-- Passes that happen during the LCNF mono phase before lambda lifting -/
monoPasses : Array Pass
/--
Passes that happen during the LCNF mono phase after lambda lifting. Note that lifted lambdas will
have been lifted out of the SCC they originated from if possible.
-/
monoPassesNoLambda : Array Pass
/-- Passes that happen during the LCNF impure phase. -/
impurePasses : Array Pass
deriving Inhabited