2 * Author: Matthias Braun
4 * Copyright: (c) Universitaet Karlsruhe
5 * License: This file is protected by GPL - GNU GENERAL PUBLIC LICENSE.
7 * Backend irg - a ir_graph with additional analysis information
15 * An ir_graph with additional analysis data about this irg. Also includes some
20 struct _be_main_env_t *main_env;
21 struct _be_abi_irg_t *abi;
22 struct _arch_code_generator_t *cg;
23 ir_exec_freq *exec_freq;
24 be_dom_front_info_t *dom_front;
28 static INLINE be_lv_t *
29 _be_get_birg_liveness(const be_irg_t *birg) {
33 static INLINE ir_exec_freq *
34 _be_get_birg_exec_freq(const be_irg_t *birg) {
35 return birg->exec_freq;
38 static INLINE be_dom_front_info_t *
39 _be_get_birg_dom_front(const be_irg_t *birg) {
40 return birg->dom_front;
43 static INLINE ir_graph *
44 _be_get_birg_irg(const be_irg_t *birg) {
48 #define be_get_birg_exec_freq(birg) _be_get_birg_exec_freq(birg)
49 #define be_get_birg_liveness(birg) _be_get_birg_liveness(birg)
50 #define be_get_birg_dom_front(birg) _be_get_birg_dom_front(birg)
51 #define be_get_birg_irg(birg) _be_get_birg_irg(birg)