From 153ed01cac8be211f278b6b7c319681c12a97c54 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Sat, 4 Feb 2006 17:57:40 +0000 Subject: [PATCH] added header file for GVN-PRE [r7319] --- ir/opt/gvn_pre.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 ir/opt/gvn_pre.h diff --git a/ir/opt/gvn_pre.h b/ir/opt/gvn_pre.h new file mode 100644 index 000000000..450622d9c --- /dev/null +++ b/ir/opt/gvn_pre.h @@ -0,0 +1,25 @@ +/* + * 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 + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ +#ifndef __FIRM_OPT_GVN_PRE_H__ +#define __FIRM_OPT_GVN_PRE_H__ + +#include "firm_types.h" + +/** + * Does Partial Redundancy Elimination combined with + * Global Value Numbering. + * Can be used to replace place_code() completely. + * + * Based on VanDrunen and Hosking 2004. + */ +void do_gvn_pre(ir_graph *irg); + +#endif /* __FIRM_OPT_GVN_PRE_H__ */ -- 2.20.1