9#ifndef MLIR_DIALECT_LLVMIR_PRINTCALLHELPER_H_
10#define MLIR_DIALECT_LLVMIR_PRINTCALLHELPER_H_
13#include "llvm/ADT/StringRef.h"
29 OpBuilder &builder, Location loc, ModuleOp moduleOp, StringRef symbolName,
30 StringRef
string,
const LLVMTypeConverter &typeConverter,
31 bool addNewline =
true, std::optional<StringRef> runtimeFunctionName = {},
32 SymbolTableCollection *symbolTables =
nullptr);
Conversion from types to the LLVM IR dialect.
This class defines the main interface for locations in MLIR and acts as a non-nullable wrapper around...
This class helps build Operations.
This class represents a collection of SymbolTables.
LogicalResult createPrintStrCall(OpBuilder &builder, Location loc, ModuleOp moduleOp, StringRef symbolName, StringRef string, const LLVMTypeConverter &typeConverter, bool addNewline=true, std::optional< StringRef > runtimeFunctionName={}, SymbolTableCollection *symbolTables=nullptr)
Generate IR that prints the given string to stdout.
Include the generated interface declarations.