* @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
#define FIRM_IR_ICGOPT_H
#include "firm_types.h"
+#include "begin.h"
/* Entfernt alle Methoden, die von den Methoden aus "keep_arr"
* (bezgl. der Abschaetzung get_Call_callee) nicht erreichbar sind. Die
* ueberschrieben.
*
* Frees all interprocedural loop information. */
-void gc_irgs(int n_keep, ir_entity *keep_arr[]);
+FIRM_API 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
+ */
+FIRM_API ir_prog_pass_t *gc_irgs_pass(const char *name);
+
+#include "end.h"
#endif