2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
pub const Code = enum(u5) {
/// NUMENTRY: [numentries]
NUMENTRY = 1,
// Type Codes
/// VOID
VOID = 2,
/// FLOAT
FLOAT = 3,
/// DOUBLE
DOUBLE = 4,
/// LABEL
LABEL = 5,
/// OPAQUE
OPAQUE = 6,
/// INTEGER: [width]
INTEGER = 7,
/// POINTER: [pointee type]
POINTER = 8,
/// FUNCTION: [vararg, attrid, retty, paramty x N]
FUNCTION_OLD = 9,
/// HALF
HALF = 10,
/// ARRAY: [numelts, eltty]
ARRAY = 11,
/// VECTOR: [numelts, eltty]
VECTOR = 12,
// These are not with the other floating point types because they're
// a late addition, and putting them in the right place breaks
// binary compatibility.
/// X86 LONG DOUBLE
X86_FP80 = 13,
/// LONG DOUBLE (112 bit mantissa)
FP128 = 14,
/// PPC LONG DOUBLE (2 doubles)
PPC_FP128 = 15,
/// METADATA
METADATA = 16,
/// X86 MMX
X86_MMX = 17,
/// STRUCT_ANON: [ispacked, eltty x N]
STRUCT_ANON = 18,
/// STRUCT_NAME: [strchr x N]
STRUCT_NAME = 19,
/// STRUCT_NAMED: [ispacked, eltty x N]
STRUCT_NAMED = 20,
/// FUNCTION: [vararg, retty, paramty x N]
FUNCTION = 21,
/// TOKEN
TOKEN = 22,
/// BRAIN FLOATING POINT
BFLOAT = 23,
/// X86 AMX
X86_AMX = 24,
/// OPAQUE_POINTER: [addrspace]
OPAQUE_POINTER = 25,
/// TARGET_TYPE
TARGET_TYPE = 26,
}