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

#include <ast.h>

Collaboration diagram for AST:
Collaboration graph
[legend]

Public Member Functions

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

Private Attributes

std::vector< Function * > functions
 

Detailed Description

Definition at line 139 of file ast.h.

Member Function Documentation

◆ AddFunction()

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 55 of file ast.cpp.

References functions.

Referenced by Module::AddFunctionDefinition().

◆ GenerateIR()

void AST::GenerateIR ( )

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

Definition at line 61 of file ast.cpp.

References functions.

Referenced by Module::CompileFile().

Member Data Documentation

◆ functions

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

Definition at line 150 of file ast.h.

Referenced by AddFunction(), and GenerateIR().


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