X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbedomfront.h;h=88e1a42d8a506a3c6b0199fca5753f52be95035b;hb=939b0af78227f2d14a4362a1b5518fd9e05b1053;hp=271b97fa4c107c8d432d2bfb83f372d206768f7f;hpb=863d31d7a5c8210432fef88b30fc3e8353131538;p=libfirm diff --git a/ir/be/bedomfront.h b/ir/be/bedomfront.h index 271b97fa4..88e1a42d8 100644 --- a/ir/be/bedomfront.h +++ b/ir/be/bedomfront.h @@ -1,21 +1,34 @@ +/* + * 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 Algorithms for computing normal and iterated dominance frontiers + * @brief Algorithms for computing dominance frontiers * @author Sebastian Hack, Daniel Grund * @date: 04.05.2005 * @version $Id$ - * Copyright: (c) Universitaet Karlsruhe - * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. */ -#ifndef _FIRM_BE_DOMFRONT_H_ -#define _FIRM_BE_DOMFRONT_H_ +#ifndef FIRM_BE_BEDOMFRONT_H +#define FIRM_BE_BEDOMFRONT_H -#include "irnodeset.h" - -/* - * Forward type declaration. - */ -typedef struct _be_dom_front_info_t be_dom_front_info_t; +#include "firm_types.h" +#include "be_types.h" /** * Compute the dominance frontiers for a given graph. @@ -32,11 +45,11 @@ void be_free_dominance_frontiers(be_dom_front_info_t *info); /** * Get the dominance frontier of a block. - * @param info A pointer to the dominance frontier information. - * @param block The block whose dominance frontier you want. - * @return A list containing the all blocks in the dominance frontier of @p block. + * @param info A pointer to the dominance frontier information. + * @param block The block whose dominance frontier you want. + * @return A list containing the all blocks in the dominance frontier of + * @p block. */ -ir_node **be_get_dominance_frontier(const be_dom_front_info_t *info, - ir_node *block); +ir_node **be_get_dominance_frontier(const be_dom_front_info_t *info, ir_node *block); #endif