[llvm-commits] CVS: llvm/include/llvm/Intrinsics.h

Chris Lattner lattner at cs.uiuc.edu
Wed May 7 22:35:01 PDT 2003


Changes in directory llvm/include/llvm:

Intrinsics.h added (r1.1)

---
Log message:

Initial checkin for LLVM intrinsic functions


---
Diffs of the changes:

Index: llvm/include/llvm/Intrinsics.h
diff -c /dev/null llvm/include/llvm/Intrinsics.h:1.1
*** /dev/null	Wed May  7 22:34:05 2003
--- llvm/include/llvm/Intrinsics.h	Wed May  7 22:33:54 2003
***************
*** 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





More information about the llvm-commits mailing list