Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Namespace

MetadataAttachmentBlock

Public Namespace
std.zig.llvm.ir.ModuleBlock.FunctionBlock.MetadataAttachmentBlock
pub const MetadataAttachmentBlock = struct

Structs

Values

File

zig/llvm/ir.zig:1465
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
        pub const MetadataAttachmentBlock = struct {
            pub const id: BlockId = .METADATA_ATTACHMENT;

            pub const abbrevs = [_]type{
                ModuleBlock.FunctionBlock.MetadataAttachmentBlock.AttachmentGlobalSingle,
                ModuleBlock.FunctionBlock.MetadataAttachmentBlock.AttachmentInstructionSingle,
            };

            pub const AttachmentGlobalSingle = struct {
                pub const ops = [_]AbbrevOp{
                    .{ .literal = @backingInt(ModuleBlock.MetadataBlock.Code.ATTACHMENT) },
                    .{ .fixed = 1 },
                    MetadataAbbrev,
                };
                kind: FixedMetadataKind,
                metadata: Builder.Metadata,
            };

            pub const AttachmentInstructionSingle = struct {
                pub const ops = [_]AbbrevOp{
                    .{ .literal = @backingInt(ModuleBlock.MetadataBlock.Code.ATTACHMENT) },
                    ValueAbbrev,
                    .{ .fixed = 5 },
                    MetadataAbbrev,
                };
                inst: u32,
                kind: FixedMetadataKind,
                metadata: Builder.Metadata,
            };
        }