Intel® Implicit SPMD Program Compiler (Intel® ISPC)  1.13.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 138 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
private

Definition at line 149 of file ast.h.


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