fixed output
[libfirm] / ir / ir / ircgopt.h
1 /*
2  * Project:     libFIRM
3  * File name:   ir/ir/ircgopt.h
4  * Purpose:     Removal of unreachable methods.
5  * Author:      Hubert Schmid
6  * Modified by:
7  * Created:     09.06.2002
8  * CVS-ID:      $Id$
9  * Copyright:   (c) 2002-2003 Universität Karlsruhe
10  * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
11  */
12
13 /**
14  * @file irgopt.h
15  *
16  * Entfernen von nicht erreichbaren (aufrufbaren) Methoden. Die Menge
17  * der nicht erreichbaren Methoden wird aus der Abschätzung der
18  * Aufrufrelation bestimmt.
19  */
20 #ifndef _FIRM_IR_ICGOPT_H_
21 #define _FIRM_IR_ICGOPT_H_
22
23 #include "firm_types.h"
24
25 /* Entfernt alle Methoden, die von den Methoden aus "keep_arr"
26  * (bezgl. der Abschaetzung get_Call_callee) nicht erreichbar sind. Die
27  * Abschaetzung der Aufrufrelation muss entsprechend an den
28  * Call-Operationen gespeichert sein. Die "entity->link"s werden dabei
29  * ueberschrieben.
30  *
31  * Frees all interprocedural loop information. */
32 void gc_irgs(int n_keep, entity *keep_arr[]);
33
34 #endif /* _FIRM_IR_ICGOPT_H_ */