Home
last modified time | relevance | path

Searched refs:BitPopulationCount (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/flang/unittests/Evaluate/
Dbit-population-count.cpp4 using Fortran::common::BitPopulationCount;
8 MATCH(0, BitPopulationCount(std::uint64_t{0})); in main()
10 MATCH(64, BitPopulationCount(~std::uint64_t{0})); in main()
14 MATCH(1, BitPopulationCount(x)); in main()
16 MATCH(63, BitPopulationCount(~x)); in main()
20 MATCH(2, BitPopulationCount(y)); in main()
22 MATCH(62, BitPopulationCount(~y)); in main()
26 MATCH(0, BitPopulationCount(std::uint32_t{0})); in main()
28 MATCH(32, BitPopulationCount(~std::uint32_t{0})); in main()
32 MATCH(1, BitPopulationCount(x)); in main()
[all …]
/external/llvm-project/flang/include/flang/Common/
Dbit-population-count.h24 inline constexpr int BitPopulationCount(INT x) { in BitPopulationCount() function
42 inline constexpr int BitPopulationCount(INT x) { in BitPopulationCount() function
57 inline constexpr int BitPopulationCount(INT x) { in BitPopulationCount() function
70 inline constexpr int BitPopulationCount(INT x) { in BitPopulationCount() function
81 return BitPopulationCount(x) & 1; in Parity()
92 return BitPopulationCount(static_cast<INT>(x ^ (x - 1))) - 1; in TrailingZeroBitCount()
Dconstexpr-bitset.h102 constexpr std::size_t count() const { return BitPopulationCount(bits_); } in count()
/external/llvm-project/flang/include/flang/Evaluate/
Dinteger.h410 count += common::BitPopulationCount(part_[j]); in POPCNT()