9 #ifndef MLIR_TARGET_LLVMIR_EXPORT_H
10 #define MLIR_TARGET_LLVMIR_EXPORT_H
12 #include "llvm/ADT/StringRef.h"
28 std::unique_ptr<llvm::Module>
30 llvm::StringRef name =
"LLVMDialectModule",
31 bool disableVerification =
false);
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)
Translates a given LLVM dialect module into an LLVM IR module living in the given context.