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 | 5cee13f1dfcee90b0cceb3c1bce38d53d09bc7ce (patch) | |
tree | d2a1d7ba5180ecb1e82336aa96f2f18553e6f1fa /llvm/docs | |
parent | 87b0c1310492af8cf72af8112943cc4a395461a6 (diff) | |
download | bcm5719-llvm-5cee13f1dfcee90b0cceb3c1bce38d53d09bc7ce.tar.gz bcm5719-llvm-5cee13f1dfcee90b0cceb3c1bce38d53d09bc7ce.zip |
document the byval parameter attribute.
llvm-svn: 45855
Diffstat (limited to 'llvm/docs')
-rw-r--r-- | llvm/docs/LangRef.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html index 4491afb834e..fa5019370a4 100644 --- a/llvm/docs/LangRef.html +++ b/llvm/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> |