diff options
author | Chris Lattner <sabre@nondot.org> | 2003-05-08 03:33:54 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-05-08 03:33:54 +0000 |
commit | eea35433d28e40956b67e5717e7058c30d1cf375 (patch) | |
tree | 5f97cc25775ef6a5cf5ebdfbcda5745e642faec7 /include | |
parent | 1d16ec7381232dffddf2b0d52a823efc0047a3ca (diff) | |
download | external_llvm-eea35433d28e40956b67e5717e7058c30d1cf375.zip external_llvm-eea35433d28e40956b67e5717e7058c30d1cf375.tar.gz external_llvm-eea35433d28e40956b67e5717e7058c30d1cf375.tar.bz2 |
Initial checkin for LLVM intrinsic functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6032 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Intrinsics.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/llvm/Intrinsics.h b/include/llvm/Intrinsics.h new file mode 100644 index 0000000..c07d9c1 --- /dev/null +++ b/include/llvm/Intrinsics.h @@ -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 |