X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Fircgopt.h;h=3158e1c754d9b234db2a732762889663b2e9c832;hb=ac384815dc66fb1846385515a19404ad89b897de;hp=479e4726b84e48c462a3b5fe233665437a3b6d59;hpb=d92c40358495a9da07dcb03c9ad418bf460825b0;p=libfirm diff --git a/include/libfirm/ircgopt.h b/include/libfirm/ircgopt.h index 479e4726b..3158e1c75 100644 --- a/include/libfirm/ircgopt.h +++ b/include/libfirm/ircgopt.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2011 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -23,16 +23,17 @@ * @author Hubert Schmid * @date 09.06.2002 * @version $Id$ - * @summary - * (TODO: translate to english) - * Entfernen von nicht erreichbaren (aufrufbaren) Methoden. Die Menge - * der nicht erreichbaren Methoden wird aus der Abschätzung der - * Aufrufrelation bestimmt. + * @brief + * Removal of unreachable methods. The set of unreachable methods is computed + * by the callgraph. */ #ifndef FIRM_IR_ICGOPT_H #define FIRM_IR_ICGOPT_H +#include + #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 @@ -41,18 +42,17 @@ * ueberschrieben. * * Frees all interprocedural loop information. */ -void gc_irgs(int n_keep, ir_entity *keep_arr[]); +FIRM_API void gc_irgs(size_t n_keep, ir_entity *keep_arr[]); /** * Creates an ir_prog pass for gc_irgs(). * * @param name the name of this pass or NULL - * @param verify should this pass be verified? - * @param dump should this pass result be dumped? - * @param params The parameters for the if conversion. * * @return the newly created ir_graph pass */ -ir_prog_pass_t *gc_irgs_pass(const char *name, int verify, int dump); +FIRM_API ir_prog_pass_t *gc_irgs_pass(const char *name); + +#include "end.h" #endif