#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CodeGen/CGCUDARuntime.h"
Definition at line 42 of file CGCUDARuntime.h.
◆ CGCUDARuntime()
clang::CodeGen::CGCUDARuntime::CGCUDARuntime |
( |
CodeGenModule & |
CGM | ) |
|
|
inline |
◆ ~CGCUDARuntime()
CGCUDARuntime::~CGCUDARuntime |
( |
| ) |
|
|
virtual |
◆ EmitCUDAKernelCallExpr()
◆ emitDeviceStub()
Emits a kernel launch stub.
◆ finalizeModule()
virtual llvm::Function * clang::CodeGen::CGCUDARuntime::finalizeModule |
( |
| ) |
|
|
pure virtual |
Finalize generated LLVM module.
Returns a module constructor function to be added or a null pointer.
◆ getDeviceSideName()
virtual std::string clang::CodeGen::CGCUDARuntime::getDeviceSideName |
( |
const NamedDecl * |
ND | ) |
|
|
pure virtual |
Returns function or variable name on device side even if the current compilation is for host.
◆ getKernelHandle()
virtual llvm::GlobalValue * clang::CodeGen::CGCUDARuntime::getKernelHandle |
( |
llvm::Function * |
Stub, |
|
|
GlobalDecl |
GD |
|
) |
| |
|
pure virtual |
◆ getKernelStub()
virtual llvm::Function * clang::CodeGen::CGCUDARuntime::getKernelStub |
( |
llvm::GlobalValue * |
Handle | ) |
|
|
pure virtual |
◆ handleVarRegistration()
virtual void clang::CodeGen::CGCUDARuntime::handleVarRegistration |
( |
const VarDecl * |
VD, |
|
|
llvm::GlobalVariable & |
Var |
|
) |
| |
|
pure virtual |
◆ internalizeDeviceSideVar()
virtual void clang::CodeGen::CGCUDARuntime::internalizeDeviceSideVar |
( |
const VarDecl * |
D, |
|
|
llvm::GlobalValue::LinkageTypes & |
Linkage |
|
) |
| |
|
pure virtual |
Adjust linkage of shadow variables in host compilation.
◆ CGM
The documentation for this class was generated from the following files: