X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fopt%2Fopt_polymorphy.h;h=05e1df3b88107afee6fd2f31cada4dea56de41b6;hb=6d3394bf4a3f3c2868634837d70389115cdca589;hp=c926a06330c5c21138d2f7ce31c5177641989683;hpb=eb08138c6b80c169945568e4414f491a9bc20388;p=libfirm diff --git a/ir/opt/opt_polymorphy.h b/ir/opt/opt_polymorphy.h index c926a0633..05e1df3b8 100644 --- a/ir/opt/opt_polymorphy.h +++ b/ir/opt/opt_polymorphy.h @@ -1,5 +1,5 @@ /* - * 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. * @@ -17,29 +17,19 @@ * 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$ + * @summary * 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: @@ -58,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 */