declare load/store alternative in iroptimize header
authorMatthias Braun <matze@braunis.de>
Fri, 31 Jul 2009 10:27:57 +0000 (10:27 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 31 Jul 2009 10:27:57 +0000 (10:27 +0000)
[r26298]

include/libfirm/iroptimize.h

index 2e87838..7a1c1ba 100644 (file)
@@ -242,6 +242,13 @@ ir_node *can_replace_load_by_const(const ir_node *load, ir_node *c);
  */
 int optimize_load_store(ir_graph *irg);
 
+/**
+ * New experimental alternative to optimize_load_store.
+ * Based on a dataflow analysis, so load/stores are moved out of loops
+ * where possible
+ */
+int opt_ldst(ir_graph *irg);
+
 /**
  * Do Loop unrolling in the given graph.
  */