rewrite vrp scanning to use a phase instead of attrs in ir_node
[libfirm] / include / libfirm / irconsconfirm.h
index 6fc9141..4e83817 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
  *
  * This file is part of libFirm.
  *
  */
 void construct_confirms(ir_graph *irg);
 
+/**
+ * Creates an ir_graph pass for construct_confirms().
+ *
+ * @param name     the name of this pass or NULL
+ *
+ * @return  the newly created ir_graph pass
+ */
+ir_graph_pass_t *construct_confirms_pass(const char *name);
+
 /**
  * Remove all Confirm nodes from a graph.
  *
@@ -59,4 +68,13 @@ void construct_confirms(ir_graph *irg);
  */
 void remove_confirms(ir_graph *irg);
 
+/**
+ * Creates an ir_graph pass for remove_confirms().
+ *
+ * @param name     the name of this pass or NULL
+ *
+ * @return  the newly created ir_graph pass
+ */
+ir_graph_pass_t *remove_confirms_pass(const char *name);
+
 #endif