#include "LowerToLLVM.h"
#include "LowerToLLVMOffloadPrintf.h"
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
#include "mlir/IR/BuiltinOps.h"
#include "clang/CIR/Dialect/IR/CIRDialect.h"
#include "llvm/ADT/SparseBitVector.h"
#include "llvm/Support/AMDGPUPrintf.h"
#include "llvm/Support/MathExtras.h"
Go to the source code of this file.
|
| mlir::LogicalResult | cir::direct::lowerAMDGPUPrintf (cir::OffloadPrintfOp op, mlir::ValueRange operands, mlir::ConversionPatternRewriter &rewriter, const mlir::DataLayout &dataLayout, mlir::SymbolTableCollection &symbolTables, unsigned genericAddrSpace, bool isBuffered) |
| | Lowers op, whose lowered operands are operands, to the buffered printf runtime interface if isBuffered and to hostcall printf otherwise.
|