phi opt deactivated due to bug.
[libfirm] / ir / be / phistat.h
1 /**
2  * @author Daniel Grund
3  * @date 09.12.2004
4  */
5
6 #ifndef _PHISTAT_H
7 #define _PHISTAT_H
8
9 #include "pset.h"
10 #include "irgraph.h"
11
12 /**
13  * Resets the array holding the data
14  */
15 void phi_stat_reset(void);
16
17 /**
18  * Collect all stat data
19  */
20 void phi_stat_collect(ir_graph *irg, pset *all_phi_nodes, pset *all_phi_classes);
21
22 /**
23  * Dumps the current contents of the internal values to a file.
24  */
25 void phi_stat_dump(char *filename);
26
27 /**
28  * Updates a cumulative file with the internal values.
29  */
30 void phi_stat_update(char *filename);
31
32 /**
33  * Dumps the current contents of the values array
34  * and annotations to a file.
35  */
36 void phi_stat_dump_pretty(char *filename);
37
38 #endif