Decaf Compiler
p4-codegen.h
Go to the documentation of this file.
1 
6 #ifndef __P4_CODEGEN_H
7 #define __P4_CODEGEN_H
8 
9 #include "common.h"
10 #include "ast.h"
11 #include "visitor.h"
12 #include "symbol.h"
13 #include "iloc.h"
14 
22 
23 #endif
InsnList
Linked list of ILOCInsn* elements.
Definition: iloc.h:320
visitor.h
AST visitors.
ASTNode
Main AST node structure.
Definition: ast.h:449
generate_code
InsnList * generate_code(ASTNode *tree)
Convert an AST into linear ILOC code.
Definition: p4-codegen.c:451
ast.h
AST nodes and attributes.
symbol.h
Symbols, symbol tables, and static analysis errors.
common.h
Includes, constants, declarations, and macros used across the compiler.
iloc.h
Declarations of ILOC structures.