remove irg_phase_state, use IR_GRAPH_CONSTRAINT instead
[libfirm] / include / libfirm / irconsconfirm.h
index cd7950a..d335365 100644 (file)
  * @brief    Construction of Confirm nodes
  * @author   Michael Beck
  * @date     6.2005
- * @version  $Id$
  */
 #ifndef FIRM_ANA_IRCONSCONFIRM_H
 #define FIRM_ANA_IRCONSCONFIRM_H
 
 #include "firm_types.h"
+#include "begin.h"
 
 /**
  * Inject Confirm nodes into a graph.
  * nodes too. The current solution is to remove Confirms at a later
  * pass.
  */
-void construct_confirms(ir_graph *irg);
+FIRM_API void construct_confirms(ir_graph *irg);
 
 /**
  * Creates an ir_graph pass for construct_confirms().
  *
  * @param name     the name of this pass or NULL
- * @param verify   should this pass be verified?
- * @param dump     should this pass result be dumped?
  *
  * @return  the newly created ir_graph pass
  */
-ir_graph_pass_t *construct_confirms_pass(const char *name, int verify, int dump);
+FIRM_API ir_graph_pass_t *construct_confirms_pass(const char *name);
 
 /**
  * Remove all Confirm nodes from a graph.
@@ -68,17 +66,17 @@ ir_graph_pass_t *construct_confirms_pass(const char *name, int verify, int dump)
  * Note that local_optimize() can handle this if
  * the remove Confirm node setting is on (set_opt_remove_Confirm(1)).
  */
-void remove_confirms(ir_graph *irg);
+FIRM_API void remove_confirms(ir_graph *irg);
 
 /**
  * Creates an ir_graph pass for remove_confirms().
  *
  * @param name     the name of this pass or NULL
- * @param verify   should this pass be verified?
- * @param dump     should this pass result be dumped?
  *
  * @return  the newly created ir_graph pass
  */
-ir_graph_pass_t *remove_confirms_pass(const char *name, int verify, int dump);
+FIRM_API ir_graph_pass_t *remove_confirms_pass(const char *name);
+
+#include "end.h"
 
 #endif