clang
3.9.0
|
#include <CGOpenCLRuntime.h>
Public Member Functions | |
CGOpenCLRuntime (CodeGenModule &CGM) | |
virtual | ~CGOpenCLRuntime () |
virtual void | EmitWorkGroupLocalVarDecl (CodeGenFunction &CGF, const VarDecl &D) |
Emit the IR required for a work-group-local variable declaration, and add an entry to CGF's LocalDeclMap for D. More... | |
virtual llvm::Type * | convertOpenCLSpecificType (const Type *T) |
virtual llvm::Type * | getPipeType () |
Protected Attributes | |
CodeGenModule & | CGM |
llvm::Type * | PipeTy |
Definition at line 32 of file CGOpenCLRuntime.h.
|
inline |
Definition at line 38 of file CGOpenCLRuntime.h.
|
virtual |
Definition at line 25 of file CGOpenCLRuntime.cpp.
|
virtual |
Definition at line 32 of file CGOpenCLRuntime.cpp.
References CGM, clang::serialized_diags::create(), clang::CodeGen::CodeGenModule::getContext(), getKind(), clang::CodeGen::CodeGenModule::getLLVMContext(), clang::ASTContext::getTargetAddressSpace(), clang::Type::isOpenCLSpecificType(), and clang::LangAS::opencl_global.
Referenced by clang::CodeGen::CodeGenTypes::ConvertType().
|
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 27 of file CGOpenCLRuntime.cpp.
References clang::CodeGen::CodeGenFunction::EmitStaticVarDecl(), and clang::InternalLinkage.
Referenced by clang::CodeGen::CodeGenFunction::EmitVarDecl().
|
virtual |
Definition at line 69 of file CGOpenCLRuntime.cpp.
References CGM, clang::serialized_diags::create(), clang::CodeGen::CodeGenModule::getContext(), clang::CodeGen::CodeGenModule::getLLVMContext(), clang::ASTContext::getTargetAddressSpace(), clang::LangAS::opencl_global, and PipeTy.
Referenced by clang::CodeGen::CodeGenTypes::ConvertType().
|
protected |
Definition at line 34 of file CGOpenCLRuntime.h.
Referenced by convertOpenCLSpecificType(), and getPipeType().
|
protected |
Definition at line 35 of file CGOpenCLRuntime.h.
Referenced by getPipeType().