This add a linearization phase. It's not even close to done
[smatch.git] / linearize.h
blob22761dfc080fbfddb8ecf477a83af78673151d8b
1 #ifndef LINEARIZE_H
2 #define LINEARIZE_H
4 #include "lib.h"
5 #include "token.h"
6 #include "parse.h"
7 #include "symbol.h"
9 struct basic_block_list;
11 struct basic_block {
12 struct statement_list *stmts;
15 static inline void add_bb(struct basic_block_list **list, struct basic_block *bb)
17 add_ptr_list((struct ptr_list **)list, bb);
20 struct entrypoint {
21 struct symbol *name;
22 struct symbol_list *syms;
23 struct basic_block_list *bbs;
26 #endif /* LINEARIZE_H */