]> granicus.if.org Git - llvm/commitdiff
Initial checkin for LLVM intrinsic functions
authorChris Lattner <sabre@nondot.org>
Thu, 8 May 2003 03:33:54 +0000 (03:33 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 8 May 2003 03:33:54 +0000 (03:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6032 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Intrinsics.h [new file with mode: 0644]

diff --git a/include/llvm/Intrinsics.h b/include/llvm/Intrinsics.h
new file mode 100644 (file)
index 0000000..c07d9c1
--- /dev/null
@@ -0,0 +1,21 @@
+//===-- llvm/Instrinsics.h - LLVM Intrinsic Function Handling ---*- C++ -*-===//
+//
+// This file defines a set of enums which allow processing of intrinsic
+// functions.  Values of these enum types are returned by
+// Function::getIntrinsicID.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_INTRINSICS_H
+#define LLVM_INTRINSICS_H
+
+namespace LLVMIntrinsic {
+  enum ID {
+    not_intrinsic = 0,   // Must be zero
+    va_start,            // Used to represent a va_start call in C
+    va_end,              // Used to represent a va_end call in C
+    va_copy,             // Used to represent a va_copy call in C
+  };
+}
+
+#endif