summaryrefslogtreecommitdiffhomepage
path: root/ir/be/belower.h
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2010-07-02 18:58:18 +0200
committerMatthias Braun <matze@braunis.de>2010-07-02 18:58:18 +0200
commit7a178059678ff6c6094a7cd8fac5644367417102 (patch)
treece3e2c5bee4d6c409b96043cbda8384165c29505 /ir/be/belower.h
parent18814151f8c0ea17b2a7bf84c82ee3c2e66d6a6b (diff)
change register allocator and related interfaces to use ir_graph* instead of be_irg_t*
[r27692]
Diffstat (limited to 'ir/be/belower.h')
-rw-r--r--ir/be/belower.h22
1 files changed, 18 insertions, 4 deletions
diff --git a/ir/be/belower.h b/ir/be/belower.h
index 875e6b3..4a2576c 100644
--- a/ir/be/belower.h
+++ b/ir/be/belower.h
@@ -19,7 +19,8 @@
/**
* @file
- * @brief Performs lowering of perm nodes. Inserts copies to assure register constraints.
+ * @brief Performs lowering of perm nodes. Inserts copies to assure
+ * register constraints.
* @author Christian Wuerdig
* @date 14.12.2005
* @version $Id$
@@ -29,7 +30,20 @@
#include "beirg.h"
-void assure_constraints(be_irg_t *birg);
-void lower_nodes_after_ra(be_irg_t *birg, int do_copy);
+/**
+ * Walks over all nodes to assure register constraints.
+ *
+ * @param irg The graph
+ */
+void assure_constraints(ir_graph *irg);
+
+/**
+ * Walks over all blocks in an irg and performs lowering need to be
+ * done after register allocation (e.g. perm lowering).
+ *
+ * @param irg The graph
+ * @param do_copy 1 == resolve cycles with a free reg if available
+ */
+void lower_nodes_after_ra(ir_graph *irg, int do_copy);
-#endif /* FIRM_BE_BELOWER_H */
+#endif