source: extracted/initialisation.mli @ 2746

Last change on this file since 2746 was 2717, checked in by sacerdot, 7 years ago

Extracted code for the whole compiler.
The space cost model is not there yet.

I have fixed by hand the few extraction problems
(i.e. composed coercions not extracted and type
definitions with wrong syntax).

I have also changed all axioms to be implemented
so that they do not fail at initialization time.

File size: 1.9 KB
Line 
1open Preamble
2
3open BitVectorTrie
4
5open CostLabel
6
7open FrontEndVal
8
9open Hide
10
11open ByteValues
12
13open GenMem
14
15open FrontEndMem
16
17open Proper
18
19open PositiveMap
20
21open Deqsets
22
23open Extralib
24
25open Lists
26
27open Identifiers
28
29open Integers
30
31open AST
32
33open Division
34
35open Exp
36
37open Arithmetic
38
39open Extranat
40
41open Vector
42
43open FoldStuff
44
45open BitVector
46
47open Z
48
49open BitVectorZ
50
51open Pointers
52
53open ErrorMessages
54
55open Option
56
57open Setoids
58
59open Monad
60
61open Positive
62
63open PreIdentifiers
64
65open Errors
66
67open Div_and_mod
68
69open Jmeq
70
71open Russell
72
73open Util
74
75open Bool
76
77open Relations
78
79open Nat
80
81open List
82
83open Hints_declaration
84
85open Core_notation
86
87open Pts
88
89open Logic
90
91open Types
92
93open Coqlib
94
95open Values
96
97open FrontEndOps
98
99open Cminor_syntax
100
101open Extra_bool
102
103open Globalenvs
104
105val init_expr :
106  AST.init_data -> (AST.typ, Cminor_syntax.expr) Types.dPair Types.option
107
108val option_jmdiscr : 'a1 Types.option -> 'a1 Types.option -> __
109
110val dPair_jmdiscr : ('a1, 'a2) Types.dPair -> ('a1, 'a2) Types.dPair -> __
111
112val init_datum :
113  AST.ident -> AST.region -> AST.init_data -> Nat.nat -> Cminor_syntax.stmt
114  Types.sig0
115
116val init_var :
117  AST.ident -> AST.region -> AST.init_data List.list -> Cminor_syntax.stmt
118  Types.sig0
119
120val init_vars :
121  ((AST.ident, AST.region) Types.prod, AST.init_data List.list) Types.prod
122  List.list -> Cminor_syntax.stmt Types.sig0
123
124val add_statement :
125  CostLabel.costlabel -> AST.ident -> Cminor_syntax.stmt Types.sig0 ->
126  (AST.ident, Cminor_syntax.internal_function AST.fundef) Types.prod
127  List.list -> (AST.ident, Cminor_syntax.internal_function AST.fundef)
128  Types.prod List.list
129
130val empty_vars :
131  ((AST.ident, AST.region) Types.prod, AST.init_data List.list) Types.prod
132  List.list -> ((AST.ident, AST.region) Types.prod, Nat.nat) Types.prod
133  List.list
134
135val replace_init :
136  CostLabel.costlabel -> Cminor_syntax.cminor_program ->
137  Cminor_syntax.cminor_noinit_program
138
Note: See TracBrowser for help on using the repository browser.