| 1 |
(* |
| 2 |
* Restructure the branches according to the branch frequencies |
| 3 |
* in the program. Try to eliminate the number of branches within a loop. |
| 4 |
* |
| 5 |
* -- Allen |
| 6 |
*) |
| 7 |
signature RESHAPE_BRANCHES = |
| 8 |
sig |
| 9 |
|
| 10 |
structure IR : MLRISC_IR |
| 11 |
|
| 12 |
val reshapeBranches : IR.IR -> unit |
| 13 |
|
| 14 |
end |
| 15 |
|