summaryrefslogtreecommitdiffhomepage
path: root/ir/be/besched.h
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2015-01-10 12:57:48 +0100
committerChristoph Mallon <mallon@cs.uni-saarland.de>2015-01-10 13:45:22 +0100
commit17f1b65472a9207091653b40a081c974067e8bf0 (patch)
treed2d83df0ecf1ff965ce189183596b14d29490119 /ir/be/besched.h
parent58e07445ee5c9c92a4ca4230e84b90f34bdd99b1 (diff)
besched: Add be_move_after_schedule_first() to place nodes after schedule_first nodes.
Diffstat (limited to 'ir/be/besched.h')
-rw-r--r--ir/be/besched.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ir/be/besched.h b/ir/be/besched.h
index 27ec68e..af5f666 100644
--- a/ir/be/besched.h
+++ b/ir/be/besched.h
@@ -229,4 +229,10 @@ void be_register_scheduler(const char *name, schedule_func func);
*/
void be_schedule_graph(ir_graph *irg);
+/**
+ * Return the last schedule_first node following node, if there is any, node
+ * otherwise.
+ */
+ir_node *be_move_after_schedule_first(ir_node *node);
+
#endif