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 Struct

BinaryNoWrap

Public Struct
std.zig.llvm.ir.ModuleBlock.FunctionBlock.BinaryNoWrap
pub const BinaryNoWrap = struct

Fields

lhs: u32
rhs: u32
opcode: BinaryOpcode
flags: packed struct(u2) { no_unsigned_wrap: bool, no_signed_wrap: bool, }

Types

Values

File

zig/llvm/ir.zig:968
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
        pub const BinaryNoWrap = struct {
            const BinaryOpcode = Builder.BinaryOpcode;
            pub const ops = [_]AbbrevOp{
                .{ .literal = @backingInt(ModuleBlock.FunctionBlock.Code.INST_BINOP) },
                ValueAbbrev,
                ValueAbbrev,
                .{ .fixed = @bitSizeOf(BinaryOpcode) },
                .{ .fixed = 2 },
            };

            lhs: u32,
            rhs: u32,
            opcode: BinaryOpcode,
            flags: packed struct(u2) {
                no_unsigned_wrap: bool,
                no_signed_wrap: bool,
            },
        }