X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Fircgopt.h;h=b5b96fb0bacfcbafc302f3c5ebdac94d80bbb288;hb=eda9d668d0e8c8246015b4c5e743316a6a835a23;hp=b9883d6500dc4ba1fc959bead4ca7e60e99fa9ff;hpb=da9c4a1519a03db4b6a4cbd79dff05f69387611f;p=libfirm diff --git a/ir/ir/ircgopt.h b/ir/ir/ircgopt.h index b9883d650..b5b96fb0b 100644 --- a/ir/ir/ircgopt.h +++ b/ir/ir/ircgopt.h @@ -1,27 +1,46 @@ -/* ------------------------------------------------------------------- - * $Id$ - * ------------------------------------------------------------------- - * Entfernen von nicht erreichbaren (aufrufbaren) Methoden. Die Menge - * der nicht erreichbaren Methoden wird aus der Abschätzung der - * Aufrufrelation bestimmt. +/* + * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. * - * Erstellt: Hubert Schmid, 09.06.2002 - * ---------------------------------------------------------------- */ - - -#ifndef _GC_IRGS_H_ -#define _GC_IRGS_H_ - - -#include "entity.h" - + * This file is part of libFirm. + * + * This file may be distributed and/or modified under the terms of the + * GNU General Public License version 2 as published by the Free Software + * Foundation and appearing in the file LICENSE.GPL included in the + * packaging of this file. + * + * Licensees holding valid libFirm Professional Edition licenses may use + * this file in accordance with the libFirm Commercial License. + * Agreement provided with the Software. + * + * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE + * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE. + */ + +/** + * @file + * @brief Removal of unreachable methods. + * @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. + */ +#ifndef FIRM_IR_ICGOPT_H +#define FIRM_IR_ICGOPT_H + +#include "firm_types.h" /* Entfernt alle Methoden, die von den Methoden aus "keep_arr" - * (bezgl. der Abschätzung get_Call_callee) nicht erreichbar sind. Die - * Abschätzung der Aufrufrelation muss entsprechend an den + * (bezgl. der Abschaetzung get_Call_callee) nicht erreichbar sind. Die + * Abschaetzung der Aufrufrelation muss entsprechend an den * Call-Operationen gespeichert sein. Die "entity->link"s werden dabei - * überschrieben. */ -void gc_irgs(int n_keep, entity *keep_arr[]); - + * ueberschrieben. + * + * Frees all interprocedural loop information. */ +void gc_irgs(int n_keep, ir_entity *keep_arr[]); -#endif /* _GC_IRGS_H_ */ +#endif