don't include old_fctnames.h in firm.h - don't #define size in old_fctnames.h
authorMatthias Braun <matze@braunis.de>
Mon, 21 Dec 2009 12:26:22 +0000 (12:26 +0000)
committerMatthias Braun <matze@braunis.de>
Mon, 21 Dec 2009 12:26:22 +0000 (12:26 +0000)
[r26815]

include/libfirm/analyze_irg_args.h
include/libfirm/firm.h
include/libfirm/iroptimize.h
include/libfirm/old_fctnames.h

index 8483137..84019eb 100644 (file)
@@ -28,6 +28,7 @@
 
 #include "irgraph.h"
 #include "firm_types.h"
+#include "typerep.h"
 
 /**
  * Returns for a method with pointer parameter
index edfeca9..5c9324f 100644 (file)
@@ -111,7 +111,6 @@ extern "C" {
 #include "irtypeinfo.h"
 #include "irvrfy.h"
 #include "lowering.h"
-#include "old_fctnames.h"
 #include "pseudo_irg.h"
 #include "rta.h"
 #include "seqnumbers.h"
index 74f3f29..27f885d 100644 (file)
@@ -271,7 +271,12 @@ void opt_if_conv(ir_graph *irg, const ir_settings_if_conv_t *params);
 ir_graph_pass_t *opt_if_conv_pass(
        const char *name, const ir_settings_if_conv_t *params);
 
-void opt_sync(ir_graph *irg);
+/**
+ * Tries to reduce dependencies for memory nodes where possible by parllelizing
+ * them and synchronising with Sync nodes
+ * @param irg   the graph where memory operations should be parallelised
+ */
+void opt_parallelize_mem(ir_graph *irg);
 
 /**
  * Creates an ir_graph pass for opt_sync().
@@ -280,7 +285,7 @@ void opt_sync(ir_graph *irg);
  *
  * @return  the newly created ir_graph pass
  */
-ir_graph_pass_t *opt_sync_pass(const char *name);
+ir_graph_pass_t *opt_parallelize_mem_pass(const char *name);
 
 /*
  * Check if we can replace the load by a given const from
index 7b1c64b..93777e4 100644 (file)
@@ -50,7 +50,8 @@
 #define get_SymConst_ptrinfo  get_SymConst_name
 #define set_SymConst_ptrinfo  set_SymConst_name
 #define type_tag              symconst_type_tag
-#define size                  symconst_type_size
+/* don't do this -- too many use this name elswhere */
+/* #define size                  symconst_type_size */
 #define symconst_size         symconst_type_size
 #define linkage_ptr_info      symconst_addr_name