X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeirg_t.h;h=c2e34373370178464b69aa9420463f91c9ed29e0;hb=41658443cdd74a5ce93c986ab9e623cc92d11f38;hp=7041542cefee4037c951a64d62c54c0fb0a3059d;hpb=4d5c3365a58cba59993045a9e08e686d8ae079a7;p=libfirm diff --git a/ir/be/beirg_t.h b/ir/be/beirg_t.h index 7041542ce..c2e343733 100644 --- a/ir/be/beirg_t.h +++ b/ir/be/beirg_t.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -18,18 +18,19 @@ */ /** - * 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 "beabi.h" +#include "irlivechk.h" /** * An ir_graph with additional analysis data about this irg. Also includes some @@ -45,27 +46,27 @@ struct be_irg_t { be_lv_t *lv; }; -static INLINE be_lv_t * +static inline be_lv_t * _be_get_birg_liveness(const be_irg_t *birg) { return birg->lv; } -static INLINE ir_exec_freq * +static inline ir_exec_freq * _be_get_birg_exec_freq(const be_irg_t *birg) { return birg->exec_freq; } -static INLINE be_dom_front_info_t * +static inline be_dom_front_info_t * _be_get_birg_dom_front(const be_irg_t *birg) { return birg->dom_front; } -static INLINE ir_graph * +static inline ir_graph * _be_get_birg_irg(const be_irg_t *birg) { return birg->irg; } -static INLINE const arch_env_t * +static inline const arch_env_t * _be_get_birg_arch_env(const be_irg_t *birg) { return birg->main_env->arch_env; } @@ -75,4 +76,4 @@ _be_get_birg_arch_env(const be_irg_t *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 */