diff options
author | Chris Lattner <sabre@nondot.org> | 2008-01-11 06:20:47 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-01-11 06:20:47 +0000 |
commit | 47507ded8c324a4426f5a872be807f068184f4c8 (patch) | |
tree | 214fb7490436e0fd3f28d545231a22d37d9ff456 | |
parent | 497b7e97c05df6c7a1b8ddae8048ab8c9367038d (diff) |
document the byval parameter attribute.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45855 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | docs/LangRef.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html index 4491afb834..fa5019370a 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -799,27 +799,41 @@ declare i32 @atoi(i8*) nounwind readonly <dt><tt>zeroext</tt></dt> <dd>This indicates that the parameter should be zero extended just before a call to this function.</dd> + <dt><tt>signext</tt></dt> <dd>This indicates that the parameter should be sign extended just before a call to this function.</dd> + <dt><tt>inreg</tt></dt> <dd>This indicates that the parameter should be placed in register (if possible) during assembling function call. Support for this attribute is target-specific</dd> + + <dt><tt>byval</tt></dt> + <dd>This indicates that the pointer parameter is really an aggregate that + was passed by value to the function. The attribute implies that a hidden + copy of the struct is made between the caller and the callee, so the + callee is unable to modify the struct in the callee. This attribute is only + valid on llvm pointer arguments.</dd> + <dt><tt>sret</tt></dt> <dd>This indicates that the parameter specifies the address of a structure that is the return value of the function in the source program.</dd> + <dt><tt>noalias</tt></dt> <dd>This indicates that the parameter not alias any other object or any other "noalias" objects during the function call. + <dt><tt>noreturn</tt></dt> <dd>This function attribute indicates that the function never returns. This indicates to LLVM that every call to this function should be treated as if an <tt>unreachable</tt> instruction immediately followed the call.</dd> + <dt><tt>nounwind</tt></dt> <dd>This function attribute indicates that the function type does not use the unwind instruction and does not allow stack unwinding to propagate through it.</dd> + <dt><tt>nest</tt></dt> <dd>This indicates that the parameter can be excised using the <a href="#int_trampoline">trampoline intrinsics</a>.</dd> |