mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-09 20:54:10 +00:00
Renumber the SimpleValueType values to fill in the hole left by
removing MVT::Vector. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37730 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d45eddd214
commit
798cb2ab82
@ -46,22 +46,22 @@ namespace MVT { // MVT = Machine Value Types
|
||||
|
||||
isVoid = 12, // This has no value
|
||||
|
||||
v8i8 = 14, // 8 x i8
|
||||
v4i16 = 15, // 4 x i16
|
||||
v2i32 = 16, // 2 x i32
|
||||
v1i64 = 17, // 1 x i64
|
||||
v16i8 = 18, // 16 x i8
|
||||
v8i16 = 19, // 8 x i16
|
||||
v4i32 = 20, // 4 x i32
|
||||
v2i64 = 21, // 2 x i64
|
||||
v8i8 = 13, // 8 x i8
|
||||
v4i16 = 14, // 4 x i16
|
||||
v2i32 = 15, // 2 x i32
|
||||
v1i64 = 16, // 1 x i64
|
||||
v16i8 = 17, // 16 x i8
|
||||
v8i16 = 18, // 8 x i16
|
||||
v4i32 = 19, // 4 x i32
|
||||
v2i64 = 20, // 2 x i64
|
||||
|
||||
v2f32 = 22, // 2 x f32
|
||||
v4f32 = 23, // 4 x f32
|
||||
v2f64 = 24, // 2 x f64
|
||||
v2f32 = 21, // 2 x f32
|
||||
v4f32 = 22, // 4 x f32
|
||||
v2f64 = 23, // 2 x f64
|
||||
FIRST_VECTOR_VALUETYPE = v8i8,
|
||||
LAST_VECTOR_VALUETYPE = v2f64,
|
||||
|
||||
LAST_VALUETYPE = 25, // This always remains at the end of the list.
|
||||
LAST_VALUETYPE = 24, // This always remains at the end of the list.
|
||||
|
||||
// iAny - An integer value of any bit width. This is used for intrinsics
|
||||
// that have overloadings based on integer bit widths. This is only for
|
||||
|
@ -32,19 +32,18 @@ def f80 : ValueType<80 , 9>; // 80-bit floating point value
|
||||
def f128 : ValueType<128, 10>; // 128-bit floating point value
|
||||
def FlagVT : ValueType<0 , 11>; // Condition code or machine flag
|
||||
def isVoid : ValueType<0 , 12>; // Produces no value
|
||||
def Vector : ValueType<0 , 13>; // Abstract vector value
|
||||
def v8i8 : ValueType<64 , 14>; // 8 x i8 vector value
|
||||
def v4i16 : ValueType<64 , 15>; // 4 x i16 vector value
|
||||
def v2i32 : ValueType<64 , 16>; // 2 x i32 vector value
|
||||
def v1i64 : ValueType<64 , 17>; // 1 x i64 vector value
|
||||
def v8i8 : ValueType<64 , 13>; // 8 x i8 vector value
|
||||
def v4i16 : ValueType<64 , 14>; // 4 x i16 vector value
|
||||
def v2i32 : ValueType<64 , 15>; // 2 x i32 vector value
|
||||
def v1i64 : ValueType<64 , 16>; // 1 x i64 vector value
|
||||
|
||||
def v16i8 : ValueType<128, 18>; // 16 x i8 vector value
|
||||
def v8i16 : ValueType<128, 19>; // 8 x i16 vector value
|
||||
def v4i32 : ValueType<128, 20>; // 4 x i32 vector value
|
||||
def v2i64 : ValueType<128, 21>; // 2 x i64 vector value
|
||||
def v2f32 : ValueType<64, 22>; // 2 x f32 vector value
|
||||
def v4f32 : ValueType<128, 23>; // 4 x f32 vector value
|
||||
def v2f64 : ValueType<128, 24>; // 2 x f64 vector value
|
||||
def v16i8 : ValueType<128, 17>; // 16 x i8 vector value
|
||||
def v8i16 : ValueType<128, 18>; // 8 x i16 vector value
|
||||
def v4i32 : ValueType<128, 19>; // 4 x i32 vector value
|
||||
def v2i64 : ValueType<128, 20>; // 2 x i64 vector value
|
||||
def v2f32 : ValueType<64, 21>; // 2 x f32 vector value
|
||||
def v4f32 : ValueType<128, 22>; // 4 x f32 vector value
|
||||
def v2f64 : ValueType<128, 23>; // 2 x f64 vector value
|
||||
|
||||
// Pseudo valuetype to represent "integer of any bit width"
|
||||
def iAny : ValueType<0 , 254>; // integer value of any bit width
|
||||
|
Loading…
Reference in New Issue
Block a user