| 1 |
(* Important NOTE: we absolutely do not want to use the version of MLRISC |
| 2 |
* that is in the compiler. Otherwise, when we change MLRISC, we will not |
| 3 |
* be able to compile/run this tool until we've bootstrapped a new compiler. |
| 4 |
* |
| 5 |
* -- Allen |
| 6 |
*) |
| 7 |
|
| 8 |
Group |
| 9 |
signature CELLS |
| 10 |
signature CELLS_BASIS |
| 11 |
signature CONSTANT |
| 12 |
signature ENV |
| 13 |
signature INSTRUCTION_STREAM |
| 14 |
signature LABEL |
| 15 |
signature MACHINE_INT |
| 16 |
signature MDL_COMPILE |
| 17 |
signature MDL_ENV |
| 18 |
signature MDL_GEN |
| 19 |
signature MDL_GEN_MODULE |
| 20 |
signature MDL_GEN_MODULE2 |
| 21 |
signature MDL_RTL_COMP |
| 22 |
signature MDL_RTL_TOOLS |
| 23 |
signature MDL_TYPE_UTILS |
| 24 |
signature MDL_TYPING |
| 25 |
signature MLRISC_DEFS |
| 26 |
signature MLRISC_TYPES |
| 27 |
signature MLTREE |
| 28 |
signature MLTREE_BASIS |
| 29 |
signature MLTREE_EXTENSION |
| 30 |
signature MLTREE_FOLD |
| 31 |
signature MLTREE_REWRITE |
| 32 |
signature MLTREE_RTL |
| 33 |
signature MLTREE_UTILS |
| 34 |
signature PSEUDO_OPS |
| 35 |
signature REGION |
| 36 |
signature RTL_BUILD |
| 37 |
structure CellsBasis |
| 38 |
structure Env |
| 39 |
structure Label |
| 40 |
structure MDLAstUtil |
| 41 |
structure MDLCompile |
| 42 |
structure MDLConstant |
| 43 |
structure MDLEnv |
| 44 |
structure MDLExtension |
| 45 |
structure MDLGen |
| 46 |
structure MDLMLTree |
| 47 |
structure MDLMLTreeFold |
| 48 |
structure MDLMLTreeRTL |
| 49 |
structure MDLMLTreeRewrite |
| 50 |
structure MDLMLTreeUtil |
| 51 |
structure MDLPP |
| 52 |
structure MDLParser |
| 53 |
structure MDLPseudoOps |
| 54 |
structure MDLRTLBuilder |
| 55 |
structure MDLRTLComp |
| 56 |
structure MDLRTLTools |
| 57 |
structure MDLRegion |
| 58 |
structure MDLRewriter |
| 59 |
structure MDLStream |
| 60 |
structure MDLTrans |
| 61 |
structure MDLTypeUtils |
| 62 |
structure MDLTyping |
| 63 |
structure MLRiscDefs |
| 64 |
structure MLRiscTypes |
| 65 |
structure MLTreeBasis |
| 66 |
structure MachineInt |
| 67 |
(* functor Cells *) |
| 68 |
functor InstructionStream |
| 69 |
functor MDLCompile |
| 70 |
functor MDLDummyGen |
| 71 |
functor MDLEnv |
| 72 |
functor MDLGen |
| 73 |
functor MDLRTLComp |
| 74 |
functor MDLRTLTools |
| 75 |
functor MDLTypeUtils |
| 76 |
functor MDLTyping |
| 77 |
functor MLRiscDefs |
| 78 |
functor MLRiscTypes |
| 79 |
functor MLTreeF |
| 80 |
functor MLTreeFold |
| 81 |
functor MLTreeRTL |
| 82 |
functor MLTreeRewrite |
| 83 |
functor MLTreeUtils |
| 84 |
functor RTLBuild |
| 85 |
is |
| 86 |
|
| 87 |
#if defined(NEW_CM) |
| 88 |
#if SMLNJ_VERSION * 100 + SMLNJ_MINOR_VERSION >= 11030 |
| 89 |
$/basis.cm |
| 90 |
$/smlnj-lib.cm |
| 91 |
$/ml-yacc-lib.cm |
| 92 |
$smlnj/compiler.cm |
| 93 |
|
| 94 |
#else |
| 95 |
basis.cm |
| 96 |
smlnj-lib.cm |
| 97 |
ml-yacc-lib.cm |
| 98 |
host-compiler.cm |
| 99 |
|
| 100 |
#endif |
| 101 |
#else |
| 102 |
smlnj-lib.cm |
| 103 |
ml-yacc-lib.cm |
| 104 |
|
| 105 |
#endif |
| 106 |
|
| 107 |
|
| 108 |
|
| 109 |
(* MLRISC libraries [NEVER share the version in the compiler] *) |
| 110 |
../../cm/Graphs.cm |
| 111 |
../../cm/Control.cm |
| 112 |
../../cm/Lib.cm |
| 113 |
../../cm/MLRISC.cm |
| 114 |
../../cm/MLTREE.cm |
| 115 |
../../cm/RTL.cm |
| 116 |
|
| 117 |
(* Pretty printer *) |
| 118 |
../PP/sources.cm |
| 119 |
|
| 120 |
(* line number mapping utility *) |
| 121 |
../SourceMap/sources.cm |
| 122 |
|
| 123 |
(* Abstract syntax tree *) |
| 124 |
../FakeSMLAst/sources.cm |
| 125 |
|
| 126 |
(* Parser *) |
| 127 |
../PrecParser/sources.cm |
| 128 |
../Parser/sources.cm |
| 129 |
|
| 130 |
(* Required MLRISC sources *) |
| 131 |
(* |
| 132 |
../../library/annotations.sig |
| 133 |
../../library/annotations.sml |
| 134 |
../../instructions/cells-basis.sig |
| 135 |
../../instructions/cells-basis.sml |
| 136 |
../../instructions/cells.sig |
| 137 |
../../instructions/cells.sml |
| 138 |
../../instructions/stream.sig |
| 139 |
../../instructions/stream.sml |
| 140 |
../../instructions/region.sig |
| 141 |
../../instructions/constant.sig |
| 142 |
../../instructions/label-sig.sml |
| 143 |
../../instructions/label.sml |
| 144 |
../../instructions/pseudoOps.sig |
| 145 |
../../mltree/mltree-basis.sig |
| 146 |
../../mltree/mltree-basis.sml |
| 147 |
../../mltree/mltree-extension.sig |
| 148 |
../../mltree/mltree.sig |
| 149 |
../../mltree/mltree.sml |
| 150 |
../../mltree/machine-int.sig |
| 151 |
../../mltree/machine-int.sml |
| 152 |
|
| 153 |
|
| 154 |
../../mltree/mltree-utils.sig |
| 155 |
../../mltree/mltree-utils.sml |
| 156 |
../../mltree/mltree-rewrite.sig |
| 157 |
../../mltree/mltree-rewrite.sml |
| 158 |
../../mltree/mltree-fold.sig |
| 159 |
../../mltree/mltree-fold.sml |
| 160 |
|
| 161 |
../../mltree/mltree-rtl.sig |
| 162 |
../../mltree/mltree-rtl.sml |
| 163 |
../../mltree/rtl-build.sig |
| 164 |
../../mltree/rtl-build.sml |
| 165 |
*) |
| 166 |
|
| 167 |
(* A simple environment abstract type *) |
| 168 |
env.sml |
| 169 |
|
| 170 |
(* Environment *) |
| 171 |
mdl-env.sig |
| 172 |
mdl-env.sml |
| 173 |
|
| 174 |
(* Type checking *) |
| 175 |
mdl-type-utils.sig |
| 176 |
mdl-type-utils.sml |
| 177 |
mdl-typing.sig |
| 178 |
mdl-typing.sml |
| 179 |
|
| 180 |
(* Process rtl description *) |
| 181 |
mdl-rtl.sml |
| 182 |
mdl-rtl-tools.sig |
| 183 |
mdl-rtl-tools.sml |
| 184 |
mdl-rtl-comp.sig |
| 185 |
mdl-rtl-comp.sml |
| 186 |
|
| 187 |
(* Semantics *) |
| 188 |
(* lambda-rtl.sig *) |
| 189 |
(* lambda-rtl.sml *) |
| 190 |
(* basis.sml *) |
| 191 |
|
| 192 |
(* The compiler *) |
| 193 |
mdl-compile.sig |
| 194 |
mdl-compile.sml |
| 195 |
|
| 196 |
mlrisc-defs.sig |
| 197 |
mlrisc-defs.sml |
| 198 |
mlrisc-types.sig |
| 199 |
mlrisc-types.sml |
| 200 |
|
| 201 |
(* Glue *) |
| 202 |
mdl-gen.sig |
| 203 |
mdl-gen.sml |
| 204 |
mdl-dummygen.sml |
| 205 |
mdl-glue0.sml |
| 206 |
mdl-glue.sml |
| 207 |
|
| 208 |
(* Various modules for generating different structures/functors *) |
| 209 |
mdl-gen-cells.sml (* generate Cells *) |
| 210 |
mdl-gen-instr.sml (* generate the instruction set *) |
| 211 |
mdl-gen-asm.sml (* generate the assembler *) |
| 212 |
mdl-gen-mc.sml (* generate the machine code emitter *) |
| 213 |
mdl-gen-insnprops.sml (* generate the instruction properties *) |
| 214 |
mdl-gen-rewrite.sml (* generate the rewrite module *) |
| 215 |
mdl-gen-rtlprops.sml (* generate the rtl properties *) |
| 216 |
mdl-gen-ssaprops.sml (* generate the ssa properties *) |
| 217 |
(* mdl-gen-delay.sml *) (* generate the delay slots properties *) |
| 218 |
(* mdl-gen-schedprops.sml *) (* generate the scheduling properties *) |