Added comments; added remove_irg
[libfirm] / ir / ana / rta.h
1 /* -*- c -*- */
2
3 #ifndef _RTA_H_
4 #define _RTA_H_
5
6 # include "entity.h"
7
8 /* Initialise the RTA data structures and perform RTA */
9 void rta_init(int verbose);
10 /* Delete all graphs that have been found to be dead */
11 void rta_delete_dead_graphs (void);
12 /* Clean up our data structures */
13 void rta_cleanup(void);
14
15 /* Inquire whether the given class is live */
16 int rta_is_alive_class(type *clazz);
17 /* Inquire whether the given graph is alive */
18 int rta_is_alive_graph(ir_graph *graph);
19 /* Inquire whether the given field is alive */
20 int rta_is_alive_field(entity *field);
21
22 #endif /* def _RTA_H_ */
23
24 /*
25  * $Log$
26  * Revision 1.5  2004/06/17 08:33:01  liekweg
27  * Added comments; added remove_irg
28  *
29  * Revision 1.4  2004/06/15 11:44:54  beck
30  * New inlining schema implemented:
31  *
32  * small functions that should be inlined in libFirm are implemented in _t.h files
33  * with a __ prefix.
34  * Preprocessor magic is used to automatically inline these functions whenever a _t.h
35  * file is included instead of a .h file.
36  * Note that this magic did not work outside libFirm without accessing _t.h files.
37  *
38  * Revision 1.3  2004/06/13 15:03:45  liekweg
39  * RTA auf Iterative RTA aufgebohrt --flo
40  *
41  * Revision 1.2  2004/06/12 17:09:46  liekweg
42  * RTA works, outedges breaks.  "Yay." --flo
43  *
44  * Revision 1.1  2004/06/11 18:24:18  liekweg
45  * Added RTA --flo
46  *
47  */