Exemple #1
0
void be_init_ra(void)
{
    lc_opt_entry_t *be_grp = lc_opt_get_grp(firm_opt_get_root(), "be");

    be_add_module_list_opt(be_grp, "regalloc", "register allocator",
                           &register_allocators, (void**) &selected_allocator);
}
Exemple #2
0
void be_init_spilloptions(void)
{
	lc_opt_entry_t *be_grp = lc_opt_get_grp(firm_opt_get_root(), "be");
	lc_opt_entry_t *spill_grp = lc_opt_get_grp(be_grp, "spill");

	lc_opt_add_table(spill_grp, be_spill_options);
	be_add_module_list_opt(spill_grp, "algo", "spill algorithm", &spillers, (void**)&selected_spiller);
}
Exemple #3
0
void be_init_copyopt(void)
{
	lc_opt_entry_t *be_grp = lc_opt_get_grp(firm_opt_get_root(), "be");
	lc_opt_entry_t *ra_grp = lc_opt_get_grp(be_grp, "ra");
	lc_opt_entry_t *chordal_grp = lc_opt_get_grp(ra_grp, "chordal");
	lc_opt_entry_t *co_grp = lc_opt_get_grp(chordal_grp, "co");

	lc_opt_add_table(co_grp, options);
	be_add_module_list_opt(co_grp, "algo", "select copy optimization algo",
		                       &copyopts, (void**) &selected_copyopt);
}