#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,
/* 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
};
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);
#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);