source: extracted/aSMCosts.mli @ 2968

Last change on this file since 2968 was 2910, checked in by sacerdot, 7 years ago

Abstract statuses for ASM and OC completed.
A simple test program can now be run in every pass of the compiler, always
showing the same behaviour (up to initialization).

File size: 2.0 KB
RevLine 
[2601]1open Preamble
2
[2773]3open Fetch
[2649]4
[2773]5open Hide
[2601]6
[2773]7open Division
8
9open Z
10
11open BitVectorZ
12
13open Pointers
14
15open Coqlib
16
17open Values
18
19open Events
20
21open IOMonad
22
23open IO
24
25open Sets
26
27open Listb
28
29open StructuredTraces
30
31open AbstractStatus
32
[2717]33open BitVectorTrie
34
[2773]35open String
36
[2717]37open Exp
38
[2601]39open Arithmetic
40
[2773]41open Vector
42
43open FoldStuff
44
45open BitVector
46
47open Extranat
48
[2601]49open Integers
50
51open AST
52
[2773]53open LabelledObjects
[2601]54
55open Proper
56
57open PositiveMap
58
59open Deqsets
60
[2649]61open ErrorMessages
62
[2601]63open PreIdentifiers
64
65open Errors
66
67open Extralib
68
69open Setoids
70
71open Monad
72
73open Option
74
75open Div_and_mod
76
77open Jmeq
78
79open Russell
80
[2773]81open Util
[2601]82
83open List
84
[2773]85open Lists
[2601]86
87open Bool
88
[2773]89open Relations
90
91open Nat
92
93open Positive
94
[2601]95open Hints_declaration
96
97open Core_notation
98
99open Pts
100
101open Logic
102
[2773]103open Types
[2601]104
[2773]105open Identifiers
[2601]106
[2773]107open CostLabel
[2601]108
109open ASM
110
111open Status
112
113open StatusProofs
114
115open Interpret
116
[2909]117val aSMRegisterRets : ASM.subaddressing_mode List.list
118
119val as_result_of_finaladdr :
120  'a1 -> 'a1 Status.preStatus -> BitVector.word -> Integers.int Types.option
121
[2910]122val oC_as_call_ident :
123  ASM.labelled_object_code -> BitVector.byte BitVectorTrie.bitVectorTrie ->
124  Status.status Types.sig0 -> AST.ident
125
[2905]126val oC_abstract_status :
[2909]127  ASM.labelled_object_code -> StructuredTraces.abstract_status
[2601]128
129val trace_any_label_length :
[2909]130  ASM.labelled_object_code -> StructuredTraces.trace_ends_with_ret ->
[2601]131  Status.status -> Status.status -> StructuredTraces.trace_any_label ->
132  Nat.nat
133
134val all_program_counter_list : Nat.nat -> BitVector.bitVector List.list
135
136val compute_paid_trace_any_label :
[2909]137  ASM.labelled_object_code -> StructuredTraces.trace_ends_with_ret ->
[2601]138  Status.status -> Status.status -> StructuredTraces.trace_any_label ->
139  Nat.nat
140
141val compute_paid_trace_label_label :
[2909]142  ASM.labelled_object_code -> StructuredTraces.trace_ends_with_ret ->
[2601]143  Status.status -> Status.status -> StructuredTraces.trace_label_label ->
144  Nat.nat
145
146val block_cost' :
[2909]147  ASM.labelled_object_code -> BitVector.word -> Nat.nat -> Bool.bool ->
148  Nat.nat Types.sig0
[2601]149
150val block_cost :
[2909]151  ASM.labelled_object_code -> BitVector.word -> Nat.nat Types.sig0
[2601]152
Note: See TracBrowser for help on using the repository browser.