Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
7ee20c8e
Commit
7ee20c8e
authored
Jun 18, 2007
by
Michael Beck
Browse files
Fixed initialization of option tables
[r14576]
parent
598178d1
Changes
9
Hide whitespace changes
Inline
Side-by-side
ir/be/beblocksched.c
View file @
7ee20c8e
...
...
@@ -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 w
h
ether this edge is the edge with the highest
execfreq pointing away from this block */
}
edge_t
;
...
...
ir/be/bechordal_main.c
View file @
7ee20c8e
...
...
@@ -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
,
...
...
ir/be/becopyheur2.c
View file @
7ee20c8e
...
...
@@ -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
)
...
...
ir/be/becopyheur3.c
View file @
7ee20c8e
...
...
@@ -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
)
...
...
ir/be/becopyopt.c
View file @
7ee20c8e
...
...
@@ -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. */
...
...
ir/be/beifg.c
View file @
7ee20c8e
...
...
@@ -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
)
...
...
ir/be/bemain.c
View file @
7ee20c8e
...
...
@@ -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
;
...
...
ir/be/beschedrss.c
View file @
7ee20c8e
...
...
@@ -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
};
/******************************************************************************
...
...
ir/be/bespilloptions.c
View file @
7ee20c8e
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment