X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fopt%2Fgvn_pre.h;h=d404a9d41f7f0d8d658b689efd22e9665cf7d22f;hb=3958bfcd6866194c5dc191e0486b1886230afcba;hp=e31bb4c47417522dd3f61235418b679c08872f58;hpb=eb08138c6b80c169945568e4414f491a9bc20388;p=libfirm diff --git a/ir/opt/gvn_pre.h b/ir/opt/gvn_pre.h index e31bb4c47..d404a9d41 100644 --- a/ir/opt/gvn_pre.h +++ b/ir/opt/gvn_pre.h @@ -17,17 +17,15 @@ * PURPOSE. */ -/* - * Project: libFIRM - * File name: ir/opt/gvn_pre.h - * Purpose: Global Value Numbering Partial Redundancy Elimination - * Author: Michael Beck, Rubino Geiss - * Created: - * CVS-ID: $Id$ - * Copyright: (c) 1998-2006 Universität Karlsruhe +/** + * @file + * @brief Global Value Numbering Partial Redundancy Elimination + * (VanDrunen Hosking 2004) + * @author Michael Beck, Rubino Geiss + * @version $Id$ */ -#ifndef __FIRM_OPT_GVN_PRE_H__ -#define __FIRM_OPT_GVN_PRE_H__ +#ifndef FIRM_OPT_GVN_PRE_H +#define FIRM_OPT_GVN_PRE_H #include "firm_types.h" @@ -37,7 +35,13 @@ * Can be used to replace place_code() completely. * * Based on VanDrunen and Hosking 2004. + * + * @param irg the graph + * + * @note + * Currently completely broken because the used sets do NOT + * preserve the topological sort of its elements. */ void do_gvn_pre(ir_graph *irg); -#endif /* __FIRM_OPT_GVN_PRE_H__ */ +#endif /* FIRM_OPT_GVN_PRE_H */