Used new get_irn_pinned() function
[libfirm] / ir / ana / rta.h
1 /* -*- c -*- */
2
3 #ifndef _RTA_H_
4 #define _RTA_H_
5
6 # include "entity.h"
7
8 /**
9  * Initialise the RTA data structures and perform RTA.
10  *
11  * @param do_verbose If == 1, print statistics, if > 1, chatter about every detail
12  */
13 void rta_init(int do_verbose);
14
15 /**
16  * Delete all graphs that have been found to be dead.
17  */
18 void rta_delete_dead_graphs (void);
19
20 /** Clean up our data structures.
21  * Finishes the RTA.
22  */
23 void rta_cleanup(void);
24
25 /** Returns non-zero if the given class is alive. */
26 int rta_is_alive_class(type *clazz);
27
28 /** Returns non-zero if the given graph is alive. */
29 int rta_is_alive_graph(ir_graph *graph);
30
31 /** report for all graphs and types wheater they are alive */
32 void rta_report (void);
33
34 #endif /* def _RTA_H_ */
35
36 /*
37  * $Log$
38  * Revision 1.10  2004/09/24 13:59:04  beck
39  * fixed doxygen comments, removed initialization for description entities
40  *
41  * Revision 1.9  2004/08/19 16:51:02  goetz
42  * fixed some errors, pushed closer to inteded firm semantics
43  *
44  * Revision 1.8  2004/06/18 17:34:31  liekweg
45  * Removed field checks --flo
46  *
47  * Revision 1.7  2004/06/18 13:12:43  liekweg
48  * final bug fix (calls via consts)
49  *
50  * Revision 1.6  2004/06/17 14:21:14  liekweg
51  * major bugfix
52  *
53  * Revision 1.5  2004/06/17 08:33:01  liekweg
54  * Added comments; added remove_irg
55  *
56  * Revision 1.4  2004/06/15 11:44:54  beck
57  * New inlining schema implemented:
58  *
59  * small functions that should be inlined in libFirm are implemented in _t.h files
60  * with a __ prefix.
61  * Preprocessor magic is used to automatically inline these functions whenever a _t.h
62  * file is included instead of a .h file.
63  * Note that this magic did not work outside libFirm without accessing _t.h files.
64  *
65  * Revision 1.3  2004/06/13 15:03:45  liekweg
66  * RTA auf Iterative RTA aufgebohrt --flo
67  *
68  * Revision 1.2  2004/06/12 17:09:46  liekweg
69  * RTA works, outedges breaks.  "Yay." --flo
70  *
71  * Revision 1.1  2004/06/11 18:24:18  liekweg
72  * Added RTA --flo
73  *
74  */