- be_sched_dump(stdout, irg);
- be_liveness_dump(stdout, irg);
+#ifdef DO_STAT
+ stat_reset();
+#endif
+ /* Perform the following for each register class. */
+ for(j = 0, m = isa->get_n_reg_class(); j < m; ++j) {
+ const arch_register_class_t *cls = isa->get_reg_class(j);
+
+ be_ra_chordal(irg, &env, cls);
+
+#ifdef DUMP_ALLOCATED
+ dump_allocated_irg(&env, irg, "");
+#endif
+#ifdef DO_STAT
+ stat_collect_irg(irg);
+#endif
+ be_copy_opt(irg, isa, cls);
+ be_ra_chordal_done(irg);
+ }
+#ifdef DO_STAT
+ stat_dump(irg);
+#endif
+ be_numbering_done(irg);