typos fixed
[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  * Entfernen von nicht erreichbaren (aufrufbaren) Methoden. Die Menge
15  * der nicht erreichbaren Methoden wird aus der Abschätzung der
16  * Aufrufrelation bestimmt.
17  */
18
19
20 #ifndef _GC_IRGS_H_
21 #define _GC_IRGS_H_
22
23
24 #include "entity.h"
25
26
27 /* Entfernt alle Methoden, die von den Methoden aus "keep_arr"
28  * (bezgl. der Abschaetzung get_Call_callee) nicht erreichbar sind. Die
29  * Abschaetzung der Aufrufrelation muss entsprechend an den
30  * Call-Operationen gespeichert sein. Die "entity->link"s werden dabei
31  * ueberschrieben.
32  *
33  * Frees all interprocedural loop information. */
34 void gc_irgs(int n_keep, entity *keep_arr[]);
35
36
37 #endif /* _GC_IRGS_H_ */