aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-05-07 01:46:40 +0000
committerChris Lattner <sabre@nondot.org>2005-05-07 01:46:40 +0000
commitcfe6b37b0788f7aa7b2e3880e24a01ebb4f9943a (patch)
treead089c8bbcdc66743abdff96ee2789c252ae59eb /docs
parent8cdc5bccc899c0a38b4dd332a1fb1e1012900deb (diff)
downloadexternal_llvm-cfe6b37b0788f7aa7b2e3880e24a01ebb4f9943a.zip
external_llvm-cfe6b37b0788f7aa7b2e3880e24a01ebb4f9943a.tar.gz
external_llvm-cfe6b37b0788f7aa7b2e3880e24a01ebb4f9943a.tar.bz2
fix bugs in my previous commit clarify the return type of the bit ops
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21755 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LangRef.html23
1 files changed, 14 insertions, 9 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index c0ba49b..bf7a45d 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -471,12 +471,13 @@ the future:</p>
prototype of the function definition.
</dd>
- <dt><b>"<tt>cc &lt;<it>n</it>&gt;</tt>" - Numbered convention</b>:</dt>
+ <dt><b>"<tt>cc &lt;<em>n</em>&gt;</tt>" - Numbered convention</b>:</dt>
<dd>Any calling convention may be specified by number, allowing
target-specific calling conventions to be used. Target specific calling
conventions start at 64.
</dd>
+</dl>
<p>More calling conventions can be added/defined on an as-needed basis, to
support pascal conventions or any other well-known target-independent
@@ -3195,7 +3196,8 @@ The '<tt>llvm.ctpop</tt>' intrinsic counts the number of ones in a variable.
<h5>Arguments:</h5>
<p>
-The only argument is the value to be counted. The argument may be of any integer type.
+The only argument is the value to be counted. The argument may be of any
+integer type. The return type must match the argument type.
</p>
<h5>Semantics:</h5>
@@ -3227,14 +3229,15 @@ The '<tt>llvm.cttz</tt>' intrinsic counts the number of trailing zeros.
<h5>Arguments:</h5>
<p>
-The only argument is the value to be counted. The argument may be of any integer type.
+The only argument is the value to be counted. The argument may be of any
+integer type. The return type must match the argument type.
</p>
<h5>Semantics:</h5>
<p>
-The '<tt>llvm.cttz</tt>' intrinsic counts the trailing zeros in a variable. If the src == 0
-then the result is the size in bits of the type of src.
+The '<tt>llvm.cttz</tt>' intrinsic counts the trailing zeros in a variable. If
+the src == 0 then the result is the size in bits of the type of src.
</p>
</div>
@@ -3254,20 +3257,22 @@ then the result is the size in bits of the type of src.
<h5>Overview:</h5>
<p>
-The '<tt>llvm.ctlz</tt>' intrinsic counts the number of leading zeros in a variable.
+The '<tt>llvm.ctlz</tt>' intrinsic counts the number of leading zeros in a
+variable.
</p>
<h5>Arguments:</h5>
<p>
-The only argument is the value to be counted. The argument may be of any integer type.
+The only argument is the value to be counted. The argument may be of any
+integer type. The return type must match the argument type.
</p>
<h5>Semantics:</h5>
<p>
-The '<tt>llvm.ctlz</tt>' intrinsic counts the leading zeros in a variable. If the src == 0
-then the result is the size in bits of the type of src.
+The '<tt>llvm.ctlz</tt>' intrinsic counts the leading zeros in a variable. If
+the src == 0 then the result is the size in bits of the type of src.
</p>
</div>