MLIR  20.0.0git
Namespaces | Functions
Import.h File Reference
#include "mlir/IR/OwningOpRef.h"
#include <memory>

Go to the source code of this file.

Namespaces

 llvm
 The OpAsmOpInterface, see OpAsmInterface.td for more details.
 
 mlir
 Include the generated interface declarations.
 

Functions

OwningOpRef< ModuleOp > mlir::translateLLVMIRToModule (std::unique_ptr< llvm::Module > llvmModule, MLIRContext *context, bool emitExpensiveWarnings=true, bool dropDICompositeTypeElements=false)
 Translates the LLVM module into an MLIR module living in the given context. More...
 
DataLayoutSpecInterface mlir::translateDataLayout (const llvm::DataLayout &dataLayout, MLIRContext *context)
 Translate the given LLVM data layout into an MLIR equivalent using the DLTI dialect. More...