Searched refs:PopCount (Results 1 – 10 of 10) sorted by relevance
12 class PopCount {14 explicit PopCount(UInt64 x) : value_() { in PopCount() function55 return PopCount(x).lo64(); in count()65 class PopCount {67 explicit PopCount(UInt32 x) : value_() {96 return PopCount(x).lo32();
211 skip = (UInt8)PopCount::count(static_cast<UInt64>(_mm_cvtsi128_si64(x)));384 offset += PopCount::count(units_[i / 64] & ((1ULL << (i % 64)) - 1)); in rank1()551 offset += PopCount::count(units_[(i / 32) - 1]); in rank1()553 offset += PopCount::count(units_[i / 32] & ((1U << (i % 32)) - 1)); in rank1()620 PopCount count(unit); in select0()625 count = PopCount(unit); in select0()711 PopCount count(unit); in select1()716 count = PopCount(unit); in select1()
204 #define PopCount(bits) __builtin_popcountll(bits) in CountBitsSet() macro206 const auto PopCount = [](uint64_t bits) -> int { in CountBitsSet() local225 count = PopCount(bits_.as_array[first] & in CountBitsSet()231 count = PopCount((*p) & in CountBitsSet()234 count += PopCount(*p); in CountBitsSet()236 count += PopCount((*p) & MakeBitmask(0, end - (last * kBitsPerInteger))); in CountBitsSet()241 count = PopCount(bits_.as_integer & MakeBitmask(begin, end - begin)); in CountBitsSet()
20 marisa::grimoire::vector::PopCount count(0); in TestPopCount()32 marisa::grimoire::vector::PopCount count(0xFFFFFFFFFFFFFFFFULL); in TestPopCount()44 marisa::grimoire::vector::PopCount count(0xFF7F3F1F0F070301ULL); in TestPopCount()62 marisa::grimoire::vector::PopCount count(0);70 marisa::grimoire::vector::PopCount count(0xFFFFFFFFU);78 marisa::grimoire::vector::PopCount count(0xFF3F0F03U);
580 unsigned PopCount = SubRegMask.getNumLanes(); in buildCopy() local582 if (PopCount > BestCover) { in buildCopy()583 BestCover = PopCount; in buildCopy()
577 unsigned PopCount = SubRegMask.getNumLanes(); in buildCopy() local579 if (PopCount > BestCover) { in buildCopy()580 BestCover = PopCount; in buildCopy()
1050 unsigned PopCount = countPopulation(B.Mask); in emitBitTestCase() local1051 if (PopCount == 1) { in emitBitTestCase()1059 } else if (PopCount == BB.Range) { in emitBitTestCase()
2203 unsigned PopCount = countPopulation(B.Mask); in visitBitTestCase() local2205 if (PopCount == 1) { in visitBitTestCase()2212 } else if (PopCount == BB.Range) { in visitBitTestCase()
2721 unsigned PopCount = countPopulation(B.Mask); in visitBitTestCase() local2723 if (PopCount == 1) { in visitBitTestCase()2730 } else if (PopCount == BB.Range) { in visitBitTestCase()
2695 unsigned PopCount = countPopulation(B.Mask); in visitBitTestCase() local2697 if (PopCount == 1) { in visitBitTestCase()2704 } else if (PopCount == BB.Range) { in visitBitTestCase()