Searched defs:BitWord (Results 1 - 2 of 2) sorted by relevance

/external/llvm/include/llvm/ADT/
H A DSparseBitVector.h47 typedef unsigned long BitWord; typedef in struct:llvm::SparseBitVectorElement
50 BITWORD_SIZE = sizeof(BitWord) * CHAR_BIT,
58 BitWord Bits[BITWORDS_PER_ELEMENT];
63 memset(&Bits[0], 0, sizeof (BitWord) * BITWORDS_PER_ELEMENT);
69 memset(&Bits[0], 0, sizeof (BitWord) * BITWORDS_PER_ELEMENT);
87 BitWord word(unsigned Idx) const {
147 BitWord Copy = Bits[WordPos];
168 BitWord old = changed ? 0 : Bits[i];
195 BitWord old = changed ? 0 : Bits[i];
217 BitWord ol
[all...]
H A DBitVector.h28 typedef unsigned long BitWord; typedef in class:llvm::BitVector
30 enum { BITWORD_SIZE = (unsigned)sizeof(BitWord) * CHAR_BIT };
35 BitWord *Bits; // Actual bits.
37 unsigned Capacity; // Size of allocated memory in BitWord.
45 BitWord *WordRef;
65 *WordRef |= BitWord(1) << BitPos;
67 *WordRef &= ~(BitWord(1) << BitPos);
72 return ((*WordRef) & (BitWord(1) << BitPos)) ? true : false;
86 Bits = (BitWord *)std::malloc(Capacity * sizeof(BitWord));
[all...]

Completed in 95 milliseconds