struct GetElementPtr [src]
Fields
type: Type
base: Constant
info: Info
Members
- Info (struct)
- InRangeIndex (enum)
- Kind (enum)
Source
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 };
}