MLIR  22.0.0git
Namespaces | Functions
WasmImporter.h File Reference
#include "mlir/IR/BuiltinOps.h"
#include "mlir/IR/MLIRContext.h"
#include "mlir/IR/OwningOpRef.h"
#include "llvm/Support/SourceMgr.h"

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::wasm
 

Functions

OwningOpRef< ModuleOp > mlir::wasm::importWebAssemblyToModule (llvm::SourceMgr &source, MLIRContext *context)
 If source contains a valid Wasm binary file, this function returns a a ModuleOp containing the representation of the Wasm module encoded in the source file in the wasmssa dialect. More...