clang 24.0.0git
LowerToLLVMOffloadPrintfNVPTX.cpp File Reference
#include "LowerToLLVM.h"
#include "LowerToLLVMOffloadPrintf.h"
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
#include "clang/CIR/Dialect/IR/CIRDialect.h"

Go to the source code of this file.

Namespaces

namespace  cir
namespace  cir::direct

Functions

mlir::LogicalResult cir::direct::lowerNVPTXPrintf (cir::OffloadPrintfOp op, mlir::Value format, mlir::ValueRange args, mlir::ConversionPatternRewriter &rewriter, const mlir::DataLayout &dataLayout, mlir::SymbolTableCollection &symbolTables)
 Lowers op, whose lowered format and arguments are format and args, to a call to vprintf.