lib/mlrisc-lib/MLRISC/scheduling/bbScheduler.sig
raw| 1 | (* |
| 2 | * A light weight basic block scheduler. |
| 3 | *) |
| 4 | signature BASIC_BLOCK_SCHEDULER = |
| 5 | sig |
| 6 | structure I : INSTRUCTIONS |
| 7 | structure C : CELLS |
| 8 | sharing I.C = C |
| 9 | |
| 10 | (* |
| 11 | * Note: the instructions are assumed to be in reverse order, |
| 12 | * the same as in the cluster and the CFG representation. |
| 13 | *) |
| 14 | val schedule : {cpu:string} |
| 15 | -> I.instruction list -> I.instruction list |
| 16 | |
| 17 | end |