Revision c825868a
Added by Xavier Thirioux over 10 years ago
src/options.ml | ||
---|---|---|
32 | 32 |
let witnesses = ref false |
33 | 33 |
let optimization = ref 2 |
34 | 34 |
let lusi = ref false |
35 |
let print_reuse = ref false |
|
35 | 36 |
|
36 | 37 |
let horntraces = ref false |
37 | 38 |
let horn_cex = ref false |
... | ... | |
55 | 56 |
"-horn-traces", Arg.Unit (fun () -> output := "horn"; horntraces:=true), "produce traceability file for Horn backend. Enable the horn backend."; |
56 | 57 |
"-horn-cex", Arg.Unit (fun () -> output := "horn"; horn_cex:=true), "generate cex enumeration. Enable the horn backend (work in progress)"; |
57 | 58 |
"-horn-queries", Arg.Unit (fun () -> output := "horn"; horn_queries:=true), "generate queries in generated Horn file. Enable the horn backend (work in progress)"; |
59 |
"-print_reuse", Arg.Set print_reuse, "prints variable reuse policy"; |
|
58 | 60 |
"-lustre", Arg.Unit (fun () -> output := "lustre"), "generates Lustre output, performing all active optimizations"; |
59 | 61 |
"-inline", Arg.Set global_inline, "inline all node calls (require a main node)"; |
60 | 62 |
"-witnesses", Arg.Set witnesses, "enable production of witnesses during compilation"; |
Also available in: Unified diff
added a new option -print_reuse that prints clock disjoint variables and reuse policy.
useful for debugging and carrying correctness proofs to the C code level.
non trivial result only when option -O 3 or above is activated.