4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <meta name="generator" content="AsciiDoc 8.6.9">
6 <title>Chunkify</title>
7 <link rel="stylesheet" href="./asciidoc.css" type="text/css">
8 <link rel="stylesheet" href="./pygments.css" type="text/css">
11 <script type="text/javascript" src="./asciidoc.js"></script>
12 <script type="text/javascript">
17 <link rel="stylesheet" href="./mlton.css" type="text/css">
19 <body class="article">
21 <div id="banner-home">
22 <a href="./Home">MLton 20180207</a>
30 <div class="sectionbody">
31 <div class="paragraph"><p><a href="Chunkify">Chunkify</a> is an analysis pass for the <a href="RSSA">RSSA</a>
32 <a href="IntermediateLanguage">IntermediateLanguage</a>, invoked from <a href="ToMachine">ToMachine</a>.</p></div>
36 <h2 id="_description">Description</h2>
37 <div class="sectionbody">
38 <div class="paragraph"><p>It partitions all the labels (function and block) in an <a href="RSSA">RSSA</a>
39 program into disjoint sets, referred to as chunks.</p></div>
43 <h2 id="_implementation">Implementation</h2>
44 <div class="sectionbody">
45 <div class="ulist"><ul>
48 <a href="https://github.com/MLton/mlton/blob/master/mlton/backend/chunkify.sig"><span class="monospaced">chunkify.sig</span></a>
53 <a href="https://github.com/MLton/mlton/blob/master/mlton/backend/chunkify.fun"><span class="monospaced">chunkify.fun</span></a>
60 <h2 id="_details_and_notes">Details and Notes</h2>
61 <div class="sectionbody">
62 <div class="paragraph"><p>Breaking large <a href="RSSA">RSSA</a> functions into chunks is necessary for
63 reasonable compile times with the <a href="CCodegen">CCodegen</a> and the <a href="LLVMCodegen">LLVMCodegen</a>.</p></div>
67 <div id="footnotes"><hr></div>
69 <div id="footer-text">
71 <div id="footer-badges">