add support, testcases, and dox for the new GHC calling
[oota-llvm.git] / include / llvm / CallingConv.h
index c54527c21877e57bb139ca83e71536fe1b451a81..624390d1cd8469df12e30d07073bd93e2eb950ef 100644 (file)
@@ -44,6 +44,9 @@ namespace CallingConv {
     // call does not break any live ranges in the caller side.
     Cold = 9,
 
+    // GHC - Calling convention used by the Glasgow Haskell Compiler (GHC).
+    GHC = 10,
+
     // Target - This is the start of the target-specific calling conventions,
     // e.g. fastcall and thiscall on X86.
     FirstTargetCC = 64,