Zig 0.17.0-dev (Split by item) 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.
std › zig › llvm › ir › ModuleBlock › FunctionBlock › LoadAtomic Public Struct LoadAtomic Doc Source Public Struct std.zig.llvm.ir.ModuleBlock.FunctionBlock.LoadAtomic
pub const LoadAtomic = struct Fields Values File zig/llvm/ir.zig: 1240
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256 pub const LoadAtomic = struct {
pub const ops = [_ ]AbbrevOp {
.{ .literal = @backingInt (ModuleBlock .FunctionBlock .Code .INST_LOADATOMIC ) },
ValueAbbrev ,
.{ .fixed_runtime = Builder .Type },
.{ .fixed = @bitSizeOf (Builder .Alignment ) },
.{ .fixed = 1 },
.{ .fixed = @bitSizeOf (Builder .AtomicOrdering ) },
.{ .fixed = @bitSizeOf (Builder .SyncScope ) },
};
ptr : u32 ,
ty : Builder .Type ,
alignment : @Int (.unsigned , @bitSizeOf (Builder .Alignment )),
is_volatile : bool ,
success_ordering : Builder .AtomicOrdering ,
sync_scope : Builder .SyncScope ,
}