X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeirg_t.h;h=babc5aebab76bc864e1eddf45896bcaf1e5906f4;hb=9276447aec4972df060349e162f583c4898dfec8;hp=7041542cefee4037c951a64d62c54c0fb0a3059d;hpb=4d5c3365a58cba59993045a9e08e686d8ae079a7;p=libfirm diff --git a/ir/be/beirg_t.h b/ir/be/beirg_t.h index 7041542ce..babc5aeba 100644 --- a/ir/be/beirg_t.h +++ b/ir/be/beirg_t.h @@ -18,18 +18,18 @@ */ /** - * Author: Matthias Braun - * Date: 05.05.2006 - * Copyright: (c) Universitaet Karlsruhe - * License: This file is protected by GPL - GNU GENERAL PUBLIC LICENSE. - * - * Backend irg - a ir_graph with additional analysis information + * @file + * @brief Backend irg - a ir_graph with additional analysis information. + * @author Matthias Braun + * @date 05.05.2006 + * @version $Id$ */ -#ifndef BEIRG_T_H -#define BEIRG_T_H +#ifndef FIRM_BE_BEIRG_T_H +#define FIRM_BE_BEIRG_T_H #include "beirg.h" #include "be_t.h" +#include "irlivechk.h" /** * An ir_graph with additional analysis data about this irg. Also includes some @@ -43,6 +43,7 @@ struct be_irg_t { ir_exec_freq *exec_freq; be_dom_front_info_t *dom_front; be_lv_t *lv; + lv_chk_t *lv_chk; }; static INLINE be_lv_t * @@ -50,6 +51,11 @@ _be_get_birg_liveness(const be_irg_t *birg) { return birg->lv; } +static INLINE lv_chk_t * +_be_get_birg_liveness_chk(const be_irg_t *birg) { + return birg->lv_chk; +} + static INLINE ir_exec_freq * _be_get_birg_exec_freq(const be_irg_t *birg) { return birg->exec_freq; @@ -72,7 +78,8 @@ _be_get_birg_arch_env(const be_irg_t *birg) { #define be_get_birg_exec_freq(birg) _be_get_birg_exec_freq(birg) #define be_get_birg_liveness(birg) _be_get_birg_liveness(birg) +#define be_get_birg_liveness_chk(birg) _be_get_birg_liveness_chk(birg) #define be_get_birg_dom_front(birg) _be_get_birg_dom_front(birg) #define be_get_birg_irg(birg) _be_get_birg_irg(birg) -#endif +#endif /* FIRM_BE_BEIRG_T_H */