clang 23.0.0git
clang::CIRGen::CIRGenCUDARuntime Class Referenceabstract

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CIR/CodeGen/CIRGenCUDARuntime.h"

Public Member Functions

 CIRGenCUDARuntime (CIRGenModule &cgm)
virtual ~CIRGenCUDARuntime ()
virtual void emitDeviceStub (CIRGenFunction &cgf, cir::FuncOp fn, FunctionArgList &args)=0
virtual RValue emitCUDAKernelCallExpr (CIRGenFunction &cgf, const CUDAKernelCallExpr *expr, ReturnValueSlot retValue)
virtual mlir::Operation * getKernelHandle (cir::FuncOp fn, GlobalDecl gd)=0
virtual mlir::Operation * getKernelStub (mlir::Operation *handle)=0

Protected Attributes

CIRGenModulecgm

Detailed Description

Definition at line 32 of file CIRGenCUDARuntime.h.

Constructor & Destructor Documentation

◆ CIRGenCUDARuntime()

clang::CIRGen::CIRGenCUDARuntime::CIRGenCUDARuntime ( CIRGenModule & cgm)
inline

Definition at line 37 of file CIRGenCUDARuntime.h.

References cgm.

◆ ~CIRGenCUDARuntime()

CIRGenCUDARuntime::~CIRGenCUDARuntime ( )
virtual

Definition at line 23 of file CIRGenCUDARuntime.cpp.

Member Function Documentation

◆ emitCUDAKernelCallExpr()

◆ emitDeviceStub()

virtual void clang::CIRGen::CIRGenCUDARuntime::emitDeviceStub ( CIRGenFunction & cgf,
cir::FuncOp fn,
FunctionArgList & args )
pure virtual

◆ getKernelHandle()

virtual mlir::Operation * clang::CIRGen::CIRGenCUDARuntime::getKernelHandle ( cir::FuncOp fn,
GlobalDecl gd )
pure virtual

◆ getKernelStub()

virtual mlir::Operation * clang::CIRGen::CIRGenCUDARuntime::getKernelStub ( mlir::Operation * handle)
pure virtual

Member Data Documentation

◆ cgm

CIRGenModule& clang::CIRGen::CIRGenCUDARuntime::cgm
protected

Definition at line 34 of file CIRGenCUDARuntime.h.

Referenced by CIRGenCUDARuntime(), and emitCUDAKernelCallExpr().


The documentation for this class was generated from the following files: