aboutsummaryrefslogtreecommitdiffstats
path: root/driver
diff options
context:
space:
mode:
Diffstat (limited to 'driver')
-rw-r--r--driver/Clflags.ml1
-rw-r--r--driver/Driver.ml3
2 files changed, 4 insertions, 0 deletions
diff --git a/driver/Clflags.ml b/driver/Clflags.ml
index e373b2e1..6d6f1df4 100644
--- a/driver/Clflags.ml
+++ b/driver/Clflags.ml
@@ -30,6 +30,7 @@ let option_fcse2 = ref true
let option_fredundancy = ref true
let option_fduplicate = ref false
let option_finvertcond = ref true (* only active if option_fduplicate is also true *)
+let option_ftracelinearize = ref false
let option_fpostpass = ref true
let option_fpostpass_sched = ref "list"
let option_fifconversion = ref true
diff --git a/driver/Driver.ml b/driver/Driver.ml
index ffe1fc4b..db71aef9 100644
--- a/driver/Driver.ml
+++ b/driver/Driver.ml
@@ -203,6 +203,8 @@ Processing options:
-fduplicate Perform tail duplication to form superblocks on predicted traces
-finvertcond Invert conditions based on predicted paths (to prefer fallthrough).
Requires -fduplicate to be also activated [on]
+ -ftracelinearize Linearizes based on the traces identified by duplicate phase
+ It is recommended to also activate -fduplicate with this pass [off]
-fforward-moves Forward moves after CSE
-finline Perform inlining of functions [on]
-finline-functions-called-once Integrate functions only required by their
@@ -393,6 +395,7 @@ let cmdline_actions =
@ f_opt "postpass" option_fpostpass
@ f_opt "duplicate" option_fduplicate
@ f_opt "invertcond" option_finvertcond
+ @ f_opt "tracelinearize" option_ftracelinearize
@ f_opt_str "postpass" option_fpostpass option_fpostpass_sched
@ f_opt "inline" option_finline
@ f_opt "inline-functions-called-once" option_finline_functions_called_once