Extended perm insertion by setting the colors of the outs.
[libfirm] / ir / be / becopystat.h
index c5346e2..3f44902 100644 (file)
@@ -17,7 +17,7 @@
 #define MAX_PHASE 2
 
 /**
- * For an explanation of these values see phi_copystat_dump_pretty
+ * For an explanation of these values see the code of copystat_dump_pretty
  */
 enum vals_t {
        I_ALL_NODES = 0,
@@ -50,10 +50,10 @@ enum vals_t {
 
        /* copy instructions */
        I_COPIES_MAX,           /* max number of copies possible */
-       I_COPIES_IF,            /* number of copies inevitable due to root-arg-interf */
        I_COPIES_INIT,          /* !external set! number of copies in initial allocation */
        I_COPIES_HEUR,          /* !external set! number of copies after heuristic */
        I_COPIES_OPT,           /* !external set! number of copies after ilp */
+       I_COPIES_IF,            /* number of copies inevitable due to root-arg-interf */
 
        ASIZE
 };
@@ -65,7 +65,7 @@ int curr_vals[ASIZE];
 
 void copystat_init(void);
 void copystat_reset(void);
-void copystat_collect_irg(ir_graph *irg);
+void copystat_collect_irg(ir_graph *irg, arch_env_t *arch_env);
 void copystat_collect_cls(be_chordal_env_t *chordal_env);
 void copystat_dump(ir_graph *irg);
 void copystat_dump_pretty(ir_graph *irg);
@@ -74,7 +74,7 @@ void copystat_dump_pretty(ir_graph *irg);
 
 #define copy_copystat_init();
 #define        copystat_reset();
-#define copystat_collect_irg(irg);
+#define copystat_collect_irg(irg, arch_env);
 #define copystat_collect_cls(env);
 #define copystat_dump(irg);
 #define copystat_dump(irg);