Searched refs:BitWord (Results 1 – 2 of 2) sorted by relevance
83 typedef uintptr_t BitWord; typedef85 enum { BITWORD_SIZE = (unsigned)sizeof(BitWord) * CHAR_BIT };90 using Storage = SmallVector<BitWord>;101 BitWord *WordRef;120 *WordRef |= BitWord(1) << BitPos;122 *WordRef &= ~(BitWord(1) << BitPos);127 return ((*WordRef) & (BitWord(1) << BitPos)) != 0;150 : Bits(NumBitWords(s), 0 - (BitWord)t), Size(s) { in NumBitWords()171 return any_of(Bits, [](BitWord Bit) { return Bit != 0; }); in any()177 if (Bits[i] != ~BitWord(0)) in all()[all …]
44 using BitWord = unsigned long;47 BITWORD_SIZE = sizeof(BitWord) * CHAR_BIT,55 BitWord Bits[BITWORDS_PER_ELEMENT];59 memset(&Bits[0], 0, sizeof (BitWord) * BITWORDS_PER_ELEMENT); in SparseBitVectorElement() 65 memset(&Bits[0], 0, sizeof (BitWord) * BITWORDS_PER_ELEMENT); in SparseBitVectorElement() 83 BitWord word(unsigned Idx) const { in word() 154 BitWord Copy = Bits[WordPos]; in find_next() 175 BitWord old = changed ? 0 : Bits[i]; in unionWith() 202 BitWord old = changed ? 0 : Bits[i]; in intersectWith() 225 BitWord ol in intersectWithComplement() [all...]