Home
last modified time | relevance | path

Searched refs:LeadingZeroBitCount (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/flang/unittests/Evaluate/
Dleading-zero-bit-count.cpp4 using Fortran::common::LeadingZeroBitCount;
7 MATCH(64, LeadingZeroBitCount(std::uint64_t{0})); in main()
11 MATCH(63 - j, LeadingZeroBitCount(x))("j=%d, k=%d", j, k); in main()
14 MATCH(32, LeadingZeroBitCount(std::uint32_t{0})); in main()
18 MATCH(31 - j, LeadingZeroBitCount(x))("j=%d, k=%d", j, k); in main()
21 MATCH(16, LeadingZeroBitCount(std::uint16_t{0})); in main()
25 MATCH(15 - j, LeadingZeroBitCount(x))("j=%d, k=%d", j, k); in main()
28 MATCH(8, LeadingZeroBitCount(std::uint8_t{0})); in main()
32 MATCH(7 - j, LeadingZeroBitCount(x))("j=%d, k=%d", j, k); in main()
/external/llvm-project/flang/include/flang/Common/
Dleading-zero-bit-count.h45 inline constexpr int LeadingZeroBitCount(std::uint64_t x) { in LeadingZeroBitCount() function
66 inline constexpr int LeadingZeroBitCount(std::uint32_t x) { in LeadingZeroBitCount() function
67 return LeadingZeroBitCount(static_cast<std::uint64_t>(x)) - 32; in LeadingZeroBitCount()
70 inline constexpr int LeadingZeroBitCount(std::uint16_t x) { in LeadingZeroBitCount() function
71 return LeadingZeroBitCount(static_cast<std::uint64_t>(x)) - 48; in LeadingZeroBitCount()
88 inline constexpr int LeadingZeroBitCount(std::uint8_t x) { in LeadingZeroBitCount() function
93 return 8 * sizeof x - LeadingZeroBitCount(x); in BitsNeededFor()
Duint128.h251 return 64 + LeadingZeroBitCount(low_); in LeadingZeroes()
253 return LeadingZeroBitCount(high_); in LeadingZeroes()
/external/llvm-project/flang/lib/Decimal/
Dbig-radix-floating-point.h50 64 - common::LeadingZeroBitCount(uint64Radix)};
/external/llvm-project/flang/include/flang/Evaluate/
Dinteger.h392 int lzbc{common::LeadingZeroBitCount(LEPart(parts - 1))}; in LEADZ()
398 int lzbc{common::LeadingZeroBitCount(p)}; in LEADZ()