aboutsummaryrefslogtreecommitdiffstats
path: root/driver/Clflags.ml
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-10-18 22:49:10 +0200
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-10-18 22:49:10 +0200
commit996a2e5bbc4826d95144b62f5218b6e3e1e7d881 (patch)
tree55a5136c68e7d0f7a304913f28d0a761d9facd9a /driver/Clflags.ml
parent8c3a2bdb56eba8d8bc5e359b01a320916eac85f0 (diff)
parenta2f31f2b886ccb9656a019db1780aabc1789368a (diff)
downloadcompcert-kvx-996a2e5bbc4826d95144b62f5218b6e3e1e7d881.tar.gz
compcert-kvx-996a2e5bbc4826d95144b62f5218b6e3e1e7d881.zip
Merge remote-tracking branch 'origin/kvx-work' into kvx-test-prepass
Diffstat (limited to 'driver/Clflags.ml')
-rw-r--r--driver/Clflags.ml14
1 files changed, 11 insertions, 3 deletions
diff --git a/driver/Clflags.ml b/driver/Clflags.ml
index 829af76a..d5f3aca5 100644
--- a/driver/Clflags.ml
+++ b/driver/Clflags.ml
@@ -33,13 +33,21 @@ let option_fcse3_across_calls = ref false
let option_fcse3_across_merges = ref true
let option_fcse3_glb = ref true
let option_fredundancy = ref true
-let option_fduplicate = ref (-1)
-let option_finvertcond = ref true
-let option_ftracelinearize = ref false
+
+(** Options relative to superblock scheduling *)
+let option_fpredict = ref true (* insert static branch prediction information, and swaps ifso/ifnot branches accordingly *)
+let option_ftailduplicate = ref 0 (* perform tail duplication for blocks of size n *)
+let option_ftracelinearize = ref true (* uses branch prediction information to improve the linearization *)
+let option_funrollsingle = ref 0 (* unroll a single iteration of innermost loops of size n *)
+let option_funrollbody = ref 0 (* unroll the body of innermost loops of size n *)
+
+(* Scheduling *)
let option_fprepass = ref false
let option_fprepass_sched = ref "list"
+
let option_fpostpass = ref true
let option_fpostpass_sched = ref "list"
+
let option_fifconversion = ref true
let option_Obranchless = ref false
let option_falignfunctions = ref (None: int option)