#include "/work/llvm-www-releases/9.0.0/docsbuild/llvm.src/tools/clang/lib/CodeGen/CGCUDARuntime.h"
Definition at line 38 of file CGCUDARuntime.h.
◆ DeviceVarFlags
Enumerator |
---|
ExternDeviceVar | |
ConstantDeviceVar | |
Definition at line 44 of file CGCUDARuntime.h.
◆ CGCUDARuntime()
clang::CodeGen::CGCUDARuntime::CGCUDARuntime |
( |
CodeGenModule & |
CGM | ) |
|
|
inline |
◆ ~CGCUDARuntime()
CGCUDARuntime::~CGCUDARuntime |
( |
| ) |
|
|
virtual |
◆ EmitCUDAKernelCallExpr()
◆ emitDeviceStub()
◆ getDeviceStubName()
virtual std::string clang::CodeGen::CGCUDARuntime::getDeviceStubName |
( |
llvm::StringRef |
Name | ) |
const |
|
pure virtual |
◆ makeModuleCtorFunction()
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.
◆ makeModuleDtorFunction()
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
◆ registerDeviceVar()
virtual void clang::CodeGen::CGCUDARuntime::registerDeviceVar |
( |
const VarDecl * |
VD, |
|
|
llvm::GlobalVariable & |
Var, |
|
|
unsigned |
Flags |
|
) |
| |
|
pure virtual |
◆ CGM
The documentation for this class was generated from the following files: