X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbelistsched.h;h=680cafc5e7df77d31e0fee6548abac93d05ff61f;hb=c6b7fb5b419ebec2df73da5c64513cfdbf63ba45;hp=49658c1857077eb00702688320a583ce0d72d004;hpb=071b81998b17c006621e299c51aafd7ffc19f27a;p=libfirm diff --git a/ir/be/belistsched.h b/ir/be/belistsched.h index 49658c185..680cafc5e 100644 --- a/ir/be/belistsched.h +++ b/ir/be/belistsched.h @@ -7,14 +7,13 @@ #ifndef _FIRM_LIST_SCHED #define _FIRM_LIST_SCHED -#include "irgraph.h" -#include "irnode.h" +#include "firm_types.h" #include "pset.h" #include "pmap.h" #include "list.h" -struct _arch_isa_t; +#include "bearch_t.h" typedef struct _list_sched_selector_t list_sched_selector_t; @@ -27,12 +26,11 @@ struct _list_sched_selector_t { /** * Called before a graph is being scheduled. - * @param isa The isa. - * @param irg The graph. - * @return The environment pointer that is passed to all other - * functions in this struct. + * @param arch_env The architecture environment. + * @param irg The graph. + * @return The environment pointer that is passed to all other functions in this struct. */ - void *(*init_graph)(const list_sched_selector_t *vtab, const struct _arch_isa_t *isa, ir_graph *irg); + void *(*init_graph)(const list_sched_selector_t *vtab, const arch_env_t *arch_env, ir_graph *irg); /** * Called before scheduling starts on a block. @@ -97,9 +95,9 @@ extern const list_sched_selector_t *reg_pressure_selector; * Each block in the graph gets a list head to its link field being the * head of the schedule. You can walk this list using the functions in * list.h. - * @param isa The isa which implements the scheduler. - * @param irg The graph to schedule. + * @param arch_env The architecture environment. + * @param irg The graph to schedule. */ -void list_sched(const struct _arch_isa_t *isa, ir_graph *irg); +void list_sched(const arch_env_t *arch_env, ir_graph *irg); -#endif +#endif /* _FIRM_LIST_SCHED */