diff options
author | Juergen Ributzka <juergen@apple.com> | 2014-01-17 19:47:03 +0000 |
---|---|---|
committer | Juergen Ributzka <juergen@apple.com> | 2014-01-17 19:47:03 +0000 |
commit | e625013071ee4a1317cbf0b8cd6f763fbf7abc7b (patch) | |
tree | 8c45fa8e168e670b9356fc08b744cfaa1305f5d7 /llvm/docs/BitCodeFormat.rst | |
parent | 7489cc98f7bf461cf11cd270d0d07fca49c87bae (diff) | |
download | bcm5719-llvm-e625013071ee4a1317cbf0b8cd6f763fbf7abc7b.tar.gz bcm5719-llvm-e625013071ee4a1317cbf0b8cd6f763fbf7abc7b.zip |
Add two new calling conventions for runtime calls
This patch adds two new target-independent calling conventions for runtime
calls - PreserveMost and PreserveAll.
The target-specific implementation for X86-64 is defined as following:
- Arguments are passed as for the default C calling convention
- The same applies for the return value(s)
- PreserveMost preserves all GPRs - except R11
- PreserveAll preserves all GPRs and all XMMs/YMMs - except R11
Reviewed by Lang and Philip
llvm-svn: 199508
Diffstat (limited to 'llvm/docs/BitCodeFormat.rst')
-rw-r--r-- | llvm/docs/BitCodeFormat.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/docs/BitCodeFormat.rst b/llvm/docs/BitCodeFormat.rst index 9363a62d080..38b4010483a 100644 --- a/llvm/docs/BitCodeFormat.rst +++ b/llvm/docs/BitCodeFormat.rst @@ -739,6 +739,8 @@ function. The operand fields are: * ``coldcc``: code 9 * ``webkit_jscc``: code 12 * ``anyregcc``: code 13 + * ``preserve_mostcc``: code 14 + * ``preserve_allcc``: code 15 * ``x86_stdcallcc``: code 64 * ``x86_fastcallcc``: code 65 * ``arm_apcscc``: code 66 |