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 › AtomicRmw Public Struct AtomicRmw Doc Source Public Struct std.zig.llvm.ir.ModuleBlock.FunctionBlock.AtomicRmw
pub const AtomicRmw = struct Fields Values File zig/llvm/ir.zig: 1322
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340 pub const AtomicRmw = struct {
pub const ops = [_ ]AbbrevOp {
.{ .literal = @backingInt (ModuleBlock .FunctionBlock .Code .INST_ATOMICRMW ) },
ValueAbbrev ,
ValueAbbrev ,
.{ .fixed = @bitSizeOf (Builder .Function .Instruction .AtomicRmw .Operation ) },
.{ .fixed = 1 },
.{ .fixed = @bitSizeOf (Builder .AtomicOrdering ) },
.{ .fixed = @bitSizeOf (Builder .SyncScope ) },
.{ .fixed = @bitSizeOf (Builder .Alignment ) },
};
ptr : u32 ,
val : u32 ,
operation : Builder .Function .Instruction .AtomicRmw .Operation ,
is_volatile : bool ,
success_ordering : Builder .AtomicOrdering ,
sync_scope : Builder .SyncScope ,
alignment : @Int (.unsigned , @bitSizeOf (Builder .Alignment )),
}