Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pub
frama-c
Commits
63c33248
Commit
63c33248
authored
Sep 27, 2019
by
David Bühler
Browse files
[Eva] Renames partitioning_annots into eva_annotations.
parent
b886a663
Changes
7
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
63c33248
...
...
@@ -860,8 +860,8 @@ endif
# General rules for ordering files within PLUGIN_CMO:
# - try to keep the legacy Value before Eva
PLUGIN_CMO
:=
partitioning/split_strategy value_parameters
\
utils/value_perf utils/
partitioning
_annots
\
utils/value_util utils/red_statuses
\
utils/value_perf utils/
eva
_annot
ation
s
\
utils/value_util utils/red_statuses
\
utils/mark_noresults
\
utils/widen_hints_ext utils/widen
\
partitioning/split_return
\
...
...
headers/header_spec.txt
View file @
63c33248
...
...
@@ -1328,8 +1328,8 @@ src/plugins/value/utils/red_statuses.mli: CEA_LGPL_OR_PROPRIETARY
src/plugins/value/utils/library_functions.ml: CEA_LGPL_OR_PROPRIETARY
src/plugins/value/utils/library_functions.mli: CEA_LGPL_OR_PROPRIETARY
src/plugins/value/utils/mark_noresults.ml: CEA_LGPL_OR_PROPRIETARY
src/plugins/value/utils/
partitioning
_annots.ml: CEA_LGPL_OR_PROPRIETARY
src/plugins/value/utils/
partitioning
_annots.mli: CEA_LGPL_OR_PROPRIETARY
src/plugins/value/utils/
eva
_annot
ation
s.ml: CEA_LGPL_OR_PROPRIETARY
src/plugins/value/utils/
eva
_annot
ation
s.mli: CEA_LGPL_OR_PROPRIETARY
src/plugins/value/utils/state_import.ml: CEA_LGPL_OR_PROPRIETARY
src/plugins/value/utils/state_import.mli: CEA_LGPL_OR_PROPRIETARY
src/plugins/value/utils/structure.ml: CEA_LGPL_OR_PROPRIETARY
...
...
src/plugins/value/partitioning/partitioning_parameters.ml
View file @
63c33248
...
...
@@ -21,7 +21,7 @@
(**************************************************************************)
open
Value_parameters
open
Partitioning
_annots
open
Eva
_annot
ation
s
open
Cil_types
let
is_return
s
=
match
s
.
skind
with
Return
_
->
true
|
_
->
false
...
...
src/plugins/value/partitioning/per_stmt_slevel.ml
View file @
63c33248
...
...
@@ -21,7 +21,7 @@
(**************************************************************************)
open
Cil_types
open
Partitioning
_annots
open
Eva
_annot
ation
s
module
G
=
struct
type
t
=
kernel_function
...
...
src/plugins/value/utils/
partitioning
_annots.ml
→
src/plugins/value/utils/
eva
_annot
ation
s.ml
View file @
63c33248
File moved
src/plugins/value/utils/
partitioning
_annots.mli
→
src/plugins/value/utils/
eva
_annot
ation
s.mli
View file @
63c33248
...
...
@@ -20,6 +20,14 @@
(* *)
(**************************************************************************)
(** Registers Eva annotations:
- slevel annotations: "slevel default", "slevel merge" and "slevel i"
- loop unroll annotations: "loop unroll term"
- value partitioning annotations: "split term" and "merge term"
- subdivision annotations: "subdivide i"
Widen hints annotations are still registered in !{widen_hints_ext.ml}. *)
type
slevel_annotation
=
|
SlevelMerge
|
SlevelDefault
...
...
src/plugins/value/utils/value_util.ml
View file @
63c33248
...
...
@@ -78,7 +78,7 @@ let get_subdivision_option stmt =
with
Not_found
->
Value_parameters
.
LinearLevel
.
get
()
let
get_subdivision
stmt
=
match
Partitioning
_annots
.
get_subdivision_annot
stmt
with
match
Eva
_annot
ation
s
.
get_subdivision_annot
stmt
with
|
[]
->
get_subdivision_option
stmt
|
[
x
]
->
x
|
x
::
_
->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment