summaryrefslogtreecommitdiffhomepage
path: root/ir/be/belive.h
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2014-07-16 14:04:59 +0200
committerMatthias Braun <matze@braunis.de>2014-07-18 10:04:10 +0200
commitd1b570dc09178836421ebe47ca98eed7c6709798 (patch)
treea4558dc4ed932e58dded9a2c5f2bc8a5d01856c5 /ir/be/belive.h
parent8f1ba92ac594742f9b73902256cdb3a60b29b730 (diff)
remove beintlive_t header
Move the values interfere function to belive.h, move the inline implementation into belive.c
Diffstat (limited to 'ir/be/belive.h')
-rw-r--r--ir/be/belive.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/ir/be/belive.h b/ir/be/belive.h
index 9bab539..1677fa7 100644
--- a/ir/be/belive.h
+++ b/ir/be/belive.h
@@ -122,6 +122,15 @@ void be_liveness_end_of_block(const be_lv_t *lv,
const ir_node *bl, ir_nodeset_t *nodeset);
/**
+ * Check, if two values interfere.
+ * @param lv Liveness information
+ * @param a The first value.
+ * @param b The second value.
+ * @return true, if a and b interfere, false if not.
+ */
+bool be_values_interfere(const be_lv_t *lv, const ir_node *a, const ir_node *b);
+
+/**
* Compute a set of nodes which are live just before the given node.
* @param cls The register class to consider.
* @param pos The node.