llvm-6502/unittests/ADT
Dan Gohman cb89afc965 Add a SmallBitVector class, which mimics BitVector but uses only
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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92730 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-05 15:04:49 +00:00
..
APFloatTest.cpp Implement support for converting to string at "natural precision", and fix some 2009-12-24 23:18:09 +00:00
APIntTest.cpp
BitVectorTest.cpp Add a SmallBitVector class, which mimics BitVector but uses only 2010-01-05 15:04:49 +00:00
DeltaAlgorithmTest.cpp Define the new operator<< for sets into namespace std, so that 2009-12-24 21:11:45 +00:00
DenseMapTest.cpp Fix DenseMap iterator constness. 2009-11-10 01:02:17 +00:00
DenseSetTest.cpp
ImmutableSetTest.cpp
Makefile
SmallBitVectorTest.cpp Add a SmallBitVector class, which mimics BitVector but uses only 2010-01-05 15:04:49 +00:00
SmallStringTest.cpp
SmallVectorTest.cpp
SparseBitVectorTest.cpp
StringMapTest.cpp Move DataTypes.h to include/llvm/System, update all users. This breaks the last 2009-10-26 01:35:46 +00:00
StringRefTest.cpp Silence compiler warning. 2009-12-31 16:27:13 +00:00
TripleTest.cpp
TwineTest.cpp
ValueMapTest.cpp Only run this mutex test if threading is enabled. This 2009-11-19 20:48:14 +00:00