aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/IPO/PartialInlining.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-01-05 15:04:49 +0000
committerDan Gohman <gohman@apple.com>2010-01-05 15:04:49 +0000
commitf53eb1f1455033dcc9d752da70711749d247e7f2 (patch)
tree7183d835b6819e6c34f8162fdbd5bd3ce53a18bd /lib/Transforms/IPO/PartialInlining.cpp
parent41a62defe8fdd65368223628dd904ed583bb6842 (diff)
downloadexternal_llvm-f53eb1f1455033dcc9d752da70711749d247e7f2.zip
external_llvm-f53eb1f1455033dcc9d752da70711749d247e7f2.tar.gz
external_llvm-f53eb1f1455033dcc9d752da70711749d247e7f2.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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92730 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/PartialInlining.cpp')
0 files changed, 0 insertions, 0 deletions