clang API Documentation
#include <CGOpenCLRuntime.h>

Public Member Functions | |
| CGOpenCLRuntime (CodeGenModule &CGM) | |
| virtual | ~CGOpenCLRuntime () |
| virtual void | EmitWorkGroupLocalVarDecl (CodeGenFunction &CGF, const VarDecl &D) |
Protected Attributes | |
| CodeGenModule & | CGM |
Definition at line 28 of file CGOpenCLRuntime.h.
| clang::CodeGen::CGOpenCLRuntime::CGOpenCLRuntime | ( | CodeGenModule & | CGM | ) | [inline] |
Definition at line 33 of file CGOpenCLRuntime.h.
| CGOpenCLRuntime::~CGOpenCLRuntime | ( | ) | [virtual] |
Definition at line 23 of file CGOpenCLRuntime.cpp.
| void CGOpenCLRuntime::EmitWorkGroupLocalVarDecl | ( | CodeGenFunction & | CGF, |
| const VarDecl & | D | ||
| ) | [virtual] |
Emit the IR required for a work-group-local variable declaration, and add an entry to CGF's LocalDeclMap for D. The base class does this using CodeGenFunction::EmitStaticVarDecl to emit an internal global for D.
Definition at line 25 of file CGOpenCLRuntime.cpp.
References clang::CodeGen::CodeGenFunction::EmitStaticVarDecl(), and clang::InternalLinkage.
Referenced by clang::CodeGen::CodeGenFunction::EmitVarDecl().
CodeGenModule& clang::CodeGen::CGOpenCLRuntime::CGM [protected] |
Definition at line 30 of file CGOpenCLRuntime.h.