Searched refs:BitWord (Results 1 – 2 of 2) sorted by relevance
75 typedef uintptr_t BitWord; typedef77 enum { BITWORD_SIZE = (unsigned)sizeof(BitWord) * CHAR_BIT };82 using Storage = SmallVector<BitWord>;93 BitWord *WordRef;112 *WordRef |= BitWord(1) << BitPos;114 *WordRef &= ~(BitWord(1) << BitPos);119 return ((*WordRef) & (BitWord(1) << BitPos)) != 0;142 : Bits(NumBitWords(s), 0 - (BitWord)t), Size(s) { in NumBitWords()163 return any_of(Bits, [](BitWord Bit) { return Bit != 0; }); in any()169 if (Bits[i] != ~BitWord(0)) in all()[all …]
43 using BitWord = unsigned long;46 BITWORD_SIZE = sizeof(BitWord) * CHAR_BIT,54 BitWord Bits[BITWORDS_PER_ELEMENT];58 memset(&Bits[0], 0, sizeof (BitWord) * BITWORDS_PER_ELEMENT); in SparseBitVectorElement()64 memset(&Bits[0], 0, sizeof (BitWord) * BITWORDS_PER_ELEMENT); in SparseBitVectorElement()82 BitWord word(unsigned Idx) const { in word()153 BitWord Copy = Bits[WordPos]; in find_next()174 BitWord old = changed ? 0 : Bits[i]; in unionWith()201 BitWord old = changed ? 0 : Bits[i]; in intersectWith()224 BitWord old = changed ? 0 : Bits[i]; in intersectWithComplement()[all …]