diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-06-16 18:50:49 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-06-16 18:50:49 +0000 |
commit | 385f5a99ecc7fee48a7539bc63d3e1d3b5089c0d (patch) | |
tree | 65b86d2fd305c5556f20201a37308a259308ea72 /include/llvm/CallingConv.h | |
parent | 29327953097693a0376eaca021046d99c01f9f89 (diff) | |
download | external_llvm-385f5a99ecc7fee48a7539bc63d3e1d3b5089c0d.zip external_llvm-385f5a99ecc7fee48a7539bc63d3e1d3b5089c0d.tar.gz external_llvm-385f5a99ecc7fee48a7539bc63d3e1d3b5089c0d.tar.bz2 |
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.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/include/llvm/CallingConv.h b/include/llvm/CallingConv.h index 072f7c3..318ea28 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 |