X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Fircgopt.h;h=65f72c7791ebf18d966ac130af1c96b486fdff9a;hb=169fd803ea2ed08171113c1fd7ab4e528e1ebc26;hp=e7225dfa8863971c44eb918c03cf22f47fb90726;hpb=fe1e62d9503f211c7829369b0e6550744c4de948;p=libfirm diff --git a/ir/ir/ircgopt.h b/ir/ir/ircgopt.h index e7225dfa8..65f72c779 100644 --- a/ir/ir/ircgopt.h +++ b/ir/ir/ircgopt.h @@ -1,12 +1,20 @@ -/* ------------------------------------------------------------------- - * $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. + */ + +/** * 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_ @@ -17,11 +25,13 @@ /* 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, entity *keep_arr[]); #endif /* _GC_IRGS_H_ */