/* debug_mode = */ DBG_MODE_NONE,
/* const_folding = */ TRUE,
/* cse = */ TRUE,
- /* control_flow = */ TRUE,
/* gcse = */ TRUE,
/* confirm = */ TRUE,
/* muls = */ TRUE,
{ X("no-cse"), &firm_opt.cse, 0, "firm: disable common subexpression elimination" },
{ X("const-fold"), &firm_opt.const_folding, 1, "firm: enable constant folding" },
{ X("no-const-fold"), &firm_opt.const_folding, 0, "firm: disable constant folding" },
- { X("control_flow"), &firm_opt.control_flow, 1, "firm: enable control flow optimization" },
- { X("no-control-flow"), &firm_opt.control_flow, 0, "firm: disable control flow optimization" },
{ X("gcse"), &firm_opt.gcse, 1, "firm: enable global common subexpression elimination" },
{ X("no-gcse"), &firm_opt.gcse, 0, "firm: disable global common subexpression elimination" },
{ X("inline-max-size=<size>"), NULL, 0, "firm: set maximum size for function inlining" },
a_byte debug_mode; /**< debug mode: store all local variables */
a_byte const_folding; /**< enable constant folding */
a_byte cse; /**< enable common-subexpression elimination */
- a_byte control_flow; /**< enable control flow optimizations */
a_byte gcse; /**< enable global common-subexpression elimination */
a_byte confirm; /**< enable Confirm optimization */
a_byte muls; /**< enable architecture dependent mul optimization */
set_opt_cse(firm_opt.cse);
set_opt_global_cse(0);
set_opt_unreachable_code(1);
- set_opt_control_flow(firm_opt.control_flow);
- set_opt_control_flow_weak_simplification(1);
- set_opt_control_flow_strong_simplification(1);
} else {
set_optimize(0);
}