From 485a16d5b15766a1b42d6cd2a58c7a749ac0de40 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Thu, 24 Jul 2008 12:41:11 +0000 Subject: [PATCH] - add prototype for combo() - fixed gvn-pre comment (not buggy anymore) [r20665] --- include/libfirm/iroptimize.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/include/libfirm/iroptimize.h b/include/libfirm/iroptimize.h index 65f326abb..41e09aed5 100644 --- a/include/libfirm/iroptimize.h +++ b/include/libfirm/iroptimize.h @@ -159,10 +159,6 @@ void optimize_funccalls(int force_run, check_alloc_entity_func callback); * 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); @@ -513,4 +509,12 @@ void normalize_irg_class_casts(ir_graph *irg, gen_pointer_type_to_func gppt_fct) */ void optimize_class_casts(void); +/** + * CLiff Click's combo algorithm from "Combining Analyses, combining Optimizations". + * + * Does conditional constant propagation, unreachable code elimination and optimistic + * global value numbering at once. + */ +void combo(ir_graph *irg); + #endif -- 2.20.1