- unsigned num_birgs;
-
- be_ra_timer_t *ra_timer;
-
-#ifdef WITH_LIBCORE
- lc_timer_t *t_abi = NULL;
- lc_timer_t *t_codegen = NULL;
- lc_timer_t *t_sched = NULL;
- lc_timer_t *t_constr = NULL;
- lc_timer_t *t_regalloc = NULL;
- lc_timer_t *t_finish = NULL;
- lc_timer_t *t_emit = NULL;
- lc_timer_t *t_other = NULL;
- lc_timer_t *t_verify = NULL;
-
- if (be_options.timing == BE_TIME_ON) {
- t_abi = lc_timer_register("beabi", "be abi introduction");
- t_codegen = lc_timer_register("codegen", "codegeneration");
- t_sched = lc_timer_register("sched", "scheduling");
- t_constr = lc_timer_register("constr", "assure constraints");
- t_regalloc = lc_timer_register("regalloc", "register allocation");
- t_finish = lc_timer_register("finish", "graph finish");
- t_emit = lc_timer_register("emiter", "code emiter");
- t_verify = lc_timer_register("verify", "graph verification");
- t_other = lc_timer_register("other", "other");
+ int num_birgs;
+ ir_graph **irg_list, **backend_irg_list;
+
+ be_timing = (be_options.timing == BE_TIME_ON);
+
+ if (be_timing) {
+ t_abi = ir_timer_register("time_beabi", "be abi introduction");
+ t_codegen = ir_timer_register("time_codegen", "codegeneration");
+ t_sched = ir_timer_register("time_sched", "scheduling");
+ t_constr = ir_timer_register("time_constr", "assure constraints");
+ t_finish = ir_timer_register("time_finish", "graph finish");
+ t_emit = ir_timer_register("time_emiter", "code emiter");
+ t_verify = ir_timer_register("time_verify", "graph verification");
+ t_other = ir_timer_register("time_other", "other");
+ t_heights = ir_timer_register("time_heights", "heights");
+ t_live = ir_timer_register("time_liveness", "be liveness");
+ t_execfreq = ir_timer_register("time_execfreq", "execfreq");
+ t_ssa_constr = ir_timer_register("time_ssa_constr", "ssa reconstruction");
+ t_ra_prolog = ir_timer_register("time_ra_prolog", "regalloc prolog");
+ t_ra_epilog = ir_timer_register("time_ra_epilog", "regalloc epilog");
+ t_ra_constr = ir_timer_register("time_ra_constr", "regalloc constraints");
+ t_ra_spill = ir_timer_register("time_ra_spill", "spiller");
+ t_ra_spill_apply
+ = ir_timer_register("time_ra_spill_apply", "apply spills");
+ t_ra_color = ir_timer_register("time_ra_color", "graph coloring");
+ t_ra_ifg = ir_timer_register("time_ra_ifg", "interference graph");
+ t_ra_copymin = ir_timer_register("time_ra_copymin", "copy minimization");
+ t_ra_ssa = ir_timer_register("time_ra_ssadestr", "ssa destruction");
+ t_ra_other = ir_timer_register("time_ra_other", "regalloc other");