fix bugs in my previous commit clarify the return type of the bit ops
llvm-svn: 21755
This commit is contained in:
parent
c792eb342c
commit
573f64ecb5
|
@ -471,12 +471,13 @@ the future:</p>
|
||||||
prototype of the function definition.
|
prototype of the function definition.
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
<dt><b>"<tt>cc <<it>n</it>></tt>" - Numbered convention</b>:</dt>
|
<dt><b>"<tt>cc <<em>n</em>></tt>" - Numbered convention</b>:</dt>
|
||||||
|
|
||||||
<dd>Any calling convention may be specified by number, allowing
|
<dd>Any calling convention may be specified by number, allowing
|
||||||
target-specific calling conventions to be used. Target specific calling
|
target-specific calling conventions to be used. Target specific calling
|
||||||
conventions start at 64.
|
conventions start at 64.
|
||||||
</dd>
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
<p>More calling conventions can be added/defined on an as-needed basis, to
|
<p>More calling conventions can be added/defined on an as-needed basis, to
|
||||||
support pascal conventions or any other well-known target-independent
|
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>
|
<h5>Arguments:</h5>
|
||||||
|
|
||||||
<p>
|
<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>
|
</p>
|
||||||
|
|
||||||
<h5>Semantics:</h5>
|
<h5>Semantics:</h5>
|
||||||
|
@ -3227,14 +3229,15 @@ The '<tt>llvm.cttz</tt>' intrinsic counts the number of trailing zeros.
|
||||||
<h5>Arguments:</h5>
|
<h5>Arguments:</h5>
|
||||||
|
|
||||||
<p>
|
<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>
|
</p>
|
||||||
|
|
||||||
<h5>Semantics:</h5>
|
<h5>Semantics:</h5>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The '<tt>llvm.cttz</tt>' intrinsic counts the trailing zeros in a variable. If the src == 0
|
The '<tt>llvm.cttz</tt>' intrinsic counts the trailing zeros in a variable. If
|
||||||
then the result is the size in bits of the type of src.
|
the src == 0 then the result is the size in bits of the type of src.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -3254,20 +3257,22 @@ then the result is the size in bits of the type of src.
|
||||||
<h5>Overview:</h5>
|
<h5>Overview:</h5>
|
||||||
|
|
||||||
<p>
|
<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>
|
</p>
|
||||||
|
|
||||||
<h5>Arguments:</h5>
|
<h5>Arguments:</h5>
|
||||||
|
|
||||||
<p>
|
<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>
|
</p>
|
||||||
|
|
||||||
<h5>Semantics:</h5>
|
<h5>Semantics:</h5>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The '<tt>llvm.ctlz</tt>' intrinsic counts the leading zeros in a variable. If the src == 0
|
The '<tt>llvm.ctlz</tt>' intrinsic counts the leading zeros in a variable. If
|
||||||
then the result is the size in bits of the type of src.
|
the src == 0 then the result is the size in bits of the type of src.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue