Import Upstream version 20180207
[hcoop/debian/mlton.git] / mlton / backend / ssa-to-rssa.sig
CommitLineData
7f918cf1
CE
1(* Copyright (C) 2017 Matthew Fluet.
2 * Copyright (C) 1999-2006 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
10
11signature SSA_TO_RSSA_STRUCTS =
12 sig
13 structure Rssa: RSSA
14 structure Ssa: SSA2
15 sharing Rssa.Atoms = Ssa.Atoms
16 end
17
18signature SSA_TO_RSSA =
19 sig
20 include SSA_TO_RSSA_STRUCTS
21
22 val convert:
23 Ssa.Program.t
24 * {codegenImplementsPrim: Rssa.Type.t Rssa.Prim.t -> bool}
25 -> Rssa.Program.t
26 end