X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Firdump_grgen.h;h=6937f1649d173bfeaebf57bf3eed206b7940d44c;hb=e74e0c8fb6ef361347b2f580ce3fa71afe10874e;hp=a68214597b88796f34637726ed11d671dd6d0357;hpb=24af17bb24ce387a7f0987c75e5b31487c578e3c;p=libfirm diff --git a/include/libfirm/irdump_grgen.h b/include/libfirm/irdump_grgen.h index a68214597..6937f1649 100644 --- a/include/libfirm/irdump_grgen.h +++ b/include/libfirm/irdump_grgen.h @@ -21,15 +21,23 @@ * @file * @brief Write ir graph as a grgen construction rule * @author Andreas Schoesser -* @version $Id: +* @version $Id$ */ /** * Dumps a complete irg in the grgen format * irg: irg to dump - * filename: text file to dump to + * filename: text file to dump to * append: 1 if the new rule should be appended to the file, * otherwise the previous contents are deleted **/ -void dump_irg_grgen(ir_graph *irg, char *filename, int append); +void dump_irg_grgen_file(ir_graph *irg, char *filename, int append); + +/** + * Like dump_irg_grgen_file dumps a complete irg in the grgen format + * irg: irg to dump + * suffix: suffix for the output file + * (e.g. "main"+ suffix +".grg") + **/ +void dump_irg_grgen(ir_graph *irg, char *suffix);