Skip navigation links
C E G L M N P R S T V 

C

CallExpr - Class in <Unnamed>
An expression evaluated by calling a named procedure.
CallExpr(String, Expr) - Constructor for class CallExpr
Constructs a CallExpr with a given procedure name and argument.
ConstExpr - Class in <Unnamed>
An expression that is a constant (necessarily an integer, at least for now).
ConstExpr(int) - Constructor for class ConstExpr
Constructs an ConstExpr with the specified value.

E

Expr - Class in <Unnamed>
An Abstract Syntax Tree (AST) node representing an expression.
Expr() - Constructor for class Expr
 
ExprStmt - Class in <Unnamed>
A statement that evaluates its body expression and then ignores the resulting value.
ExprStmt(Expr) - Constructor for class ExprStmt
Construct an ExprStmt which evaluates the body expression.

G

get() - Static method in class LibraryDeclarations
Provides the library declarations.
getCode() - Method in class ValueAndCode
Retrieves the LLVM code that will, at runtime, cause the name to hold the value.
getLabelAllocator() - Static method in class NameAllocator
Gets an allocator to be used for LLVM names of labels.
getTempAllocator() - Static method in class NameAllocator
Gets an allocator to be used for LLVM names of temporary values.
getValue() - Method in class ValueAndCode
Retrieves the constant or the name that will, at run time, hold the value.

L

LibraryDeclarations - Class in <Unnamed>
Provides the LLVM declarations for library procedures, which the compiler should include in its output.

M

main(String[]) - Static method in class TestAST
Writes out the LLVM code for a test program into a file.

N

NameAllocator - Class in <Unnamed>
A NameAllocator provides a succession of names, all sharing an initial prefix.
next() - Method in class NameAllocator
Provides the next name in this allocator's sequence.

P

Procedure - Class in <Unnamed>
An Abstract Syntax Tree (AST) node representing a procedure.
Procedure(String, Stmt) - Constructor for class Procedure
Constructs a Procedure with specified name and body.

R

ReturnStmt - Class in <Unnamed>
A statement that evaluates an expression and returns the resulting value from the procedure in which the statement appears.
ReturnStmt(Expr) - Constructor for class ReturnStmt
Construct a ReturnStmt which returns the value of the specified expression.

S

SequenceStmt - Class in <Unnamed>
A SequenceStmt combines together two smaller statements.
SequenceStmt(Stmt, Stmt) - Constructor for class SequenceStmt
Constructs a SequenceStmt from two smaller statements.
Stmt - Class in <Unnamed>
An Abstract Syntax Tree (AST) node representing a statement.
Stmt() - Constructor for class Stmt
 

T

Target - Class in <Unnamed>
This class defines the target architecture used for code generation.
TestAST - Class in <Unnamed>
This class provides a main method that can be used to test the construction of an Abstract Syntax Tree (AST) and the generation of LLVM code from that AST.
toLLVM() - Method in class CallExpr
 
toLLVM() - Method in class ConstExpr
Generate the LLVM code that should be executed to evaluate this expression.
toLLVM() - Method in class Expr
Generate the LLVM code that should be executed to evaluate this expression.
toLLVM() - Method in class ExprStmt
 
toLLVM() - Method in class Procedure
Generate the LLVM code that defines this procedure.
toLLVM() - Method in class ReturnStmt
 
toLLVM() - Method in class SequenceStmt
 
toLLVM() - Method in class Stmt
Generate the LLVM code that should be executed to execute this statement.
TRIPLE - Static variable in class Target
The target triple to specify in the LLVM assembly language.

V

ValueAndCode - Class in <Unnamed>
A ValueAndCode object packages together the two results of translating an expression into LLVM.
ValueAndCode(String, String) - Constructor for class ValueAndCode
Construct a ValueAndCode object.
C E G L M N P R S T V 
Skip navigation links