added header file for GVN-PRE
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sat, 4 Feb 2006 17:57:40 +0000 (17:57 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sat, 4 Feb 2006 17:57:40 +0000 (17:57 +0000)
[r7319]

ir/opt/gvn_pre.h [new file with mode: 0644]

diff --git a/ir/opt/gvn_pre.h b/ir/opt/gvn_pre.h
new file mode 100644 (file)
index 0000000..450622d
--- /dev/null
@@ -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__ */