Split "STMT_GOTO_BB" into "STMT_CONDTRUE" and "STMT_CONDFALSE".
[smatch.git] / linearize.h
blob06ca6d53c0ece68740d383fc545e21ce81e8723d
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;
13 struct symbol *next;
16 static inline void add_bb(struct basic_block_list **list, struct basic_block *bb)
18 add_ptr_list((struct ptr_list **)list, bb);
21 struct entrypoint {
22 struct symbol *name;
23 struct symbol_list *syms;
24 struct basic_block_list *bbs;
27 void linearize_symbol(struct symbol *sym);
29 #endif /* LINEARIZE_H */