Import Upstream version 20180207
[hcoop/debian/mlton.git] / doc / guide / localhost / RSSASimplify
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <meta name="generator" content="AsciiDoc 8.6.9">
6 <title>RSSASimplify</title>
7 <link rel="stylesheet" href="./asciidoc.css" type="text/css">
8 <link rel="stylesheet" href="./pygments.css" type="text/css">
9
10
11 <script type="text/javascript" src="./asciidoc.js"></script>
12 <script type="text/javascript">
13 /*<![CDATA[*/
14 asciidoc.install();
15 /*]]>*/
16 </script>
17 <link rel="stylesheet" href="./mlton.css" type="text/css">
18 </head>
19 <body class="article">
20 <div id="banner">
21 <div id="banner-home">
22 <a href="./Home">MLton 20180207</a>
23 </div>
24 </div>
25 <div id="header">
26 <h1>RSSASimplify</h1>
27 </div>
28 <div id="content">
29 <div id="preamble">
30 <div class="sectionbody">
31 <div class="paragraph"><p>The optimization passes for the <a href="RSSA">RSSA</a> <a href="IntermediateLanguage">IntermediateLanguage</a> are
32 collected and controlled by the <span class="monospaced">Backend</span> functor
33 (<a href="https://github.com/MLton/mlton/blob/master/mlton/backend/backend.sig"><span class="monospaced">backend.sig</span></a>,
34 <a href="https://github.com/MLton/mlton/blob/master/mlton/backend/backend.fun"><span class="monospaced">backend.fun</span></a>).</p></div>
35 <div class="paragraph"><p>The following optimization pass is implemented:</p></div>
36 <div class="ulist"><ul>
37 <li>
38 <p>
39 <a href="RSSAShrink">RSSAShrink</a>
40 </p>
41 </li>
42 </ul></div>
43 <div class="paragraph"><p>The following implementation passes are implemented:</p></div>
44 <div class="ulist"><ul>
45 <li>
46 <p>
47 <a href="ImplementHandlers">ImplementHandlers</a>
48 </p>
49 </li>
50 <li>
51 <p>
52 <a href="ImplementProfiling">ImplementProfiling</a>
53 </p>
54 </li>
55 <li>
56 <p>
57 <a href="InsertLimitChecks">InsertLimitChecks</a>
58 </p>
59 </li>
60 <li>
61 <p>
62 <a href="InsertSignalChecks">InsertSignalChecks</a>
63 </p>
64 </li>
65 </ul></div>
66 <div class="paragraph"><p>The optimization passes can be controlled from the command-line by the options</p></div>
67 <div class="ulist"><ul>
68 <li>
69 <p>
70 <span class="monospaced">-diag-pass &lt;pass&gt;</span>&#8201;&#8212;&#8201;keep diagnostic info for pass
71 </p>
72 </li>
73 <li>
74 <p>
75 <span class="monospaced">-drop-pass &lt;pass&gt;</span>&#8201;&#8212;&#8201;omit optimization pass
76 </p>
77 </li>
78 <li>
79 <p>
80 <span class="monospaced">-keep-pass &lt;pass&gt;</span>&#8201;&#8212;&#8201;keep the results of pass
81 </p>
82 </li>
83 </ul></div>
84 </div>
85 </div>
86 </div>
87 <div id="footnotes"><hr></div>
88 <div id="footer">
89 <div id="footer-text">
90 </div>
91 <div id="footer-badges">
92 </div>
93 </div>
94 </body>
95 </html>