#include "belistsched.h"
#include "belive_t.h"
#include "beutil.h"
-#include "phiclass_t.h"
#include "bechordal.h"
#include "bechordal.h"
#include "bephiopt.h"
#include "phistat.h"
-#define DUMP_LOCAL 1
+#define DUMP_ALLOCATED
+#undef DUMP_LOCALIZED
#define N_PHASES 256
ir_graph *irg = get_irp_irg(i);
localize_consts(irg);
- if (DUMP_LOCAL) {
- dump_consts_local(0);
- dump_ir_block_graph(irg, "-local");
- }
-
+#ifdef DUMP_LOCALIZED
+ dump_consts_local(0);
+ dump_ir_block_graph(irg, "-local-const");
+#endif
be_numbering(irg);
list_sched(irg, trivial_selector, NULL);
be_liveness(irg);
be_ra_chordal(irg);
+
+#ifdef DUMP_ALLOCATED
+ dump_allocated_irg(irg, "");
+#endif
//be_phi_opt(irg);
- //be_phi_destruction(irg);
be_ra_chordal_done(irg);
be_numbering_done(irg);