clang API Documentation
#include <CGCUDARuntime.h>
Public Member Functions | |
CGCUDARuntime (CodeGenModule &CGM) | |
virtual | ~CGCUDARuntime () |
virtual RValue | EmitCUDAKernelCallExpr (CodeGenFunction &CGF, const CUDAKernelCallExpr *E, ReturnValueSlot ReturnValue) |
virtual void | EmitDeviceStubBody (CodeGenFunction &CGF, FunctionArgList &Args)=0 |
Protected Attributes | |
CodeGenModule & | CGM |
Definition at line 31 of file CGCUDARuntime.h.
clang::CodeGen::CGCUDARuntime::CGCUDARuntime | ( | CodeGenModule & | CGM | ) | [inline] |
Definition at line 36 of file CGCUDARuntime.h.
CGCUDARuntime::~CGCUDARuntime | ( | ) | [virtual] |
Definition at line 25 of file CGCUDARuntime.cpp.
RValue CGCUDARuntime::EmitCUDAKernelCallExpr | ( | CodeGenFunction & | CGF, |
const CUDAKernelCallExpr * | E, | ||
ReturnValueSlot | ReturnValue | ||
) | [virtual] |
Definition at line 27 of file CGCUDARuntime.cpp.
References clang::CodeGen::CodeGenFunction::ConditionalEvaluation::begin(), clang::CodeGen::CodeGenFunction::createBasicBlock(), 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 void clang::CodeGen::CGCUDARuntime::EmitDeviceStubBody | ( | CodeGenFunction & | CGF, |
FunctionArgList & | Args | ||
) | [pure virtual] |
Referenced by clang::CodeGen::CodeGenFunction::GenerateCode().
CodeGenModule& clang::CodeGen::CGCUDARuntime::CGM [protected] |
Definition at line 33 of file CGCUDARuntime.h.