X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbessadestrsimple.h;h=7df4142cc5ff5532e7ddb7af4e4c02f48c1b8307;hb=b970c1e92d69012f76091aa1d9d2d2e2d3f6221b;hp=ea3f34d468c9711e94bfcbd09be2f5d199316c99;hpb=b1ba3383b1807b7b506b394eb5b3e0992ad60f34;p=libfirm diff --git a/ir/be/bessadestrsimple.h b/ir/be/bessadestrsimple.h index ea3f34d46..7df4142cc 100644 --- a/ir/be/bessadestrsimple.h +++ b/ir/be/bessadestrsimple.h @@ -1,4 +1,40 @@ +/* + * 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. + * + * 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 Simple SSA destruction. + * @author Daniel Grund + * @date 17.01.2006 + * @version $Id$ + */ +#ifdef NOT_PORTED + +#ifndef FIRM_BE_BESSADESTRSIMPLE_H +#define FIRM_BE_BESSADESTRSIMPLE_H + +#include "set.h" #include "pset.h" +#include "irgraph.h" +#include "irnode.h" + +#include "bearch.h" /** * Insert copys to destruct SSA form and @@ -8,7 +44,7 @@ * * @return A set mapping SSA values to variables */ -set *be_ssa_destr_simple(ir_graph *irg, const arch_env_t *aenv); +set *be_ssa_destr_simple(ir_graph *irg); void free_ssa_destr_simple(set *vars); @@ -24,7 +60,7 @@ typedef struct _be_var_info_t { * The link field of an irn points to the var_info struct * representing the corresponding variable. */ -#define be_get_var_info(irn) ((be_var_info_t *)get_irn_link(irn)) +#define be_get_var_info(irn) ((be_var_info_t *)get_irn_link(irn)) #define SET_REMOVED -1 @@ -32,3 +68,7 @@ pset *be_get_var_values(set *vals, int var_nr); be_var_info_t *be_var_add_value(set *vars, int var_nr, ir_node *irn); be_var_info_t *be_var_find_or_insert(set *vars, int var_nr); be_var_info_t *be_var_find(set *vars, int var_nr); + +#endif /* FIRM_BE_BESSADESTRSIMPLE_H */ + +#endif /* NOT_PORTED */