|
clang 23.0.0git
|
#include "CIRGenFunction.h"#include "mlir/IR/Value.h"#include "clang/Basic/TargetBuiltins.h"#include "clang/CIR/Dialect/IR/CIRDataLayout.h"#include "clang/CIR/Dialect/IR/CIRDialect.h"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) |
|
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().
|
static |
Definition at line 1037 of file CIRGenBuiltinNVPTX.cpp.
References clang::CIRGen::CIRGenFunction::cgm, cir::CIRBaseBuilderTy::createBitcast(), cir::CIRBaseBuilderTy::createGetMember(), clang::CIRGen::CIRGenFunction::createTempAlloca(), clang::CharUnits::fromQuantity(), cir::CIRDataLayout::getABITypeAlign(), cir::CIRBaseBuilderTy::getAlignmentAttr(), clang::CIRGen::CIRGenBuilderTy::getAnonRecordTy(), clang::CIRGen::CIRGenFunction::getBuilder(), clang::CIRGen::CIRGenModule::getDataLayout(), cir::CIRBaseBuilderTy::getNullPtr(), clang::CIRGen::Address::getPointer(), and cir::CIRBaseBuilderTy::getVoidPtrTy().
Referenced by clang::CIRGen::CIRGenFunction::emitNVPTXDevicePrintfCallExpr().