X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeirg.h;h=9bc2c0f3daeed690d22b474ca8eefb9e7ff4c9b7;hb=c1fdf770d4d000dd5cf22daead32369342c5f5d1;hp=950b7f53608ca341901523490c5a32397ddbc361;hpb=907e1217d87fcbaa89b4846448aaddef5cca8592;p=libfirm diff --git a/ir/be/beirg.h b/ir/be/beirg.h index 950b7f536..9bc2c0f3d 100644 --- a/ir/be/beirg.h +++ b/ir/be/beirg.h @@ -1,29 +1,48 @@ -/** - * 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. */ -#ifndef BEIRG_H_ -#define BEIRG_H_ + +/** + * @file + * @brief Backend irg - a ir_graph with additional analysis information. + * @author Matthias Braun + * @date 05.05.2006 + * @version $Id$ + */ +#ifndef FIRM_BE_BEIRG_H +#define FIRM_BE_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_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_assure_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(const 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); /** @@ -32,4 +51,4 @@ ir_exec_freq *be_get_birg_exec_freq(const be_irg_t *birg); */ void be_free_birg(be_irg_t *birg); -#endif +#endif /* FIRM_BE_BEIRG_H */