X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana%2Firdom_t.h;h=fba93d9a8abc7fcb86bbbf98f0695f0390bf96a9;hb=9b716841c3b0865b86af8d3890b3914060c37ed0;hp=24a10a6ee4d00091d24c8ab9a964f8b5f0ce756b;hpb=863d31d7a5c8210432fef88b30fc3e8353131538;p=libfirm diff --git a/ir/ana/irdom_t.h b/ir/ana/irdom_t.h index 24a10a6ee..fba93d9a8 100644 --- a/ir/ana/irdom_t.h +++ b/ir/ana/irdom_t.h @@ -1,31 +1,36 @@ /* - * Project: libFIRM - * File name: ir/ana/irdom_t.h - * Purpose: Construct and access dominator tree -- private datastructures. - * Author: Goetz Lindenmaier - * Modified by: - * Created: 2.2002 - * CVS-ID: $Id$ - * Copyright: (c) 2002-2003 Universität Karlsruhe - * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. - */ - - -/** - * @file irdom_t.h + * Copyrigth (C) 1995-2007 University of Karlsruhe. All right reserved. * - * Dominator information private datastructures. + * This file is part of libFirm. * - * @author Goetz Lindenmaier + * 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 Construct and access dominator tree -- private datastructures. + * @author Goetz Lindenmaier + * @date 2.2002 + * @version $Id$ */ -# ifndef _IRDOM_T_H_ -# define _IRDOM_T_H_ +#ifndef FIRM_ANA_IRDOM_T_H +#define FIRM_ANA_IRDOM_T_H #include "irdom.h" /** For dominator information */ -typedef struct dom_info { +typedef struct ir_dom_info { ir_node *idom; /**< immediate CFG dominator */ ir_node *next; /**< The next node in the dominated list of @c idom. */ ir_node *first; /**< The first node in the list of nodes @@ -36,6 +41,6 @@ typedef struct dom_info { dominator subtree of this node. */ int pre_num; /**< pre-order graph-walk number */ int dom_depth; /**< depth in dominator-tree */ -} dom_info; +} ir_dom_info; -#endif /* _IRDOM_T_H_ */ +#endif