#include <SparseBitVector.h>
template<typename T>
struct SVF::PopulationCounter< T, 8 >
Definition at line 219 of file SparseBitVector.h.
◆ count()
Definition at line 221 of file SparseBitVector.h.
223 #if defined(__GNUC__)
224 return __builtin_popcountll(
Value);
227 v = v - ((v >> 1) & 0x5555555555555555ULL);
228 v = (v & 0x3333333333333333ULL) + ((v >> 2) & 0x3333333333333333ULL);
229 v = (v + (v >> 4)) & 0x0F0F0F0F0F0F0F0FULL;
230 return unsigned((uint64_t)(v * 0x0101010101010101ULL) >> 56);
llvm::Value Value
LLVM Basic classes.
The documentation for this struct was generated from the following file: