Searched refs:CountLeadingZeros_64 (Results 1 – 6 of 6) sorted by relevance
49 TEST(MathExtras, CountLeadingZeros_64) { in TEST() argument50 EXPECT_EQ(8u, CountLeadingZeros_64(0x00F1234500F12345LL)); in TEST()51 EXPECT_EQ(1u, CountLeadingZeros_64(1LL << 62)); in TEST()53 EXPECT_EQ(63 - i, CountLeadingZeros_64(1LL << i)); in TEST()
182 inline unsigned CountLeadingZeros_64(uint64_t Value) { in CountLeadingZeros_64() function227 return CountLeadingZeros_64(~Value); in CountLeadingOnes_64()318 return 63 - CountLeadingZeros_64(Value); in Log2_64()331 return 64-CountLeadingZeros_64(Value-1); in Log2_64_Ceil()
115 unsigned at = CountLeadingZeros_64(x); in getNearPower2()
1196 return CountLeadingZeros_64(VAL) - unusedBits; in countLeadingZeros()
792 return CountLeadingZeros_64(MSW) - (APINT_BITS_PER_WORD - BitsInMSW); in countLeadingZerosSlowCase()799 Count += CountLeadingZeros_64(pVal[i-1]); in countLeadingZerosSlowCase()
6299 unsigned NotMaskLZ = CountLeadingZeros_64(NotMask); in CheckForMaskedLoad()