Implement count leading zeros (ctlz), count trailing zeros (cttz), and count
[oota-llvm.git] / include / llvm / Intrinsics.h
index 7acd5ca71a33bfd448daa3e42583203f89c21920..bbf2da36ae4c2956628f9d5f5d527d1525a34547 100644 (file)
@@ -63,13 +63,17 @@ namespace Intrinsic {
 
     // libm related functions.
     isunordered,    // Return true if either argument is a NaN
-    sqrt,
+    ctpop, //count population
+    ctlz, //count leading zeros
+    cttz, //count trailing zeros
+    sqrt, //square root
 
     // Input/Output intrinsics.
     readport,
     writeport,
     readio,
     writeio
+
   };
 
 } // End Intrinsic namespace