/*
- * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
* PURPOSE.
*/
-/*
- * 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
- */
-
-/** @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:
* 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 */