summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/CodeGenIntrinsics.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-09 22:05:04 +0000
committerChris Lattner <sabre@nondot.org>2006-03-09 22:05:04 +0000
commit6efe863a70479e8c38bdb24813e5a7ec0d7bed17 (patch)
tree317e7d285dbeca03945c4b94b0028da40c8972b9 /llvm/utils/TableGen/CodeGenIntrinsics.h
parent306c13a8fba4f8e37c1951a9c756ffca10fb8ae5 (diff)
downloadbcm5719-llvm-6efe863a70479e8c38bdb24813e5a7ec0d7bed17.tar.gz
bcm5719-llvm-6efe863a70479e8c38bdb24813e5a7ec0d7bed17.zip
parse intrinsic types
autogenerate an intrinsic verifier llvm-svn: 26666
Diffstat (limited to 'llvm/utils/TableGen/CodeGenIntrinsics.h')
-rw-r--r--llvm/utils/TableGen/CodeGenIntrinsics.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/CodeGenIntrinsics.h b/llvm/utils/TableGen/CodeGenIntrinsics.h
index 5315856a9e0..7404c70e22a 100644
--- a/llvm/utils/TableGen/CodeGenIntrinsics.h
+++ b/llvm/utils/TableGen/CodeGenIntrinsics.h
@@ -26,6 +26,10 @@ namespace llvm {
std::string Name; // The name of the LLVM function "llvm.bswap.i32"
std::string EnumName; // The name of the enum "bswap_i32"
+ /// ArgTypes - The type primitive enum value for the return value and all
+ /// of the arguments. These are things like Type::UIntTyID.
+ std::vector<std::string> ArgTypes;
+
// Memory mod/ref behavior of this intrinsic.
enum {
NoMem, ReadArgMem, ReadMem, WriteArgMem, WriteMem
OpenPOWER on IntegriCloud