tiny.choir.OperationPropertiesModel
Defined in tiny.choir.
API (12)
Fields and members
Public fields and members.
alignmentcopyPropertiesdeinitgetInherentAttrgetPropertiesAsAttrinitnameremoveInherentAttrserializationsetInherentAttrsetPropertiesFromAttrsize
Source
Source: lib/choir/src/core/interfaces/ops.zig:136
zig
pub const OperationPropertiesModel = struct { name: []const u8, size: usize, alignment: std.mem.Alignment, /// Only owner-defined complete representations qualify immutable capture. serialization: enum { unsupported, single_attribute } = .unsupported, init: *const fn (storage: *anyopaque, allocator: std.mem.Allocator) anyerror!void, deinit: *const fn (storage: *anyopaque, allocator: std.mem.Allocator) void, getInherentAttr: ?*const fn ( op: *const IrOperation, storage: *const anyopaque, name: []const u8, ) ?IrAttribute = null, setInherentAttr: ?*const fn ( op: *IrOperation, storage: *anyopaque, name: []const u8, value: IrAttribute, ) anyerror!bool = null, removeInherentAttr: ?*const fn ( op: *IrOperation, storage: *anyopaque, name: []const u8, ) bool = null, getPropertiesAsAttr: ?*const fn ( op: *const IrOperation, storage: *const anyopaque, ) ?IrAttribute = null, setPropertiesFromAttr: ?*const fn ( op: *IrOperation, storage: *anyopaque, attr: IrAttribute, ) anyerror!void = null, copyProperties: *const fn ( dest: *anyopaque, source: *const anyopaque, ) anyerror!void,};Source: lib/choir/src/root.zig:39
zig
pub const OperationPropertiesModel = ir.OperationPropertiesModel;Also reachable as
backends.wasm.emission.module_encoding.common.ir.OperationPropertiesModel, backends.wasm.emission.module_encoding.common.ir.interfaces.OperationPropertiesModel, ir.OperationPropertiesModel, ir.interfaces.OperationPropertiesModel.
Audit
| Definitions | 1 |
|---|---|
| Public names | 5 |
| Members | 12 |
| Version | 26.7.0 |
| Revision | daab053ee433 |