Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add an all() method to BitVector, for testing whether all bits are set. | Dan Gohman | 2010-09-27 | 1 | -0/+7 |
| | | | | llvm-svn: 114830 | ||||
* | Update BitVectorTest.cpp to stay in sync with SmallBitVectorTest.cpp, | Dan Gohman | 2010-04-30 | 1 | -0/+1 |
| | | | | | | and fix a bug in BitVector's reference proxy class which this exposed. llvm-svn: 102768 | ||||
* | SmallBitVector: Rework find_first/find_next and tweak test to test them (at ↵ | Benjamin Kramer | 2010-04-30 | 1 | -2/+3 |
| | | | | | | least on 64 bit platforms). llvm-svn: 102712 | ||||
* | Implement a read/write operator[] for SmallBitVector with a proxy class. | Benjamin Kramer | 2010-04-30 | 1 | -0/+8 |
| | | | | llvm-svn: 102709 | ||||
* | Silence GCC warnings. | Benjamin Kramer | 2010-02-10 | 1 | -6/+6 |
| | | | | llvm-svn: 95779 | ||||
* | Implement operators |=, &=, and ^= for SmallBitVector, and remove the | Dan Gohman | 2010-02-10 | 1 | -0/+39 |
| | | | | | | | restriction in BitVector for |= and ^= that the operand must be the same length. llvm-svn: 95768 | ||||
* | Add a SmallBitVector class, which mimics BitVector but uses only | Dan Gohman | 2010-01-05 | 1 | -0/+140 |
a single pointer (PointerIntPair) member. In "small" mode, the pointer field is reinterpreted as a set of bits. In "large" mode, the pointer points to a heap-allocated object. Also, give BitVector empty and swap functions. And, add some simple unittests for BitVector and SmallBitVector. llvm-svn: 92730 |