source: extracted/linearise.mli @ 2817

Last change on this file since 2817 was 2797, checked in by sacerdot, 7 years ago

Extracted again after James's cleanup and the implementation of the
new testing function to be used in the untrusted code.

File size: 2.1 KB
Line 
1open Preamble
2
3open String
4
5open Sets
6
7open Listb
8
9open LabelledObjects
10
11open BitVectorTrie
12
13open Graphs
14
15open I8051
16
17open Order
18
19open Registers
20
21open CostLabel
22
23open Hide
24
25open Proper
26
27open PositiveMap
28
29open Deqsets
30
31open ErrorMessages
32
33open PreIdentifiers
34
35open Errors
36
37open Extralib
38
39open Lists
40
41open Identifiers
42
43open Integers
44
45open AST
46
47open Division
48
49open Exp
50
51open Arithmetic
52
53open Setoids
54
55open Monad
56
57open Option
58
59open Extranat
60
61open Vector
62
63open Div_and_mod
64
65open Jmeq
66
67open Russell
68
69open List
70
71open Util
72
73open FoldStuff
74
75open BitVector
76
77open Types
78
79open Bool
80
81open Relations
82
83open Nat
84
85open Hints_declaration
86
87open Core_notation
88
89open Pts
90
91open Logic
92
93open Positive
94
95open Z
96
97open BitVectorZ
98
99open Pointers
100
101open ByteValues
102
103open BackEndOps
104
105open Joint
106
107val graph_to_lin_statement :
108  Joint.uns_params -> AST.ident List.list -> 'a1 Identifiers.identifier_map
109  -> Joint.joint_statement -> Joint.joint_statement
110
111val chop :
112  ('a1 -> Bool.bool) -> 'a1 List.list -> ('a1, 'a1 List.list) Types.prod
113  Types.option
114
115type graph_visit_ret_type =
116  ((Nat.nat Identifiers.identifier_map, Identifiers.identifier_set)
117  Types.prod, __) Types.prod Types.sig0
118
119val graph_visit :
120  Joint.uns_params -> AST.ident List.list -> __ -> Identifiers.identifier_set
121  -> Nat.nat Identifiers.identifier_map -> __ -> Graphs.label List.list ->
122  Nat.nat -> Nat.nat -> Graphs.label -> graph_visit_ret_type
123
124val branch_compress :
125  Joint.graph_params -> AST.ident List.list -> __ -> Graphs.label Types.sig0
126  -> __
127
128val filter_labels :
129  PreIdentifiers.identifierTag -> (PreIdentifiers.identifier -> Bool.bool) ->
130  'a1 LabelledObjects.labelled_obj List.list -> (__, 'a1) Types.prod
131  List.list
132
133val linearise_code :
134  Joint.uns_params -> AST.ident List.list -> __ -> Graphs.label Types.sig0 ->
135  (__, Graphs.label -> Nat.nat Types.option) Types.prod Types.sig0
136
137val linearise_int_fun :
138  Joint.uns_params -> AST.ident List.list ->
139  Joint.joint_closed_internal_function ->
140  (Joint.joint_closed_internal_function, Graphs.label -> Nat.nat
141  Types.option) Types.prod Types.sig0
142
143val linearise :
144  Joint.uns_params -> (Joint.joint_function, Nat.nat) AST.program ->
145  (Joint.joint_function, Nat.nat) AST.program
146
Note: See TracBrowser for help on using the repository browser.