diff options
author | dim <dim@FreeBSD.org> | 2013-10-03 20:38:57 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2013-10-03 20:38:57 +0000 |
commit | aae6234255311ce64facefa4a4d332c68542d3b3 (patch) | |
tree | 2d1dccc02cf12c36278f038437b6db16675cd56e /contrib/llvm/include | |
parent | 5dc4bb5bd3d0e995e13054a94b6d63490561ed9c (diff) | |
download | FreeBSD-src-aae6234255311ce64facefa4a4d332c68542d3b3.zip FreeBSD-src-aae6234255311ce64facefa4a4d332c68542d3b3.tar.gz |
Pull in r189644 from upstream llvm trunk:
Add ms_abi and sysv_abi attribute handling.
Based on a patch by Benno Rice!
This will help to develop EFI support.
Approved by: re (kib)
Verified by: benno
MFC after: 1 week
Diffstat (limited to 'contrib/llvm/include')
-rw-r--r-- | contrib/llvm/include/llvm/IR/CallingConv.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/contrib/llvm/include/llvm/IR/CallingConv.h b/contrib/llvm/include/llvm/IR/CallingConv.h index 6f3ab20..413f93a 100644 --- a/contrib/llvm/include/llvm/IR/CallingConv.h +++ b/contrib/llvm/include/llvm/IR/CallingConv.h @@ -119,8 +119,17 @@ namespace CallingConv { SPIR_KERNEL = 76, /// Intel_OCL_BI - Calling conventions for Intel OpenCL built-ins - Intel_OCL_BI = 77 + Intel_OCL_BI = 77, + /// \brief The C convention as specified in the x86-64 supplement to the + /// System V ABI, used on most non-Windows systems. + X86_64_SysV = 78, + + /// \brief The C convention as implemented on Windows/x86-64. This + /// convention differs from the more common \c X86_64_SysV convention + /// in a number of ways, most notably in that XMM registers used to pass + /// arguments are shadowed by GPRs, and vice versa. + X86_64_Win64 = 79 }; } // End CallingConv namespace |