MLIR  22.0.0git
Functions
mlir::wasm Namespace Reference

Functions

OwningOpRef< ModuleOp > 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...
 

Function Documentation

◆ importWebAssemblyToModule()

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.

Definition at line 1513 of file TranslateFromWasm.cpp.

Referenced by mlir::registerFromWasmTranslation().