diff options
author | Chris Lattner <sabre@nondot.org> | 2006-05-19 21:15:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-05-19 21:15:36 +0000 |
commit | 5710ce915e9fe6a379d402b521e97f7b7091150a (patch) | |
tree | 00c7680045895e426577dda1cdd7defe924f6698 /docs/LangRef.html | |
parent | f00f68ad0dc24206ef176b71465c4f30c44708a4 (diff) | |
download | external_llvm-5710ce915e9fe6a379d402b521e97f7b7091150a.zip external_llvm-5710ce915e9fe6a379d402b521e97f7b7091150a.tar.gz external_llvm-5710ce915e9fe6a379d402b521e97f7b7091150a.tar.bz2 |
New calling convention I will be adding shortly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28403 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/LangRef.html')
-rw-r--r-- | docs/LangRef.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html index a5a490e..0d19f0a 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -464,6 +464,19 @@ the future:</p> prototype and implemented declaration of the function (as does normal C). </dd> + <dt><b>"<tt>csretcc</tt>" - The C struct return calling convention</b>:</dt> + + <dd>This calling convention matches the target C calling conventions, except + that functions with this convention are required to take a pointer as their + first argument, and the return type of the function must be void. This is + used for C functions that return aggregates by-value. In this case, the + function has been transformed to take a pointer to the struct as the first + argument to the function. For targets where the ABI specifies specific + behavior for structure-return calls, the calling convention can be used to + distinguish between struct return functions and other functions that take a + pointer to a struct as the first argument. + </dd> + <dt><b>"<tt>fastcc</tt>" - The fast calling convention</b>:</dt> <dd>This calling convention attempts to make calls as fast as possible |