tiny.choir.ir.interfaces.InferTypeOpInterface
Defined in ir.interfaces.
API (6)
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:1194
zig
pub const InferTypeOpInterface = struct { pub const interface_name = "ir.interface.infer_type"; pub const id: InterfaceId = base.interfaceId(interface_name); pub const VTable = struct { inferResultTypes: *const fn ( op: *const anyopaque, allocator: std.mem.Allocator, out_types: *std.ArrayListUnmanaged(IrType), ) anyerror!void, }; pub fn entry(vtable: *const VTable) InterfaceEntry { return .{ .id = id, .vtable = vtable }; } pub fn vtableFor( comptime inferResultTypes: *const fn ( op: *const anyopaque, allocator: std.mem.Allocator, out_types: *std.ArrayListUnmanaged(IrType), ) anyerror!void, ) *const VTable { return &.{ .inferResultTypes = inferResultTypes }; } pub fn entryFor( comptime inferResultTypes: *const fn ( op: *const anyopaque, allocator: std.mem.Allocator, out_types: *std.ArrayListUnmanaged(IrType), ) anyerror!void, ) InterfaceEntry { return entry(vtableFor(inferResultTypes)); }};Source: lib/choir/src/core/interfaces/root.zig:49
zig
pub const InferTypeOpInterface = ops.InferTypeOpInterface;Also reachable as
backends.wasm.emission.module_encoding.common.ir.interfaces.InferTypeOpInterface.
Audit
| Definitions | 7 |
|---|---|
| Public names | 14 |
| Members | 1 |
| Version | 26.7.0 |
| Revision | daab053ee433 |