summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beutil.h
diff options
context:
space:
mode:
authorChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>2007-01-16 17:36:42 +0100
committerChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>2007-01-16 17:36:42 +0100
commitbfbb4c3a23cff18aa539a8108c631ebd62459e18 (patch)
treef5a2c18b71425fed405df5c64512d360363ed0fa /ir/be/beutil.h
parentc086f22114dc14527f8e04a0493142b1e5aa81f3 (diff)
added be_kill_node function
Diffstat (limited to 'ir/be/beutil.h')
-rw-r--r--ir/be/beutil.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ir/be/beutil.h b/ir/be/beutil.h
index 6e676de..9c78d05 100644
--- a/ir/be/beutil.h
+++ b/ir/be/beutil.h
@@ -117,6 +117,12 @@ void be_dump(ir_graph *irg, const char *suffix, void (*dumper)(ir_graph *, const
unsigned get_num_reachable_nodes(ir_graph *irg);
/**
+ * Sets all node inputs to BAD node.
+ * @param irn The node to be killed.
+ */
+void be_kill_node(ir_node *irn);
+
+/**
* Search for an irn in @p accept.
* The search is started at @p start_point_exclusive and continues upwards the dom-tree
* @return The first node out of accept if found. Else NULL is returned.