Home
last modified time | relevance | path

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

/external/swiftshader/third_party/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/swiftshader/third_party/LLVM/include/llvm/Support/
DMathExtras.h182 inline unsigned CountLeadingZeros_64(uint64_t Value) { in CountLeadingZeros_64() function
227 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()
/external/swiftshader/third_party/LLVM/lib/Target/Alpha/
DAlphaISelDAGToDAG.cpp115 unsigned at = CountLeadingZeros_64(x); in getNearPower2()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DAPInt.h1196 return CountLeadingZeros_64(VAL) - unusedBits; in countLeadingZeros()
/external/swiftshader/third_party/LLVM/lib/Support/
DAPInt.cpp792 return CountLeadingZeros_64(MSW) - (APINT_BITS_PER_WORD - BitsInMSW); in countLeadingZerosSlowCase()
799 Count += CountLeadingZeros_64(pVal[i-1]); in countLeadingZerosSlowCase()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp6299 unsigned NotMaskLZ = CountLeadingZeros_64(NotMask); in CheckForMaskedLoad()