summaryrefslogtreecommitdiff
path: root/src/c_backend.mli
diff options
context:
space:
mode:
authorAlasdair Armstrong2019-02-12 18:18:05 +0000
committerAlasdair Armstrong2019-02-12 18:18:05 +0000
commit24fc989891ad266eae642815646294279e2485ca (patch)
treed533fc26b5980d1144ee4d7849d3dd0f2a1b0e95 /src/c_backend.mli
parentb847a472a1f853d783d1af5f8eb033b97f33be5b (diff)
parent974494b1dda38c1ee5c1502cc6e448e67a7374ac (diff)
Merge remote-tracking branch 'origin/asl_flow2' into sail2
Diffstat (limited to 'src/c_backend.mli')
-rw-r--r--src/c_backend.mli10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/c_backend.mli b/src/c_backend.mli
index 24f6e03b..10bf9f40 100644
--- a/src/c_backend.mli
+++ b/src/c_backend.mli
@@ -56,9 +56,19 @@ open Type_check
val opt_debug_flow_graphs : bool ref
val opt_debug_function : string ref
val opt_trace : bool ref
+val opt_smt_trace : bool ref
val opt_static : bool ref
val opt_no_main : bool ref
+(** [opt_memo_cache] will store the compiled function definitions in
+ file _sbuild/ccacheDIGEST where DIGEST is the md5sum of the
+ original function to be compiled. Enabled using the -memo
+ flag. Uses Marshal so it's quite picky about the exact version of
+ the Sail version. This cache can obviously become stale if the C
+ backend changes - it'll load an old version compiled without said
+ changes. *)
+val opt_memo_cache : bool ref
+
(** Optimization flags *)
val optimize_primops : bool ref