structstd.zig.llvm.Builder.Constant.GetElementPtr[src]

Fields

type: Type
base: Constant
info: Info

Source Code

Source code
pub const GetElementPtr = struct {
    type: Type,
    base: Constant,
    info: Info,
    //indices: [info.indices_len]Constant,

    pub const Kind = enum { normal, inbounds };
    pub const InRangeIndex = enum(u16) { none = std.math.maxInt(u16), _ };
    pub const Info = packed struct(u32) { indices_len: u16, inrange: InRangeIndex };
}