Beaver.MLIR.Operation (beaver v0.4.7)

This module defines functions working with MLIR Operation.

Summary

Types

t()

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

Functions

clone(op)

See Beaver.MLIR.CAPI.mlirOperationClone/1.

create(c)

destroy(op)

See Beaver.MLIR.CAPI.mlirOperationDestroy/1.

from_module(module)

implements_interface?(op, interface_id)

infer_shaped?(op)

infer_type?(op)

location(op)

See Beaver.MLIR.CAPI.mlirOperationGetLocation/1.

make(value)

name(operation)

parent(op)

See Beaver.MLIR.CAPI.mlirOperationGetParentOperation/1.

results(op)

terminator?(op)

Check if the operation is a terminator.

with_symbol_table(op, fun)