Import Upstream version 20180207
[hcoop/debian/mlton.git] / doc / guide / src / Chunkify.adoc
CommitLineData
7f918cf1
CE
1Chunkify
2========
3
4<:Chunkify:> is an analysis pass for the <:RSSA:>
5<:IntermediateLanguage:>, invoked from <:ToMachine:>.
6
7== Description ==
8
9It partitions all the labels (function and block) in an <:RSSA:>
10program into disjoint sets, referred to as chunks.
11
12== Implementation ==
13
14* <!ViewGitFile(mlton,master,mlton/backend/chunkify.sig)>
15* <!ViewGitFile(mlton,master,mlton/backend/chunkify.fun)>
16
17== Details and Notes ==
18
19Breaking large <:RSSA:> functions into chunks is necessary for
20reasonable compile times with the <:CCodegen:> and the <:LLVMCodegen:>.