enumstd.zig.llvm.Builder.Function.Instruction.BrCond.Weights[src]

Fields

none = 0
unpredictable = 1
_

These values should be converted to Metadata to be used in a prof annotation providing branch weights.

Source Code

Source code
pub const Weights = enum(u32) {
    // We can do this as metadata indices 0 and 1 are reserved.
    none = 0,
    unpredictable = 1,
    /// These values should be converted to `Metadata` to be used
    /// in a `prof` annotation providing branch weights.
    _,
}