summaryrefslogtreecommitdiff
path: root/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
commitf97a00e681c7a526d49759d0d1b9d327cbf6c04a (patch)
tree024d069ec117d65e64fe3351ed7b2f9f8c7903d4 /utils/TableGen/CodeGenIntrinsics.h
parent627fb57e191cb4b5ba85e3e7842c5c4826179fe7 (diff)
downloadllvm-f97a00e681c7a526d49759d0d1b9d327cbf6c04a.tar.gz
llvm-f97a00e681c7a526d49759d0d1b9d327cbf6c04a.tar.bz2
llvm-f97a00e681c7a526d49759d0d1b9d327cbf6c04a.tar.xz
parse intrinsic types
autogenerate an intrinsic verifier git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26666 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenIntrinsics.h')
-rw-r--r--utils/TableGen/CodeGenIntrinsics.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/TableGen/CodeGenIntrinsics.h b/utils/TableGen/CodeGenIntrinsics.h
index 5315856a9e..7404c70e22 100644
--- a/utils/TableGen/CodeGenIntrinsics.h
+++ b/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