From eff29abe2df73f9ffd8c2960a8cb33aa206dba29 Mon Sep 17 00:00:00 2001
From: Chris Lattner
- declare int %llvm.cttz(int <src>) - -- -
-The 'llvm.cttz' intrinsic counts the number of trailing zeros. -
- --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. -
- --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.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 (most significant) zeros +in a variable. If the src == 0 then the result is the size in bits of the type +of src. For example, llvm.cttz(int 2) = 30.
+ declare int %llvm.cttz(int <src>) + ++ +
+The 'llvm.cttz' intrinsic counts the number of trailing zeros. +
+ ++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. +
+ ++The 'llvm.cttz' intrinsic counts the trailing (least significant) zeros +in a variable. If the src == 0 then the result is the size in bits of the type +of src. For example, llvm.cttz(2) = 1. +
+