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.
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
| Definitions | 5 |
|---|---|
| Public names | 10 |
| Members | 4 |
| Version | 26.7.0 |
| Revision | daab053ee433 |