X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbelistsched.h;h=56880dbfb390ab97ff5fc84e383448a2ba1b59d9;hb=48f0393daa5d5a14ed7e3e32ee2b090759c9371e;hp=57da1ecae54753bec0d6b27fe46e529f94555b81;hpb=7a83ec4ed8aad4ed16a3c03dc009c4650c281f2e;p=libfirm diff --git a/ir/be/belistsched.h b/ir/be/belistsched.h index 57da1ecae..56880dbfb 100644 --- a/ir/be/belistsched.h +++ b/ir/be/belistsched.h @@ -7,6 +7,8 @@ #ifndef _FIRM_LIST_SCHED #define _FIRM_LIST_SCHED +#include "firm_config.h" + #include "firm_types.h" #include "benodesets.h" @@ -112,6 +114,8 @@ struct _list_sched_selector_t { */ extern const list_sched_selector_t *trivial_selector; +extern const list_sched_selector_t *random_selector; + /** * A selector that tries to minimize the register pressure. * @note Not really operational yet. @@ -140,4 +144,13 @@ extern const list_sched_selector_t *heuristic_selector; */ void list_sched(const be_irg_t *birg, be_options_t *be_opts); +#ifdef WITH_LIBCORE +#include + +/** + * Register list scheduler options. + */ +void list_sched_register_options(lc_opt_entry_t *grp); +#endif /* WITH_LIBCORE */ + #endif /* _FIRM_LIST_SCHED */