summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bera.h
diff options
context:
space:
mode:
authorSebastian Hack <hack@ipd.info.uni-karlsruhe.de>2005-07-15 16:05:37 +0200
committerSebastian Hack <hack@ipd.info.uni-karlsruhe.de>2005-07-15 16:05:37 +0200
commit2711d82f513508a04b51d446c5426da425a3882b (patch)
treec66ce39735fda09b5585224b11d2ab4aab55bb4f /ir/be/bera.h
parent5d001fc14a7d4ef4926012a9b5864341bac35066 (diff)
New implementation of values_interfere(). Should work now.
Diffstat (limited to 'ir/be/bera.h')
-rw-r--r--ir/be/bera.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/ir/be/bera.h b/ir/be/bera.h
index cb64fa6..92e8cf9 100644
--- a/ir/be/bera.h
+++ b/ir/be/bera.h
@@ -17,4 +17,16 @@
*/
int values_interfere(const ir_node *a, const ir_node *b);
+/**
+ * Check, if a value dominates the other one.
+ * Note, that this function also consideres the schedule and does thus
+ * more than block_dominates().
+ *
+ * @param a The first.
+ * @param b The second value.
+ * @return 1 if a dominates b, 0 else.
+ */
+int value_dominates(const ir_node *a, const ir_node *b);
+
+
#endif /* _BERA_H */