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

ValueSymtabBlock

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

Structs

Types

Values

File

zig/llvm/ir.zig:1416
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
        pub const ValueSymtabBlock = struct {
            pub const id: BlockId = .VALUE_SYMTAB;

            pub const abbrevs = [_]type{
                ModuleBlock.FunctionBlock.ValueSymtabBlock.BlockEntry,
            };

            /// Value symbol table codes.
            pub const Code = enum(u3) {
                /// VST_ENTRY: [valueid, namechar x N]
                ENTRY = 1,
                /// VST_BBENTRY: [bbid, namechar x N]
                BBENTRY = 2,
                /// VST_FNENTRY: [valueid, offset, namechar x N]
                FNENTRY = 3,
                /// VST_COMBINED_ENTRY: [valueid, refguid]
                COMBINED_ENTRY = 5,
            };

            pub const BlockEntry = struct {
                pub const ops = [_]AbbrevOp{
                    .{ .literal = @backingInt(ModuleBlock.FunctionBlock.ValueSymtabBlock.Code.BBENTRY) },
                    ValueAbbrev,
                    .{ .array_fixed = 8 },
                };
                value_id: u32,
                string: []const u8,
            };
        }