Beaver.MLIR.Module (beaver v0.4.0)

This module defines functions working with MLIR Module.

Summary

Types

t()

@type t() :: %Beaver.MLIR.Module{ref: term()}

Functions

body(module)

See Beaver.MLIR.CAPI.mlirModuleGetBody/1.

create(str, opts \\ [])

Create a MLIR module by parsing string.

create!(str, opts \\ [])

destroy(module)

See Beaver.MLIR.CAPI.mlirModuleDestroy/1.

empty(location)

See Beaver.MLIR.CAPI.mlirModuleCreateEmpty/1.

from_operation(op)

See Beaver.MLIR.CAPI.mlirModuleFromOperation/1.

make(value)

verify!(module)