From 573f64ecb5c15d1be7ad8a5abc00eca6d2d45db4 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 7 May 2005 01:46:40 +0000 Subject: [PATCH] fix bugs in my previous commit clarify the return type of the bit ops llvm-svn: 21755 --- llvm/docs/LangRef.html | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html index c0ba49ba28bd..bf7a45d6c4c1 100644 --- a/llvm/docs/LangRef.html +++ b/llvm/docs/LangRef.html @@ -471,12 +471,13 @@ the future:

prototype of the function definition. -
"cc <n>" - Numbered convention:
+
"cc <n>" - Numbered convention:
Any calling convention may be specified by number, allowing target-specific calling conventions to be used. Target specific calling conventions start at 64.
+

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 'llvm.ctpop' intrinsic counts the number of ones in a variable.

Arguments:

-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.

Semantics:
@@ -3227,14 +3229,15 @@ The 'llvm.cttz' intrinsic counts the number of trailing zeros.
Arguments:

-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.

Semantics:

-The 'llvm.cttz' 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 'llvm.cttz' 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.

@@ -3254,20 +3257,22 @@ then the result is the size in bits of the type of src.
Overview:

-The 'llvm.ctlz' intrinsic counts the number of leading zeros in a variable. +The 'llvm.ctlz' intrinsic counts the number of leading zeros in a +variable.

Arguments:

-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.

Semantics:

-The 'llvm.ctlz' 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 'llvm.ctlz' 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.