Skip to documentation
SLOP

tiny.choir.ir.interfaces.FunctionOpInterface

Reference tiny.choir ir interfaces FunctionOpInterface

Defined in ir.interfaces.

API (4)

Actions

Public operations.

Types and contracts

Public types and contracts.

Values and defaults

Public values and defaults.

No direct callersNo direct callsir.interfacesFunctionOpInterface
Static calls · unresolved targets: unknown · external targets: unknown.

Source

Source: lib/choir/src/core/interfaces/ops.zig:1099

zig
pub const FunctionOpInterface = struct {    pub const interface_name = "ir.interface.function_op";    pub const id: InterfaceId = base.interfaceId(interface_name);    pub const VTable = struct {        hasBody: *const fn (op: *const anyopaque) bool,        getEntryBlock: *const fn (op: *const anyopaque) ?*IrBlock,        getArgumentCount: *const fn (op: *const anyopaque) usize,        getResultCount: *const fn (op: *const anyopaque) usize,    };    pub fn entry(vtable: *const VTable) InterfaceEntry {        return .{ .id = id, .vtable = vtable };    }};

Source: lib/choir/src/core/interfaces/root.zig:45

zig
pub const FunctionOpInterface = ops.FunctionOpInterface;

Also reachable as

backends.wasm.emission.module_encoding.common.ir.interfaces.FunctionOpInterface.

Audit

Definitions5
Public names10
Members4
Version26.7.0
Revisiondaab053ee433