X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeirg.h;h=fe10b8ba96e8b9278ddc93c643dc26c1f6bf86b4;hb=a92ff34e623ded0eb85277c1f37235947855dffb;hp=7c80be6f687c642418a56a4f957b507ddfe23f6c;hpb=c65b13d98017c671496ff61e970790bba264f375;p=libfirm diff --git a/ir/be/beirg.h b/ir/be/beirg.h index 7c80be6f6..fe10b8ba9 100644 --- a/ir/be/beirg.h +++ b/ir/be/beirg.h @@ -6,25 +6,27 @@ * * Backend irg - a ir_graph with additional analysis information */ -#ifndef BEIRG_H_ -#define BEIRG_H_ +#ifndef BEIRG_H +#define BEIRG_H #include "belive.h" -#include "beirgmod.h" +#include "bedomfront.h" -typedef struct _be_irg_t be_irg_t; +typedef struct be_irg_t be_irg_t; -ir_graph *be_get_ir_graph(be_irg_t *birg); +ir_graph *be_get_birg_irg(const be_irg_t *birg); void be_assure_liveness(be_irg_t *birg); void be_invalidate_liveness(be_irg_t *birg); -be_lv_t *be_get_birg_liveness(be_irg_t *birg); +be_lv_t *be_get_birg_liveness(const be_irg_t *birg); void be_assure_dom_front(be_irg_t *birg); void be_invalidate_dom_front(be_irg_t *birg); -be_dom_front_info_t *be_get_birg_dom_front(be_irg_t *birg); +be_dom_front_info_t *be_get_birg_dom_front(const be_irg_t *birg); -ir_exec_freq *be_get_birg_exec_freq(be_irg_t *birg); +const arch_env_t *be_get_birg_arch_env(const be_irg_t *birg); + +ir_exec_freq *be_get_birg_exec_freq(const be_irg_t *birg); /** * frees all memory allocated by birg structures (liveness, dom_front, ...).