Debian Codegraph @

doc/guide/src/Chunkify.adoc

raw
1 = Chunkify
2
3 <<Chunkify#>> is an analysis pass for the <<RSSA#>>
4 <<IntermediateLanguage#>>, invoked from <<ToMachine#>>.
5
6 == Description
7
8 It partitions all the labels (function and block) in an <<RSSA#>>
9 program into disjoint sets, referred to as chunks.
10
11 == Implementation
12
13 * https://github.com/MLton/mlton/blob/master/mlton/backend/chunkify.sig[`chunkify.sig`]
14 * https://github.com/MLton/mlton/blob/master/mlton/backend/chunkify.fun[`chunkify.fun`]
15
16 == Details and Notes
17
18 Breaking large <<RSSA#>> functions into chunks is necessary for
19 reasonable compile times with the <<CCodegen#>> and the <<LLVMCodegen#>>.