moved firmext code into the backend dir
[libfirm] / ir / be / grgen / analyze.h
1 #ifndef _EXT_GRS_ANALYZE_H_
2 #define _EXT_GRS_ANALYZE_H_
3
4 #include "common.h"
5
6 typedef struct _ext_grs_analyzer_t ext_grs_analyzer_t;
7
8
9
10 /** initialize an analyzer */
11 void ext_grs_init_analyzer(ext_grs_analyzer_t *alz);
12
13 /** perform a from scratch analysis of a given ir graph */
14 void ext_grs_analyze(ext_grs_analyzer_t *alz, ir_graph *irg);
15
16 /** free the result of the last analysis done on the given
17  *  ir graph by the given analyzer */
18 void ext_grs_free_ana_result(ext_grs_analyzer_t *alz, ir_graph *irg);
19
20
21
22 /** enable incremental analysis for the given ir graph */
23 void ext_grs_enable_incr_ana(ext_grs_analyzer_t *alz, ir_graph *irg);
24
25 /** disable incremental analysis for the given ir graph */
26 void ext_grs_disable_incr_ana(ext_grs_analyzer_t *alz, ir_graph *irg);
27
28 /** dump the current analysis result for a given ir graph */
29 void ext_grs_dump_ana_result(ext_grs_analyzer_t *alz, ir_graph *irg);
30
31
32
33
34 /** from scratch analysis of all ir graphs building a global data set */
35 void ext_grs_analyze_global(ext_grs_analyzer_t *alz);
36
37 /** enable global incremental analysis building a global data set */
38 void ext_grs_enable_global_incr_ana(ext_grs_analyzer_t *alz);
39
40 /** disable global incremental analysis building a global data set */
41 void ext_grs_disable_global_incr_ana(ext_grs_analyzer_t *alz);
42
43 /** dump the current global analysis result */
44 void ext_grs_dump_global_ana_result(ext_grs_analyzer_t *alz);
45
46
47
48
49 #endif /*_EXT_GRS_ANALYZE_H_*/