lib/mlrisc-lib/MLRISC/ra/ra-flowgraph-part.sig
raw| 1 | signature RA_FLOWGRAPH_PARTITIONER = |
| 2 | sig |
| 3 | |
| 4 | structure C : CELLS |
| 5 | |
| 6 | type flowgraph |
| 7 | |
| 8 | (* Number of basic blocks in the flowgraph *) |
| 9 | val numberOfBlocks : flowgraph -> int |
| 10 | |
| 11 | (* Partition a flowgraph into smaller subgraphs and apply |
| 12 | * allocation to them individually |
| 13 | *) |
| 14 | val partition : flowgraph -> CellsBasis.cellkind -> (flowgraph -> flowgraph) -> unit |
| 15 | |
| 16 | end |