X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Fircgopt.h;h=e170bf01a5bf7e6595ad175f4055b7baee5e770e;hb=23ea16875f38dc0c067cce24f64b5c70f3acc496;hp=b9883d6500dc4ba1fc959bead4ca7e60e99fa9ff;hpb=da9c4a1519a03db4b6a4cbd79dff05f69387611f;p=libfirm diff --git a/ir/ir/ircgopt.h b/ir/ir/ircgopt.h index b9883d650..e170bf01a 100644 --- a/ir/ir/ircgopt.h +++ b/ir/ir/ircgopt.h @@ -1,27 +1,34 @@ -/* ------------------------------------------------------------------- - * $Id$ - * ------------------------------------------------------------------- +/* + * Project: libFIRM + * File name: ir/ir/ircgopt.h + * Purpose: Removal of unreachable methods. + * Author: Hubert Schmid + * Modified by: + * Created: 09.06.2002 + * CVS-ID: $Id$ + * Copyright: (c) 2002-2003 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ + +/** + * @file irgopt.h + * * Entfernen von nicht erreichbaren (aufrufbaren) Methoden. Die Menge * der nicht erreichbaren Methoden wird aus der Abschätzung der * Aufrufrelation bestimmt. - * - * Erstellt: Hubert Schmid, 09.06.2002 - * ---------------------------------------------------------------- */ - - -#ifndef _GC_IRGS_H_ -#define _GC_IRGS_H_ - - -#include "entity.h" + */ +#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. */ + * ueberschrieben. + * + * Frees all interprocedural loop information. */ void gc_irgs(int n_keep, entity *keep_arr[]); - -#endif /* _GC_IRGS_H_ */ +#endif /* _FIRM_IR_ICGOPT_H_ */