summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2012-11-16 12:36:39 +0000
committerDuncan Sands <baldrick@free.fr>2012-11-16 12:36:39 +0000
commitdc7f174b5e049172f085ff5957f58998bdc446a4 (patch)
tree1e5d42f7a98159ac67d5222a39a0bbc9892ea3aa /include
parentc5519d3b26463f4d5c38e2b878d320edbab77f57 (diff)
downloadllvm-dc7f174b5e049172f085ff5957f58998bdc446a4.tar.gz
llvm-dc7f174b5e049172f085ff5957f58998bdc446a4.tar.bz2
llvm-dc7f174b5e049172f085ff5957f58998bdc446a4.tar.xz
Add the Erlang/HiPE calling convention, patch by Yiannis Tsiouris.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168166 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CallingConv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/CallingConv.h b/include/llvm/CallingConv.h
index 053f4eb326..699cea331c 100644
--- a/include/llvm/CallingConv.h
+++ b/include/llvm/CallingConv.h
@@ -47,6 +47,10 @@ namespace CallingConv {
// GHC - Calling convention used by the Glasgow Haskell Compiler (GHC).
GHC = 10,
+ // HiPE - Calling convention used by the High-Performance Erlang Compiler
+ // (HiPE).
+ HiPE = 11,
+
// Target - This is the start of the target-specific calling conventions,
// e.g. fastcall and thiscall on X86.
FirstTargetCC = 64,