}
else
- fprintf(f, "label=\"\"" );
+ fprintf(f, "label=\"\" shape=point " );
if(env->flags & CO_IFG_DUMP_SHAPE)
fprintf(f, "shape=%s ", limited ? "diamond" : "ellipse");
{
copy_opt_t *co;
co_algo_t *algo_func;
+ int init_costs;
if(algo < 0 || algo >= CO_ALGO_LAST)
return;
co = new_copy_opt(cenv, cost_func);
co_build_ou_structure(co);
co_build_graph_structure(co);
- if(do_stats) {
- ir_printf("%30F %10s %10d%10d%10d%10d", cenv->irg, cenv->cls->name,
- co_get_max_copy_costs(co), co_get_copy_costs(co),
- co_get_inevit_copy_costs(co), co_get_lower_bound(co));
- }
+ init_costs = co_get_copy_costs(co);
/* Dump the interference graph in Appel's format. */
if(dump_flags & DUMP_APPEL) {
int remaining = co_get_copy_costs(co);
int evitable = remaining - co_get_lower_bound(co);
+ ir_printf("%30F %10s %10d%10d%10d%10d", cenv->irg, cenv->cls->name,
+ co_get_max_copy_costs(co), init_costs,
+ co_get_inevit_copy_costs(co), co_get_lower_bound(co));
+
if(optimizable_costs > 0)
printf("%10d %5.2f\n", remaining, (evitable * 100.0) / optimizable_costs);
else