15#ifndef LLVM_CLANG_LIB_CIR_CIRGENCUDARUNTIME_H
16#define LLVM_CLANG_LIB_CIR_CIRGENCUDARUNTIME_H
CIRGenCUDARuntime(CIRGenModule &cgm)
virtual mlir::Operation * getKernelStub(mlir::Operation *handle)=0
virtual mlir::Operation * getKernelHandle(cir::FuncOp fn, GlobalDecl gd)=0
virtual void emitDeviceStub(CIRGenFunction &cgf, cir::FuncOp fn, FunctionArgList &args)=0
virtual RValue emitCUDAKernelCallExpr(CIRGenFunction &cgf, const CUDAKernelCallExpr *expr, ReturnValueSlot retValue)
virtual ~CIRGenCUDARuntime()
This class organizes the cross-function state that is used while generating CIR code.
Type for representing both the decl and type of parameters to a function.
This trivial value class is used to represent the result of an expression that is evaluated.
Contains the address where the return value of a function can be stored, and whether the address is v...
Represents a call to a CUDA kernel function.
GlobalDecl - represents a global declaration.
CIRGenCUDARuntime * createNVCUDARuntime(CIRGenModule &cgm)
const internal::VariadicDynCastAllOfMatcher< Stmt, Expr > expr
Matches expressions.
The JSON file list parser is used to communicate input to InstallAPI.