summaryrefslogtreecommitdiffstats
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
commit573f64ecb5c15d1be7ad8a5abc00eca6d2d45db4 (patch)
tree3e1bb692c6825f48c0b791753d0d57035490f923
parentc792eb342ca1f1c89d508da9eb2ecc903bab1224 (diff)
downloadbcm5719-llvm-573f64ecb5c15d1be7ad8a5abc00eca6d2d45db4.tar.gz
bcm5719-llvm-573f64ecb5c15d1be7ad8a5abc00eca6d2d45db4.zip
fix bugs in my previous commit clarify the return type of the bit ops
llvm-svn: 21755
-rw-r--r--llvm/docs/LangRef.html23
1 files changed, 14 insertions, 9 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html
index c0ba49ba28b..bf7a45d6c4c 100644
--- a/llvm/docs/LangRef.html
+++ b/llvm/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>
OpenPOWER on IntegriCloud