Implemented Support of IA interrupt and exception handlers:
[oota-llvm.git] / include / llvm / IR / CallingConv.h
index 8204d3e2e812421f82ca9220e84e8bf87ce76a96..bc050928266efadaf9e28d121fb1952e33458197 100644 (file)
@@ -161,6 +161,13 @@ namespace CallingConv {
     /// \brief HHVM calling convention for invoking C/C++ helpers.
     HHVM_C = 82,
 
+    /// X86_INTR - x86 hardware interrupt context. Callee may take one or two
+    /// parameters, where the 1st represents a pointer to hardware context frame
+    /// and the 2nd represents hardware error code, the presence of the later
+    /// depends on the interrupt vector taken. Valid for both 32- and 64-bit
+    /// subtargets.
+    X86_INTR = 83,
+
     /// The highest possible calling convention ID. Must be some 2^k - 1.
     MaxID = 1023
   };