Another rewrite of prolog/epilog handling: Delay their creation until after register...
[libfirm] / ir / be / bedomfront.h
index 271b97f..88e1a42 100644 (file)
@@ -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