Commit | Line | Data |
---|---|---|
7f918cf1 CE |
1 | XMLSimplify |
2 | =========== | |
3 | ||
4 | The optimization passes for the <:XML:> <:IntermediateLanguage:> are | |
5 | collected and controlled by the `XmlSimplify` functor | |
6 | (<!ViewGitFile(mlton,master,mlton/xml/xml-simplify.sig)>, | |
7 | <!ViewGitFile(mlton,master,mlton/xml/xml-simplify.fun)>). | |
8 | ||
9 | The following optimization passes are implemented: | |
10 | ||
11 | * <:XMLSimplifyTypes:> | |
12 | * <:XMLShrink:> | |
13 | ||
14 | The optimization passes can be controlled from the command-line by the options | |
15 | ||
16 | * `-diag-pass <pass>` -- keep diagnostic info for pass | |
17 | * `-disable-pass <pass>` -- skip optimization pass (if normally performed) | |
18 | * `-enable-pass <pass>` -- perform optimization pass (if normally skipped) | |
19 | * `-keep-pass <pass>` -- keep the results of pass | |
20 | * `-xml-passes <passes>` -- xml optimization passes |