mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-03 19:02:35 +00:00
add a new iPTR ValueType for tblgen use
llvm-svn: 27187
This commit is contained in:
parent
6917dae72b
commit
fd3aa5f890
@ -63,7 +63,11 @@ namespace MVT { // MVT = Machine Value Types
|
||||
FIRST_VECTOR_VALUETYPE = v8i8,
|
||||
LAST_VECTOR_VALUETYPE = v2f64,
|
||||
|
||||
LAST_VALUETYPE = 24 // This always remains at the end of the list.
|
||||
LAST_VALUETYPE = 24, // This always remains at the end of the list.
|
||||
|
||||
// iPTR - An int value the size of the pointer of the current
|
||||
// target. This should only be used internal to tblgen!
|
||||
iPTR = 255
|
||||
};
|
||||
|
||||
/// MVT::isInteger - Return true if this is a simple integer, or a packed
|
||||
|
@ -43,3 +43,7 @@ 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 mapped to the current pointer size.
|
||||
def iPTR : ValueType<0 , 255>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user