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
16 * An ir_graph with additional analysis data about this irg. Also includes some
21 be_main_env_t *main_env;
23 arch_code_generator_t *cg;
24 ir_exec_freq *exec_freq;
25 be_dom_front_info_t *dom_front;
29 static INLINE be_lv_t *
30 _be_get_birg_liveness(const be_irg_t *birg) {
34 static INLINE ir_exec_freq *
35 _be_get_birg_exec_freq(const be_irg_t *birg) {
36 return birg->exec_freq;
39 static INLINE be_dom_front_info_t *
40 _be_get_birg_dom_front(const be_irg_t *birg) {
41 return birg->dom_front;
44 static INLINE ir_graph *
45 _be_get_birg_irg(const be_irg_t *birg) {
49 static INLINE const arch_env_t *
50 _be_get_birg_arch_env(const be_irg_t *birg) {
51 return birg->main_env->arch_env;
54 #define be_get_birg_exec_freq(birg) _be_get_birg_exec_freq(birg)
55 #define be_get_birg_liveness(birg) _be_get_birg_liveness(birg)
56 #define be_get_birg_dom_front(birg) _be_get_birg_dom_front(birg)
57 #define be_get_birg_irg(birg) _be_get_birg_irg(birg)