X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Fircgopt.h;h=00aa017c6d288dc832dbbce00111b18a3fb8d116;hb=e2e929ea04eb563b5fffadfd84bd61eb1f85735f;hp=91b517346332be22c11cc16b32bc5774d064b925;hpb=1ce363f80e6a204d4011f85813362d9bd1d0e7e4;p=libfirm diff --git a/include/libfirm/ircgopt.h b/include/libfirm/ircgopt.h index 91b517346..00aa017c6 100644 --- a/include/libfirm/ircgopt.h +++ b/include/libfirm/ircgopt.h @@ -23,10 +23,10 @@ * @author Hubert Schmid * @date 09.06.2002 * @version $Id$ - * @summary + * @brief * (TODO: translate to english) * Entfernen von nicht erreichbaren (aufrufbaren) Methoden. Die Menge - * der nicht erreichbaren Methoden wird aus der Abschätzung der + * der nicht erreichbaren Methoden wird aus der Absch�tzung der * Aufrufrelation bestimmt. */ #ifndef FIRM_IR_ICGOPT_H @@ -43,4 +43,13 @@ * Frees all interprocedural loop information. */ void gc_irgs(int n_keep, ir_entity *keep_arr[]); +/** + * Creates an ir_prog pass for gc_irgs(). + * + * @param name the name of this pass or NULL + * + * @return the newly created ir_graph pass + */ +ir_prog_pass_t *gc_irgs_pass(const char *name); + #endif