Lines Matching full:bitvector
17 #include "llvm/ADT/BitVector.h"
24 /// SmallBitVector - This is a 'bitvector' (really, a variable-sized bit array),
32 // TODO: In "large" mode, a pointer to a BitVector is used, leading to an
88 BitVector *getPointer() const {
90 return reinterpret_cast<BitVector *>(X);
99 void switchToLarge(BitVector *BV) {
136 /// SmallBitVector default ctor - Creates an empty bitvector.
139 /// SmallBitVector ctor - Creates a bitvector of specified number of bits. All
145 switchToLarge(new BitVector(s, t));
153 switchToLarge(new BitVector(*RHS.getPointer()));
167 /// empty - Tests whether there are no bits in this bitvector.
172 /// size - Returns the number of bits in this bitvector.
252 /// resize - Grow or shrink the bitvector.
261 BitVector *BV = new BitVector(N, t);
274 BitVector *BV = new BitVector(SmallSize);
463 switchToLarge(new BitVector(*RHS.getPointer()));
567 /// Implement std::swap in terms of BitVector swap.