diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2007-11-14 10:30:13 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2007-11-14 10:30:13 +0000 |
commit | e925df7f0267afd0334adbcfd97531698104aa22 (patch) | |
tree | a5365adbab85733fdfb124fd1e8732c75488d14c /docs/LangRef.html | |
parent | b9b977d41ed1f1cb52eb0d1231e5777e6d74fa45 (diff) | |
download | external_llvm-e925df7f0267afd0334adbcfd97531698104aa22.zip external_llvm-e925df7f0267afd0334adbcfd97531698104aa22.tar.gz external_llvm-e925df7f0267afd0334adbcfd97531698104aa22.tar.bz2 |
Document pure/const parameter attributes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44111 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/LangRef.html')
-rw-r--r-- | docs/LangRef.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html index 46ec87e..f40e8b6 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -813,6 +813,15 @@ a power of 2.</p> <dt><tt>nest</tt></dt> <dd>This indicates that the parameter can be excised using the <a href="#int_trampoline">trampoline intrinsics</a>.</dd> + <dt><tt>pure</tt></dt> + <dd>This function attribute indicates, that the function have no effects + except the return value and its return value depends only on the + arguments and/or global variables.</dd> + <dt><tt>const</tt></dt> + <dd>This function attribute is slightly more stricter version + of <tt>pure</tt> function attribute. <tt>const</tt> functions are not + allowed to read global memory, so such function only examines its arguments + and has no effects except return value.</dd> </dl> </div> |