9#ifndef MLIR_DIALECT_LLVMIR_PRINTCALLHELPER_H_
10#define MLIR_DIALECT_LLVMIR_PRINTCALLHELPER_H_
13#include "llvm/ADT/StringRef.h"
28 OpBuilder &builder, Location loc, ModuleOp moduleOp, StringRef symbolName,
29 StringRef
string,
const LLVMTypeConverter &typeConverter,
30 bool addNewline =
true, std::optional<StringRef> runtimeFunctionName = {},
31 SymbolTableCollection *symbolTables =
nullptr);
Conversion from types to the LLVM IR dialect.
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.