From eea35433d28e40956b67e5717e7058c30d1cf375 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 8 May 2003 03:33:54 +0000 Subject: [PATCH] Initial checkin for LLVM intrinsic functions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6032 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Intrinsics.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 include/llvm/Intrinsics.h diff --git a/include/llvm/Intrinsics.h b/include/llvm/Intrinsics.h new file mode 100644 index 00000000000..c07d9c1a826 --- /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