X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Firconsconfirm.h;h=4e83817357bd9756d1d6e67501baf32f4a46124a;hb=e350b484176725a82b3fce4ed2466a91c1b37f88;hp=155d41a0974fcb8eef4a2856288c6745d5258c3b;hpb=1ce363f80e6a204d4011f85813362d9bd1d0e7e4;p=libfirm diff --git a/include/libfirm/irconsconfirm.h b/include/libfirm/irconsconfirm.h index 155d41a09..4e8381735 100644 --- a/include/libfirm/irconsconfirm.h +++ b/include/libfirm/irconsconfirm.h @@ -51,6 +51,15 @@ */ 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