*/
FIRM_API int optimize_graph_df(ir_graph *irg);
+/**
+ * Transforms unreachable blocks and nodes in there into Bad nodes
+ */
+FIRM_API void remove_unreachable_blocks(ir_graph *irg);
+
+/**
+ * Removes all Bad nodes from a graph.
+ *
+ * @param irg The graph to be optimized.
+ *
+ * @return non-zero if at least one Bad was removed, otherwise 0
+ */
+FIRM_API int remove_bads(ir_graph *irg);
+
/**
* Creates an ir_graph pass for optimize_graph_df().
*