Intel SPMD Program Compiler  1.9.1
Public Member Functions | Private Attributes | List of all members
AST Class Reference

#include <ast.h>

Collaboration diagram for AST:
Collaboration graph

Public Member Functions

void AddFunction (Symbol *sym, Stmt *code)
void GenerateIR ()

Private Attributes

std::vector< Function * > functions

Detailed Description

Definition at line 144 of file ast.h.

Member Function Documentation

void AST::AddFunction ( Symbol sym,
Stmt code 

Add the AST for a function described by the given declaration information and source code.

Definition at line 58 of file ast.cpp.

References functions.

Referenced by Module::AddFunctionDefinition().

void AST::GenerateIR ( )

Generate LLVM IR for all of the functions into the current module.

Definition at line 66 of file ast.cpp.

References functions.

Referenced by Module::CompileFile().

Member Data Documentation

std::vector<Function *> AST::functions

Definition at line 155 of file ast.h.

Referenced by AddFunction(), and GenerateIR().

The documentation for this class was generated from the following files: