added ir/opt include
[libfirm] / ir / be / belistsched.h
index 57da1ec..56880db 100644 (file)
@@ -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 <libcore/lc_opts.h>
+
+/**
+ * Register list scheduler options.
+ */
+void list_sched_register_options(lc_opt_entry_t *grp);
+#endif /* WITH_LIBCORE */
+
 #endif /* _FIRM_LIST_SCHED */