Add ALLOCAN() and ALLOCANZ().
[libfirm] / ir / be / beifg_t.h
index a1fbc5c..640f950 100644 (file)
@@ -1,12 +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.
+ */
+
 /**
- * Common use interference graph.
+ * @file
+ * @brief       Common use interference graph.
+ * @author      Sebastian Hack
+ * @date        27.06.2005
+ * @version     $Id$
+ *
  * Originally written by Sebastian Hack. Refactored into a seperate
  * source file and header by Kimon Hoffmann.
- * @author Sebastian Hack
- * @date 27.06.2005
  */
-#ifndef _BEIFG_T_H_
-#define _BEIFG_T_H_
+#ifndef FIRM_BE_BEIFG_T_H
+#define FIRM_BE_BEIFG_T_H
 
 #include "beifg.h"
 
@@ -34,7 +56,7 @@ struct _be_ifg_impl_t {
 };
 
 struct _be_ifg_t {
-       const be_ifg_impl_t *impl;
+       const be_ifg_impl_t    *impl;
        const be_chordal_env_t *env;
 };
 
@@ -57,8 +79,8 @@ struct _be_ifg_t {
 #define be_ifg_cliques_break(self, iter)          ((self)->impl->cliques_break(self, iter))
 #define be_ifg_degree(self,irn)                   ((self)->impl->degree(self, irn))
 
-#endif
+#endif /* _BE_IFG_USE_MACROS */
 
 void be_ifg_check(const be_ifg_t *ifg);
 
-#endif /*_BEIFG_T_H_*/
+#endif /* FIRM_BE_BEIFG_T_H */