- stat_ev_if {
- be_do_stat_reg_pressure(birg, cls);
- }
-
- memcpy(&pse.cenv, &chordal_env, sizeof(chordal_env));
- pse.birg = birg;
- pre_spill(&pse, cls);
-
- BE_TIMER_PUSH(t_ra_spill);
- be_do_spill(birg, cls);
- BE_TIMER_POP(t_ra_spill);
-
- dump(BE_CH_DUMP_SPILL, irg, pse.cls, "-spill",
- dump_ir_block_graph_sched);
-
- post_spill(&pse, 0);
-
- stat_ev_if {
- node_stat_t node_stat;
-
- node_stats(birg, &node_stat);
- stat_ev_dbl("bechordal_phis",
- node_stat.n_phis - last_node_stat.n_phis);
- stat_ev_dbl("bechordal_mem_phis",
- node_stat.n_mem_phis - last_node_stat.n_mem_phis);
- stat_ev_dbl("bechordal_reloads",
- node_stat.n_reloads - last_node_stat.n_reloads);
- stat_ev_dbl("bechordal_remats",
- node_stat.n_remats - last_node_stat.n_remats);
- stat_ev_dbl("bechordal_spills",
- node_stat.n_spills - last_node_stat.n_spills);
- stat_ev_dbl("bechordal_perms_after_coal",
- node_stat.n_perms - last_node_stat.n_perms);
- stat_ev_dbl("bechordal_copies_after_coal",
- node_stat.n_copies - last_node_stat.n_copies);
-
- last_node_stat = node_stat;
- stat_ev_ctx_pop("bechordal_cls");
- }