Home
last modified time | relevance | path

Searched refs:BitWord (Results 1 – 2 of 2) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DBitVector.h363 BitWord EMask = BitWord(1) << (E % BITWORD_SIZE); in set()
364 BitWord IMask = BitWord(1) << (I % BITWORD_SIZE); in set()
370 BitWord PrefixMask = ~BitWord(0) << (I % BITWORD_SIZE); in set()
377 BitWord PostfixMask = (BitWord(1) << (E % BITWORD_SIZE)) - 1; in set()
402 BitWord EMask = BitWord(1) << (E % BITWORD_SIZE); in reset()
403 BitWord IMask = BitWord(1) << (I % BITWORD_SIZE); in reset()
409 BitWord PrefixMask = ~BitWord(0) << (I % BITWORD_SIZE); in reset()
416 BitWord PostfixMask = (BitWord(1) << (E % BITWORD_SIZE)) - 1; in reset()
443 BitWord Mask = BitWord(1) << (Idx % BITWORD_SIZE);
647 const BitWord Mask = maskLeadingOnes<BitWord>(BitDistance);
[all …]
H A DSparseBitVector.h43 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 …]