MLIR 22.0.0git
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

namespace  mlir
 Include the generated interface declarations.
namespace  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.