path: root/ir/be/besched.h
diff options
authorSebastian Hack <>2007-11-22 12:59:33 +0100
committerSebastian Hack <>2007-11-22 12:59:33 +0100
commit0e5f781d021c0b1e20ba08f583d4971419fedb5d (patch)
tree04118b133ea2bb325f773cc6ab41b52b8a689096 /ir/be/besched.h
parenta41668acc1195182f1dbc50a1032ebb96a53a38b (diff)
Changed phase node initializer to take const ir_node
Adapted all the files to that -> constification Added irg managed phases -> scheduling uses that now. [r16820]
Diffstat (limited to 'ir/be/besched.h')
1 files changed, 8 insertions, 5 deletions
diff --git a/ir/be/besched.h b/ir/be/besched.h
index c7fbab2..9deda2a 100644
--- a/ir/be/besched.h
+++ b/ir/be/besched.h
@@ -47,11 +47,11 @@ ir_node *sched_next(const ir_node *irn);
ir_node *sched_prev(const ir_node *irn);
ir_node *sched_first(const ir_node *block);
ir_node *sched_last(const ir_node *block);
-void sched_add_before(ir_node *before, ir_node *irn);
-void sched_add_after(ir_node *after, ir_node *irn);
-void sched_init_block(ir_node *block);
-void sched_reset(ir_node *node);
-void sched_remove(ir_node *irn);
+void sched_add_before(const ir_node *before, const ir_node *irn);
+void sched_add_after(const ir_node *after, const ir_node *irn);
+void sched_init_block(const ir_node *block);
+void sched_reset(const ir_node *node);
+void sched_remove(const ir_node *irn);
#define sched_is_end(irn) is_Block(irn)
#define sched_is_begin(irn) is_Block(irn)
@@ -84,4 +84,7 @@ void sched_remove(ir_node *irn);
void be_remove_dead_nodes_from_schedule(be_irg_t *birg);
+void be_sched_init_phase(ir_graph *irg);
+void be_sched_free_phase(ir_graph *irg);
#endif /* FIRM_BE_BESCHED_H */