1*c85f09ccSJohn Levon #ifndef FLOWGRAPH_H 2*c85f09ccSJohn Levon #define FLOWGRAPH_H 3*c85f09ccSJohn Levon 4*c85f09ccSJohn Levon #include <stdbool.h> 5*c85f09ccSJohn Levon 6*c85f09ccSJohn Levon struct entrypoint; 7*c85f09ccSJohn Levon struct basic_block; 8*c85f09ccSJohn Levon 9*c85f09ccSJohn Levon int cfg_postorder(struct entrypoint *ep); 10*c85f09ccSJohn Levon void domtree_build(struct entrypoint *ep); 11*c85f09ccSJohn Levon bool domtree_dominates(struct basic_block *a, struct basic_block *b); 12*c85f09ccSJohn Levon 13*c85f09ccSJohn Levon #endif 14