X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeirg_t.h;h=c2e34373370178464b69aa9420463f91c9ed29e0;hb=5efe7ce7c1754fb95defcc569412b2498fcfe436;hp=7d17aeb2c3340eb42998871f6db3df88d1698004;hpb=205396c4f4f5abe7abd6dc2350c8c398a7623afc;p=libfirm diff --git a/ir/be/beirg_t.h b/ir/be/beirg_t.h index 7d17aeb2c..c2e343733 100644 --- a/ir/be/beirg_t.h +++ b/ir/be/beirg_t.h @@ -1,16 +1,36 @@ -/** - * Author: Matthias Braun - * Date: 05.05.2006 - * Copyright: (c) Universitaet Karlsruhe - * License: This file is protected by GPL - GNU GENERAL PUBLIC LICENSE. +/* + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. + * + * This file is part of libFirm. + * + * This file may be distributed and/or modified under the terms of the + * GNU General Public License version 2 as published by the Free Software + * Foundation and appearing in the file LICENSE.GPL included in the + * packaging of this file. + * + * Licensees holding valid libFirm Professional Edition licenses may use + * this file in accordance with the libFirm Commercial License. + * Agreement provided with the Software. * - * Backend irg - a ir_graph with additional analysis information + * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE + * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE. + */ + +/** + * @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 @@ -26,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; } @@ -56,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 */