X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbessadestrsimple.h;h=a262ae5fd717c7e873dc2cc2a3240cd3b721ee91;hb=662fc44c951bdb45a9b7d9563e9ffbb87101b9e4;hp=ea3f34d468c9711e94bfcbd09be2f5d199316c99;hpb=863d31d7a5c8210432fef88b30fc3e8353131538;p=libfirm diff --git a/ir/be/bessadestrsimple.h b/ir/be/bessadestrsimple.h index ea3f34d46..a262ae5fd 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 @@ -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 */