Commit 7ee20c8e authored by Michael Beck's avatar Michael Beck
Browse files

Fixed initialization of option tables

[r14576]
parent 598178d1
......@@ -82,7 +82,7 @@ static lc_opt_enum_int_var_t algo_var = {
static const lc_opt_table_entry_t be_blocksched_options[] = {
LC_OPT_ENT_ENUM_INT ("algo", "the block scheduling algorithm", &algo_var),
LC_OPT_ENT_NULL
LC_OPT_LAST
};
/*
......@@ -104,7 +104,7 @@ typedef struct _edge_t {
ir_node *block; /**< source block */
int pos; /**< number of cfg predecessor (target) */
double execfreq; /**< the frequency */
int highest_execfreq; /**< flag that indicates wether this edge is the edge with the highest
int highest_execfreq; /**< flag that indicates whether this edge is the edge with the highest
execfreq pointing away from this block */
} edge_t;
......
......@@ -172,7 +172,7 @@ static const lc_opt_table_entry_t be_chordal_options[] = {
LC_OPT_ENT_ENUM_PTR ("perm", "perm lowering options", &lower_perm_var),
LC_OPT_ENT_ENUM_MASK("dump", "select dump phases", &dump_var),
LC_OPT_ENT_ENUM_PTR ("vrfy", "verify options", &be_ch_vrfy_var),
LC_OPT_ENT_NULL
LC_OPT_LAST
};
static void dump(unsigned mask, ir_graph *irg,
......
......@@ -84,7 +84,7 @@ static const lc_opt_table_entry_t options[] = {
LC_OPT_ENT_INT ("iter", "iterations for subtree nodes", &subtree_iter),
LC_OPT_ENT_DBL ("cf", "factor of constraint importance (between 0.0 and 1.0)", &constr_factor),
LC_OPT_ENT_INT ("max", "maximum recursion depth", &max_depth),
LC_OPT_ENT_NULL
LC_OPT_LAST
};
void be_init_copyheur2(void)
......
......@@ -80,7 +80,7 @@ static lc_opt_enum_mask_var_t dump_var = {
static const lc_opt_table_entry_t options[] = {
LC_OPT_ENT_ENUM_MASK("dump", "dump ifg cloud", &dump_var),
LC_OPT_ENT_INT ("dbg", "debug level for the Java coalescer", &dbg_level),
LC_OPT_ENT_NULL
LC_OPT_LAST
};
void be_init_copyheur3(void)
......
......@@ -149,7 +149,7 @@ static const lc_opt_table_entry_t options[] = {
LC_OPT_ENT_ENUM_MASK ("style", "dump style for ifg dumping", &style_var),
LC_OPT_ENT_BOOL ("stats", "dump statistics after each optimization", &do_stats),
LC_OPT_ENT_BOOL ("improve", "run heur3 before if algo can exploit start solutions", &improve),
LC_OPT_ENT_NULL
LC_OPT_LAST
};
/* Insert additional options registration functions here. */
......
......@@ -722,7 +722,7 @@ static lc_opt_enum_int_var_t ifg_flavor_var = {
static const lc_opt_table_entry_t be_ifg_options[] = {
LC_OPT_ENT_ENUM_PTR ("ifg", "interference graph flavour", &ifg_flavor_var),
LC_OPT_ENT_NULL
LC_OPT_LAST
};
void be_init_ifg(void)
......
......@@ -160,7 +160,7 @@ static const lc_opt_table_entry_t be_main_options[] = {
LC_OPT_ENT_STR ("ilp.server", "the ilp server name", be_options.ilp_server, sizeof(be_options.ilp_server)),
LC_OPT_ENT_STR ("ilp.solver", "the ilp solver name", be_options.ilp_solver, sizeof(be_options.ilp_solver)),
#endif /* WITH_ILP */
LC_OPT_ENT_NULL
LC_OPT_LAST
};
static be_module_list_entry_t *isa_ifs = NULL;
......
......@@ -218,7 +218,7 @@ static lc_opt_enum_int_var_t dump_var = {
static const lc_opt_table_entry_t rss_option_table[] = {
LC_OPT_ENT_ENUM_MASK("dump", "dump phases", &dump_var),
LC_OPT_ENT_NULL
LC_OPT_LAST
};
/******************************************************************************
......
......@@ -44,7 +44,7 @@ int be_do_remats = 1;
static const lc_opt_table_entry_t be_spill_options[] = {
LC_OPT_ENT_BOOL ("coalesce_slots", "coalesce the spill slots", &be_coalesce_spill_slots),
LC_OPT_ENT_BOOL ("remat", "try to rematerialize values instead of reloading", &be_do_remats),
LC_OPT_ENT_NULL
LC_OPT_LAST
};
static be_module_list_entry_t *spillers = NULL;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment