Intel SPMD Program Compiler  1.12.0
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 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.

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.

Referenced by Module::CompileFile().

Member Data Documentation

◆ functions

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

Definition at line 150 of file ast.h.

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