[llvm-commits] CVS: llvm/docs/LangRef.html
Chris Lattner
lattner at cs.uiuc.edu
Fri May 19 14:15:48 PDT 2006
Changes in directory llvm/docs:
LangRef.html updated: 1.152 -> 1.153
---
Log message:
New calling convention I will be adding shortly.
---
Diffs of the changes: (+14 -1)
LangRef.html | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletion(-)
Index: llvm/docs/LangRef.html
diff -u llvm/docs/LangRef.html:1.152 llvm/docs/LangRef.html:1.153
--- llvm/docs/LangRef.html:1.152 Mon May 15 12:26:46 2006
+++ llvm/docs/LangRef.html Fri May 19 16:15:36 2006
@@ -464,6 +464,19 @@
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
@@ -3817,7 +3830,7 @@
<a href="mailto:sabre at nondot.org">Chris Lattner</a><br>
<a href="http://llvm.org">The LLVM Compiler Infrastructure</a><br>
- Last modified: $Date: 2006/05/15 17:26:46 $
+ Last modified: $Date: 2006/05/19 21:15:36 $
</address>
</body>
</html>
More information about the llvm-commits
mailing list