| 1 |
(* |
| 2 |
* Module for inserting preheaders and splitting critical edges. |
| 3 |
* |
| 4 |
* -- Allen |
| 5 |
*) |
| 6 |
|
| 7 |
signature CFG_STRUCTURING = |
| 8 |
sig |
| 9 |
|
| 10 |
structure IR : MLRISC_IR |
| 11 |
|
| 12 |
val reshape : IR.IR -> |
| 13 |
{ add_preheader : bool, |
| 14 |
split_critical_edges : bool |
| 15 |
} -> unit |
| 16 |
|
| 17 |
end |
| 18 |
|