clang 23.0.0git
CIRGenBuiltinNVPTX.cpp File Reference

Go to the source code of this file.

Functions

static mlir::Value emitUnaryNVVMIntrinsic (CIRGenFunction &cgf, const CallExpr *expr, llvm::StringRef intrinsicName)
 Emit a CIR LLVMIntrinsicCallOp for a unary NVVM intrinsic.
static mlir::Value packArgsIntoNVPTXFormatBuffer (CIRGenFunction &cgf, const CallArgList &args, mlir::Location loc)

Function Documentation

◆ emitUnaryNVVMIntrinsic()

mlir::Value emitUnaryNVVMIntrinsic ( CIRGenFunction & cgf,
const CallExpr * expr,
llvm::StringRef intrinsicName )
static

Emit a CIR LLVMIntrinsicCallOp for a unary NVVM intrinsic.

The result type is inferred from the single argument.

Definition at line 25 of file CIRGenBuiltinNVPTX.cpp.

References clang::CIRGen::CIRGenFunction::emitScalarExpr(), clang::ast_matchers::expr, clang::CIRGen::CIRGenFunction::getBuilder(), and clang::CIRGen::CIRGenFunction::getLoc().

Referenced by clang::CIRGen::CIRGenFunction::emitNVPTXBuiltinExpr().

◆ packArgsIntoNVPTXFormatBuffer()