#include "bestat.h"
#include "beverify.h"
#include "beprofile.h"
+#include "beblocksched.h"
#include "be_dbgout.h"
/* options visible for anyone */
LC_OPT_ENT_ENUM_PTR ("isa", "the instruction set architecture", &isa_var),
LC_OPT_ENT_NEGBOOL ("noomitfp", "do not omit frame pointer", &be_options.omit_fp),
LC_OPT_ENT_BOOL ("stabs", "enable stabs debug support", &be_options.stabs_debug_support),
- LC_OPT_ENT_ENUM_PTR ("vrfy", "verify the backend irg (off, warn, assert)", &vrfy_var),
+ LC_OPT_ENT_ENUM_PTR ("vrfy", "verify the backend irg", &vrfy_var),
LC_OPT_ENT_BOOL ("time", "get backend timing statistics", &be_options.timing),
LC_OPT_ENT_BOOL ("profile", "instrument the code for execution count profiling", &be_options.opt_profile),
/* scheduler register options */
list_sched_register_options(be_grp_root);
+
+ be_block_schedule_register_options(be_grp_root);
}
#endif /* WITH_LIBCORE */
}
optimization_state_t state;
const arch_code_generator_if_t *cg_if;
+ /* set the current graph (this is important for several firm functions) */
+ current_ir_graph = irg;
+
/* stop and reset timers */
BE_TIMER_ONLY(
LC_STOP_AND_RESET_TIMER(t_abi);
/* some transformations need to be done before abi introduce */
arch_code_generator_before_abi(birg->cg);
- /* set the current graph (this is important for several firm functions) */
- current_ir_graph = irg;
-
/* reset the phi handler. */
be_phi_handler_reset(env.phi_handler);