Updating frequencies and dominators

Sebastian Pop sebpop@gmail.com
Tue Sep 14 16:17:00 GMT 2010


On Tue, Sep 14, 2010 at 10:19, Paulo J. Matos <pocmatos@gmail.com> wrote:
> How can I automatically update dominators? Or do I have to do it for
> each new basic_block I create with recompute_dominator?

/* Free and compute again all the dominators information.  */

static inline void
recompute_all_dominators (void)
{
  mark_irreducible_loops ();
  free_dominance_info (CDI_DOMINATORS);
  free_dominance_info (CDI_POST_DOMINATORS);
  calculate_dominance_info (CDI_DOMINATORS);
  calculate_dominance_info (CDI_POST_DOMINATORS);
}



More information about the Gcc mailing list