-void be_sched_dump(FILE *f, ir_graph *irg);
-
-/**
- * returns the time step of a node. Each node in a block has a timestep
- * unique to that block. a node schedule before another node has a lower
- * timestep than this node.
- */
-int sched_get_time_step(const ir_node *irn);
-int sched_has_next(const ir_node *irn);
-int sched_has_prev(const ir_node *irn);
-int sched_is_scheduled(const ir_node *irn);
-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);
-int sched_comes_after(const ir_node *n1, const ir_node *n2);
-void sched_remove(ir_node *irn);
-
-#define sched_is_end(irn) is_Block(irn)
-#define sched_is_begin(irn) is_Block(irn)
-
-#define sched_foreach_from(from, irn) \
- for(irn = from; !sched_is_end(irn); irn = sched_next(irn))
-
-#define sched_foreach_reverse_from(from, irn) \
- for(irn = from; !sched_is_begin(irn); irn = sched_prev(irn))
-
-/**
- * A shorthand macro for iterating over a schedule.
- * @param block The block.
- * @param irn A ir node pointer used as an iterator.
- */
-#define sched_foreach(block,irn) \
- sched_foreach_from(sched_first(block), irn)
-
-/**
- * A shorthand macro for reversely iterating over a schedule.
- * @param block The block.
- * @param irn A ir node pointer used as an iterator.
- */
-#define sched_foreach_reverse(block,irn) \
- sched_foreach_reverse_from(sched_last(block), irn)
-
-/**
- * A shorthand macro for iterating over all Phi nodes of a schedule.
- * @param block The block.
- * @param phi A ir node pointer used as an iterator.
- */
-#define sched_foreach_Phi(block,phi) \
- for (phi = sched_first(block); is_Phi(phi); phi = sched_next(phi))
-
-/**
- * Removes dead nodes from schedule
- * @param irg the graph
- */
-void be_remove_dead_nodes_from_schedule(be_irg_t *birg);
-
-#define SCHED_INITIAL_GRANULARITY (1 << 14)
-#define get_irn_sched_info(irn) (&be_get_info(skip_Proj_const(irn))->sched_info)