ref: ded3b7ca9b2ea1612b714b6b5d31579f73c63dd1
dir: /opt/opt.h/
typedef struct Cfg Cfg; typedef struct Bb Bb; struct Cfg { Bb **bb; size_t nbb; /* for building bb */ int nextbbid; Htab *lblmap; /* label => Bb mapping */ Node **fixjmp; size_t nfixjmp; Bb **fixblk; size_t nfixblk; }; struct Bb { int id; char **lbls; size_t nlbls; Node **nl; size_t nnl; Bitset *pred; Bitset *succ; }; /* Takes a reduced block, and returns a flow graph. */ Cfg *mkcfg(Node **nl, size_t nn); void dumpcfg(Cfg *c, FILE *fd); void flow(Cfg *cfg);