diff options
author | Dan Gohman <gohman@apple.com> | 2010-01-05 15:04:49 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-01-05 15:04:49 +0000 |
commit | 5976e7d5ddfe215d0d62789252118e85a6013cf0 (patch) | |
tree | 5d5872a29b9062c137a5506886f447c1012dbff1 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | |
parent | f7cc698b696811b3ebdbe3b0de4516cd94f180b3 (diff) | |
download | llvm-5976e7d5ddfe215d0d62789252118e85a6013cf0.zip llvm-5976e7d5ddfe215d0d62789252118e85a6013cf0.tar.gz llvm-5976e7d5ddfe215d0d62789252118e85a6013cf0.tar.bz2 |
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.
llvm-svn: 92730
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions