#include <CGCUDARuntime.h>
Definition at line 36 of file CGCUDARuntime.h.
Enumerator |
---|
ExternDeviceVar |
|
ConstantDeviceVar |
|
Definition at line 42 of file CGCUDARuntime.h.
clang::CodeGen::CGCUDARuntime::CGCUDARuntime |
( |
CodeGenModule & |
CGM | ) |
|
|
inline |
CGCUDARuntime::~CGCUDARuntime |
( |
| ) |
|
|
virtual |
Definition at line 27 of file CGCUDARuntime.cpp.
References clang::CodeGen::CodeGenFunction::ConditionalEvaluation::begin(), clang::CodeGen::CodeGenFunction::createBasicBlock(), E, clang::CodeGen::CodeGenFunction::EmitBlock(), clang::CodeGen::CodeGenFunction::EmitBranch(), clang::CodeGen::CodeGenFunction::EmitBranchOnBoolExpr(), clang::CodeGen::CodeGenFunction::EmitCall(), clang::CodeGen::CodeGenFunction::EmitScalarExpr(), clang::CodeGen::CodeGenFunction::ConditionalEvaluation::end(), clang::CodeGen::RValue::get(), clang::CallExpr::getCallee(), clang::CUDAKernelCallExpr::getConfig(), and clang::Expr::getType().
Referenced by clang::CodeGen::CodeGenFunction::EmitCUDAKernelCallExpr().
virtual llvm::Function* clang::CodeGen::CGCUDARuntime::makeModuleCtorFunction |
( |
| ) |
|
|
pure virtual |
Constructs and returns a module initialization function or nullptr if it's not needed.
Must be called after all kernels have been emitted.
virtual llvm::Function* clang::CodeGen::CGCUDARuntime::makeModuleDtorFunction |
( |
| ) |
|
|
pure virtual |
Returns a module cleanup function or nullptr if it's not needed.
Must be called after ModuleCtorFunction
virtual void clang::CodeGen::CGCUDARuntime::registerDeviceVar |
( |
llvm::GlobalVariable & |
Var, |
|
|
unsigned |
Flags |
|
) |
| |
|
pure virtual |
The documentation for this class was generated from the following files: