9#ifndef MLIR_TARGET_LLVMIR_EXPORT_H
10#define MLIR_TARGET_LLVMIR_EXPORT_H
12#include "llvm/ADT/StringRef.h"
34std::unique_ptr<llvm::Module>
36 llvm::StringRef name =
"LLVMDialectModule",
37 bool disableVerification =
false,
38 llvm::vfs::FileSystem *fs =
nullptr);
Operation is the basic unit of execution within MLIR.
The OpAsmOpInterface, see OpAsmInterface.td for more details.
Include the generated interface declarations.
std::unique_ptr< llvm::Module > translateModuleToLLVMIR(Operation *module, llvm::LLVMContext &llvmContext, llvm::StringRef name="LLVMDialectModule", bool disableVerification=false, llvm::vfs::FileSystem *fs=nullptr)
Translates a given LLVM dialect module into an LLVM IR module living in the given context.