Skip to content

Instantly share code, notes, and snippets.

View bryant's full-sized avatar

bryant bryant

  • New York; Berlin
View GitHub Profile
@bryant
bryant / -
Last active November 19, 2017 06:22 — forked from anonymous/-
GCC's linear-time DF calculation, pasted by Dan Berlin.
static void
compute_dominance_frontiers_1 (bitmap_head *frontiers)
{
edge p;
edge_iterator ei;
basic_block b;
FOR_EACH_BB_FN (b, cfun)
{
if (EDGE_COUNT (b->preds) >= 2)