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

ParamattrBlock

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

PARAMATTR blocks have code for defining a parameter attribute set.

Structs

Types

Values

File

zig/llvm/ir.zig:316
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
    pub const ParamattrBlock = struct {
        pub const id: BlockId = .PARAMATTR;

        pub const abbrevs = [_]type{
            ModuleBlock.ParamattrBlock.Entry,
        };

        pub const Code = enum(u2) {
            /// Deprecated, but still needed to read old bitcode files.
            /// ENTRY: [paramidx0, attr0, paramidx1, attr1...]
            ENTRY_OLD = 1,
            /// ENTRY: [attrgrp0, attrgrp1, ...]
            ENTRY = 2,
        };

        pub const Entry = struct {
            pub const ops = [_]AbbrevOp{
                .{ .literal = @backingInt(ModuleBlock.ParamattrBlock.Code.ENTRY) },
                .{ .array_vbr = 8 },
            };
            group_indices: []const u64,
        };
    }