Home
last modified time | relevance | path

Searched refs:CountLeadingZeros_64 (Results 1 – 6 of 6) sorted by relevance

/external/llvm/unittests/Support/
DMathExtrasTest.cpp49 TEST(MathExtras, CountLeadingZeros_64) { in TEST() argument
50 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()
/external/llvm/include/llvm/Support/
DMathExtras.h196 inline unsigned CountLeadingZeros_64(uint64_t Value) { in CountLeadingZeros_64() function
241 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()
/external/llvm/include/llvm/ADT/
DAPInt.h1247 return CountLeadingZeros_64(VAL) - unusedBits; in countLeadingZeros()
/external/llvm/lib/Support/
DAPInt.cpp695 return CountLeadingZeros_64(MSW) - (APINT_BITS_PER_WORD - BitsInMSW); in countLeadingZerosSlowCase()
702 Count += CountLeadingZeros_64(pVal[i-1]); in countLeadingZerosSlowCase()
/external/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp866 unsigned MaskLZ = CountLeadingZeros_64(Mask); in FoldMaskAndShiftToScale()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp7180 unsigned NotMaskLZ = CountLeadingZeros_64(NotMask); in CheckForMaskedLoad()