summaryrefslogtreecommitdiff
path: root/include/llvm/CallingConv.h
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-06-16 18:50:49 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-06-16 18:50:49 +0000
commit385f5a99ecc7fee48a7539bc63d3e1d3b5089c0d (patch)
tree65b86d2fd305c5556f20201a37308a259308ea72 /include/llvm/CallingConv.h
parent29327953097693a0376eaca021046d99c01f9f89 (diff)
downloadllvm-385f5a99ecc7fee48a7539bc63d3e1d3b5089c0d.tar.gz
llvm-385f5a99ecc7fee48a7539bc63d3e1d3b5089c0d.tar.bz2
llvm-385f5a99ecc7fee48a7539bc63d3e1d3b5089c0d.tar.xz
Address review comments: add 3 ARM calling conventions.
Dispatch C calling conv. to one of these conventions based on target triple and subtarget features. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73530 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CallingConv.h')
-rw-r--r--include/llvm/CallingConv.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/include/llvm/CallingConv.h b/include/llvm/CallingConv.h
index 072f7c3863..318ea28751 100644
--- a/include/llvm/CallingConv.h
+++ b/include/llvm/CallingConv.h
@@ -57,7 +57,18 @@ namespace CallingConv {
/// X86_FastCall - 'fast' analog of X86_StdCall. Passes first two arguments
/// in ECX:EDX registers, others - via stack. Callee is responsible for
/// stack cleaning.
- X86_FastCall = 65
+ X86_FastCall = 65,
+
+ /// ARM_APCS - ARM Procedure Calling Standard calling convention (obsolete,
+ /// but still used on some targets).
+ ARM_APCS = 66,
+
+ /// ARM_AAPCS - ARM Architecture Procedure Calling Standard calling
+ /// convention (aka EABI). Soft float variant.
+ ARM_AAPCS = 67,
+
+ /// ARM_AAPCS_VFP - Same as ARM_AAPCS, but uses hard floating point ABI.
+ ARM_AAPCS_VFP = 68
};
} // End CallingConv namespace