aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/ValueTypes.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-27 22:48:00 +0000
committerChris Lattner <sabre@nondot.org>2006-03-27 22:48:00 +0000
commite1562c82ca9a3be3582d4c80ac6fa298e8137990 (patch)
tree003b1cb7925db790dd86a8403aeba0ec8e272ea5 /include/llvm/CodeGen/ValueTypes.h
parentc4c9506837c412e379d02e4a4b5a4f5523d4dbff (diff)
add a new iPTR ValueType for tblgen use
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27187 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/ValueTypes.h')
-rw-r--r--include/llvm/CodeGen/ValueTypes.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/ValueTypes.h b/include/llvm/CodeGen/ValueTypes.h
index ff1bfc26d2..d22fc52b6a 100644
--- a/include/llvm/CodeGen/ValueTypes.h
+++ b/include/llvm/CodeGen/ValueTypes.h
@@ -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