lib/mlrisc-lib/MLRISC/block-placement/block-placement.sig
raw| 1 | (* block-placement.sig |
| 2 | * |
| 3 | * COPYRIGHT (c) 2001 Bell Labs, Lucent Technologies |
| 4 | *) |
| 5 | |
| 6 | (* Perform code block placement *) |
| 7 | |
| 8 | (* When several blocks are successors to the unique entry node, |
| 9 | * then block with the lowest block id appears first. |
| 10 | * This usually corresponds to what one wants when doing dynamic |
| 11 | * code generation. |
| 12 | *) |
| 13 | signature BLOCK_PLACEMENT = sig |
| 14 | structure CFG : CONTROL_FLOW_GRAPH |
| 15 | |
| 16 | val blockPlacement : CFG.cfg -> (CFG.cfg * CFG.node list) |
| 17 | |
| 18 | end |