replace is_no_Block() with !is_Block()
[libfirm] / ir / opt / opt_polymorphy.h
index 6132b80..824f9b1 100644 (file)
@@ -1,27 +1,35 @@
 /*
- * Project:     libFIRM
- * File name:   ir/opt/opt_polymorphy.h
- * Purpose:     Optimize polymorphic Sel and Load nodes.
- * Author:
- * Created:
- * CVS-ID:      $Id$
- * Copyright:   (c) 2005 Universität Karlsruhe
- * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
+ * 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
- *
+/**
+ * @file
+ * @brief   Optimize polymorphic Sel and Load nodes.
+ * @author  Goetz Lindenmaier, Michael Beck
+ * @version $Id$
+ * @brief
  *  This file subsumes optimization code from cgana.
  */
-#ifndef _OPT_POLYMORPHY_H_
-#define _OPT_POLYMORPHY_H_
+#ifndef FIRM_OPT_OPT_POLYMORPHY_H
+#define FIRM_OPT_OPT_POLYMORPHY_H
 
 #include "firm_types.h"
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 /**
  * Transform  Sel(Alloc)[method]
  * to SymC[method] under the following conditions:
@@ -40,10 +48,6 @@ ir_node *transform_node_Sel(ir_node *node);
  *  a tuple, or replace the Projs of the load.
  *  Therefore we call this optimization in ldstopt.
  */
-ir_node *transform_node_Load(ir_node *n);
-
-#ifdef __cplusplus
-}
-#endif
+ir_node *transform_polymorph_Load(ir_node *n);
 
-#endif /* _OPT_POLYMORPHY_H_ */
+#endif /* FIRM_OPT_OPT_POLYMORPHY_H */