Import Upstream version 20180207
[hcoop/debian/mlton.git] / mlton / codegen / amd64-codegen / amd64-translate.sig
CommitLineData
7f918cf1
CE
1(* Copyright (C) 2009 Matthew Fluet.
2 * Copyright (C) 1999-2007 Henry Cejtin, Matthew Fluet, Suresh
3 * Jagannathan, and Stephen Weeks.
4 * Copyright (C) 1997-2000 NEC Research Institute.
5 *
6 * MLton is released under a BSD-style license.
7 * See the file MLton-LICENSE for details.
8 *)
9
10signature AMD64_TRANSLATE_STRUCTS =
11 sig
12 structure amd64: AMD64_PSEUDO
13 structure amd64MLton : AMD64_MLTON
14 sharing amd64 = amd64MLton.amd64
15 structure amd64Liveness : AMD64_LIVENESS
16 sharing amd64 = amd64Liveness.amd64
17 sharing amd64MLton.amd64Liveness = amd64Liveness
18 end
19
20signature AMD64_TRANSLATE =
21 sig
22 include AMD64_TRANSLATE_STRUCTS
23
24 val translateChunk : {chunk: amd64MLton.Machine.Chunk.t,
25 frameInfoToAMD64: (amd64MLton.Machine.FrameInfo.t
26 -> amd64.FrameInfo.t),
27 liveInfo: amd64Liveness.LiveInfo.t}
28 -> {chunk: amd64.Chunk.t}
29
30 val translateChunk_totals : unit -> unit
31 end