Beaver.MLIR.NamedAttribute (beaver v0.4.4)

This module defines a wrapper struct of NamedAttribute in MLIR

Summary

Types

t()

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

Functions

attribute(named_attribute)

See Beaver.MLIR.CAPI.beaverNamedAttributeGetAttribute/1.

get(name, attr, opts \\ [])

create named attribute.

will try to use context extracted from name and attr if opts is empty

make(value)

name(named_attribute)

See Beaver.MLIR.CAPI.beaverNamedAttributeGetName/1.