9 #ifndef MLIR_DIALECT_LLVMIR_PRINTCALLHELPER_H_
10 #define MLIR_DIALECT_LLVMIR_PRINTCALLHELPER_H_
13 #include "llvm/ADT/StringRef.h"
19 class LLVMTypeConverter;
27 StringRef symbolName, StringRef
string,
28 const LLVMTypeConverter &typeConverter,
29 bool addNewline =
true,
30 std::optional<StringRef> runtimeFunctionName = {});
void createPrintStrCall(OpBuilder &builder, Location loc, ModuleOp moduleOp, StringRef symbolName, StringRef string, const LLVMTypeConverter &typeConverter, bool addNewline=true, std::optional< StringRef > runtimeFunctionName={})
Generate IR that prints the given string to stdout.
Include the generated interface declarations.