forked from polyml/polyml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RootX86.ML
151 lines (147 loc) · 7.2 KB
/
RootX86.ML
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
(*
Copyright (c) 2009, 2010, 2015-17, 2020-1 David C. J. Matthews
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License version 2.1 as published by the Free Software Foundation.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*)
(* Compiler root file. This gives the "use" instructions necessary to build the
compiler and suitable for use with an IDE project file.
It was constructed from the Poly/ML make files. *)
PolyML.print_depth 1;
PolyML.Compiler.reportUnreferencedIds := true;
use "mlsource/MLCompiler/Address.ML";
use "mlsource/MLCompiler/Misc.ML";
use "mlsource/MLCompiler/HashTable.ML";
use "mlsource/MLCompiler/UniversalTable.ML";
use "mlsource/MLCompiler/StronglyConnected.sml";
use "mlsource/MLCompiler/StretchArray.ML";
use "mlsource/MLCompiler/STRUCTVALSIG.sml";
use "mlsource/MLCompiler/PRETTY.sig";
use "mlsource/MLCompiler/LEXSIG.sml";
use "mlsource/MLCompiler/SymbolsSig.sml";
use "mlsource/MLCompiler/COMPILERBODYSIG.sml";
use "mlsource/MLCompiler/DEBUG.sig";
use "mlsource/MLCompiler/MAKESIG.sml";
use "mlsource/MLCompiler/MAKE_.ML";
use "mlsource/MLCompiler/FOREIGNCALL.sig";
use "mlsource/MLCompiler/BUILTINS.sml";
use "mlsource/MLCompiler/CODETREE.sig";
use "mlsource/MLCompiler/STRUCT_VALS.ML";
use "mlsource/MLCompiler/CodeTree/BACKENDINTERMEDIATECODE.sig";
use "mlsource/MLCompiler/CodeTree/BASECODETREE.sig";
use "mlsource/MLCompiler/CodeTree/CODETREEFUNCTIONS.sig";
use "mlsource/MLCompiler/CodeTree/CODEARRAY.sig";
use "mlsource/MLCompiler/CodeTree/CODEGENTREE.sig";
use "mlsource/MLCompiler/CodeTree/GENCODE.sig";
use "mlsource/MLCompiler/CodeTree/CodetreeFunctions.ML";
use "mlsource/MLCompiler/CodeTree/CodetreeStaticLinkAndCases.ML";
use "mlsource/MLCompiler/CodeTree/CodetreeCodegenConstantFunctions.ML";
use "mlsource/MLCompiler/CodeTree/CodetreeLambdaLift.ML";
use "mlsource/MLCompiler/CodeTree/CodetreeRemoveRedundant.ML";
use "mlsource/MLCompiler/CodeTree/CodetreeSimplifier.ML";
use "mlsource/MLCompiler/CodeTree/CodetreeOptimiser.ML";
use "mlsource/MLCompiler/CodeTree/CodeTreeConstruction.ML";
use "mlsource/MLCompiler/Pretty.sml";
use "mlsource/MLCompiler/CodeTree/CodeArray.ML";
use "mlsource/MLCompiler/CodeTree/X86Code/X86CODE.sig";
use "mlsource/MLCompiler/CodeTree/X86Code/X86ICODE.sig";
use "mlsource/MLCompiler/CodeTree/X86Code/X86ICODEGENERATE.sig";
use "mlsource/MLCompiler/CodeTree/X86Code/X86ALLOCATEREGISTERS.sig";
use "mlsource/MLCompiler/CodeTree/X86Code/X86ICODETRANSFORM.sig";
use "mlsource/MLCompiler/CodeTree/X86Code/X86IDENTIFYREFERENCES.sig";
use "mlsource/MLCompiler/CodeTree/X86Code/X86GETCONFLICTSET.sig";
use "mlsource/MLCompiler/CodeTree/X86Code/X86PUSHREGISTERS.sig";
use "mlsource/MLCompiler/CodeTree/INTSET.sig";
use "mlsource/MLCompiler/CodeTree/X86Code/X86ICODEOPT.sig";
use "mlsource/MLCompiler/CodeTree/IntSet.sml";
use "mlsource/MLCompiler/CodeTree/X86Code/X86ICode.ML";
use "mlsource/MLCompiler/CodeTree/X86Code/X86ICodeToX86Code.ML";
use "mlsource/MLCompiler/CodeTree/X86Code/X86AllocateRegisters.ML";
use "mlsource/MLCompiler/CodeTree/X86Code/X86ICodeOptimise.ML";
use "mlsource/MLCompiler/CodeTree/X86Code/X86ICodeTransform.ML";
use "mlsource/MLCompiler/CodeTree/X86Code/X86ICodeIdentifyReferences.ML";
use "mlsource/MLCompiler/CodeTree/X86Code/X86ICodeGetConflictSets.ML";
use "mlsource/MLCompiler/CodeTree/X86Code/X86PushRegisters.ML";
use "mlsource/MLCompiler/CodeTree/X86Code/X86CodetreeToICode.ML";
use "mlsource/MLCompiler/CodeTree/X86Code/X86OutputCode.ML";
use "mlsource/MLCompiler/CodeTree/X86Code/X86CodeOptimise.ML";
use "mlsource/MLCompiler/Debug.ML";
use "mlsource/MLCompiler/CodeTree/X86Code/X86ForeignCall.ML";
use "mlsource/MLCompiler/CodeTree/BackendIntermediateCode.sml";
use "mlsource/MLCompiler/CodeTree/BaseCodeTree.ML";
use "mlsource/MLCompiler/CodeTree/X86Code/ml_bind.ML";
use "mlsource/MLCompiler/CodeTree/GCode.i386.ML";
use "mlsource/MLCompiler/CodeTree/ml_bind.ML";
use "mlsource/MLCompiler/StructVals.ML";
use "mlsource/MLCompiler/LEX_.ML";
use "mlsource/MLCompiler/Symbols.ML";
use "mlsource/MLCompiler/Lex.ML";
use "mlsource/MLCompiler/SymsetSig.sml";
use "mlsource/MLCompiler/DATATYPEREPSIG.sml";
use "mlsource/MLCompiler/VALUEOPSSIG.sml";
use "mlsource/MLCompiler/EXPORTTREESIG.sml";
use "mlsource/MLCompiler/STRUCTURESSIG.sml";
use "mlsource/MLCompiler/COMPILER_BODY.ML";
use "mlsource/MLCompiler/SymSet.ML";
use "mlsource/MLCompiler/TYPETREESIG.sml";
use "mlsource/MLCompiler/COPIERSIG.sml";
use "mlsource/MLCompiler/TYPEIDCODESIG.sml";
use "mlsource/MLCompiler/DATATYPE_REP.ML";
use "mlsource/MLCompiler/PRINTTABLESIG.sml";
use "mlsource/MLCompiler/VALUE_OPS.ML";
use "mlsource/MLCompiler/TYPE_TREE.ML";
use "mlsource/MLCompiler/UTILITIES_.ML";
use "mlsource/MLCompiler/Utilities.ML";
use "mlsource/MLCompiler/PRINT_TABLE.ML";
use "mlsource/MLCompiler/PrintTable.ML";
use "mlsource/MLCompiler/ExportTree.sml";
use "mlsource/MLCompiler/ExportTreeStruct.sml";
use "mlsource/MLCompiler/TypeTree.ML";
use "mlsource/MLCompiler/COPIER.sml";
use "mlsource/MLCompiler/CopierStruct.sml";
use "mlsource/MLCompiler/TYPEIDCODE.sml";
use "mlsource/MLCompiler/TypeIDCodeStruct.sml";
use "mlsource/MLCompiler/DatatypeRep.ML";
use "mlsource/MLCompiler/ValueOps.ML";
use "mlsource/MLCompiler/PARSETREESIG.sml";
use "mlsource/MLCompiler/SIGNATURESSIG.sml";
use "mlsource/MLCompiler/DEBUGGER.sig";
use "mlsource/MLCompiler/STRUCTURES_.ML";
use "mlsource/MLCompiler/DEBUGGER_.sml";
use "mlsource/MLCompiler/Debugger.sml";
use "mlsource/MLCompiler/ParseTree/BaseParseTreeSig.sml";
use "mlsource/MLCompiler/ParseTree/BASE_PARSE_TREE.sml";
use "mlsource/MLCompiler/ParseTree/PrintParsetreeSig.sml";
use "mlsource/MLCompiler/ParseTree/PRINT_PARSETREE.sml";
use "mlsource/MLCompiler/ParseTree/ExportParsetreeSig.sml";
use "mlsource/MLCompiler/ParseTree/EXPORT_PARSETREE.sml";
use "mlsource/MLCompiler/ParseTree/TypeCheckParsetreeSig.sml";
use "mlsource/MLCompiler/ParseTree/TYPECHECK_PARSETREE.sml";
use "mlsource/MLCompiler/ParseTree/MatchCompilerSig.sml";
use "mlsource/MLCompiler/ParseTree/MATCH_COMPILER.sml";
use "mlsource/MLCompiler/ParseTree/CodegenParsetreeSig.sml";
use "mlsource/MLCompiler/ParseTree/CODEGEN_PARSETREE.sml";
use "mlsource/MLCompiler/ParseTree/PARSE_TREE.ML";
use "mlsource/MLCompiler/ParseTree/ml_bind.ML";
use "mlsource/MLCompiler/SIGNATURES.sml";
use "mlsource/MLCompiler/SignaturesStruct.sml";
use "mlsource/MLCompiler/Structures.ML";
use "mlsource/MLCompiler/PARSE_DEC.ML";
use "mlsource/MLCompiler/SKIPS_.ML";
use "mlsource/MLCompiler/Skips.ML";
use "mlsource/MLCompiler/PARSE_TYPE.ML";
use "mlsource/MLCompiler/ParseType.ML";
use "mlsource/MLCompiler/ParseDec.ML";
use "mlsource/MLCompiler/CompilerBody.ML";
use "mlsource/MLCompiler/CompilerVersion.sml";
use "mlsource/MLCompiler/Make.ML";
use "mlsource/MLCompiler/INITIALISE_.ML";
use "mlsource/MLCompiler/Initialise.ML";
use "mlsource/MLCompiler/ml_bind.ML";