Decaf Compiler
Main Page
Classes
Class List
Class Index
Class Members
All
a
b
c
d
e
f
h
i
j
k
l
m
n
o
p
r
s
t
v
Variables
a
b
c
d
e
f
h
i
j
k
l
m
n
o
p
r
s
t
v
Files
File List
File Members
All
a
b
c
d
e
f
g
i
j
l
m
n
o
p
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Variables
Typedefs
a
b
c
d
e
f
i
l
n
o
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
d
e
i
j
l
m
n
o
p
r
s
v
Macros
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
include
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
21
InsnList
*
generate_code
(
ASTNode
* tree);
22
23
#endif
InsnList
Linked list of ILOCInsn* elements.
Definition:
iloc.h:347
visitor.h
AST visitors.
ASTNode
Main AST node structure.
Definition:
ast.h:470
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.
Generated by
1.8.17