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()
196 inline unsigned CountLeadingZeros_64(uint64_t Value) { in CountLeadingZeros_64() function241 return CountLeadingZeros_64(~Value); in CountLeadingOnes_64()332 return 63 - CountLeadingZeros_64(Value); in Log2_64()345 return 64-CountLeadingZeros_64(Value-1); in Log2_64_Ceil()
1247 return CountLeadingZeros_64(VAL) - unusedBits; in countLeadingZeros()
695 return CountLeadingZeros_64(MSW) - (APINT_BITS_PER_WORD - BitsInMSW); in countLeadingZerosSlowCase()702 Count += CountLeadingZeros_64(pVal[i-1]); in countLeadingZerosSlowCase()
866 unsigned MaskLZ = CountLeadingZeros_64(Mask); in FoldMaskAndShiftToScale()
7180 unsigned NotMaskLZ = CountLeadingZeros_64(NotMask); in CheckForMaskedLoad()