#include "irgraph.h"
#include "irnode.h"
#include "irgwalk.h"
+#include "irouts.h"
#include "irdom.h"
#include "bephiopt.h"
#include "bephicoal_t.h"
#include "phistat.h"
+#define DEBUG_LVL SET_LEVEL_1
+
#define DO_PHI_STATISTICS
#undef DUMP_IRG_PHI_STAT
-#define DUMP_ALL_PHI_STAT
-
-#define DEBUG_LVL 1
+#define DUMP_CUMULATIVE
#define CUMULATIVE_FILE "all.phistat"
+
#define ENV_PHI_STAT "PHI_STAT"
static firm_dbg_module_t *dbgphi = NULL;
phi_stat_dump_pretty(buf);
}
#endif
-#ifdef DUMP_ALL_PHI_STAT
+#ifdef DUMP_CUMULATIVE
phi_stat_update(CUMULATIVE_FILE);
#endif
phi_stat_update(getenv(ENV_PHI_STAT));
/* try to coalesce the colors of each phi class */
DBG((dbgphi, 1, "-----------------------> Coalescing <---------------------------------\n\n"));
+ compute_outs(irg);
compute_doms(irg);
be_phi_coalesce(all_phi_classes);
free_dom_and_peace(irg);