lib/mlrisc-lib/MLRISC/SSA/cfg2ssa.sig
raw| 1 | (* |
| 2 | * This module constructs an SSA graph from an control flow graph. |
| 3 | * The control flow graph is kept abstract so that we can specialize |
| 4 | * this module to various representations. |
| 5 | * |
| 6 | * -- Allen ([email protected]) |
| 7 | *) |
| 8 | signature CFG2SSA = |
| 9 | sig |
| 10 | structure SSA : SSA |
| 11 | structure CFG : SSA_FLOWGRAPH |
| 12 | sharing SSA.CFG = CFG |
| 13 | |
| 14 | val buildSSA : {cfg:CFG.cfg, dom:CFG.cfg -> SSA.dom} -> SSA.ssa |
| 15 | |
| 16 | end |