aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-09-05 16:49:37 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-09-05 16:49:37 +0000
commit6c2649ca4ee2263a0345b9225de63b68ba082d1a (patch)
tree8663d14e9fa37bb6dc971c72e3c9cd0c684313ea /clang/lib/Frontend/CompilerInvocation.cpp
parent823f9ebaa3c078480e59e418e2385600803b1502 (diff)
downloadllvm-6c2649ca4ee2263a0345b9225de63b68ba082d1a.zip
llvm-6c2649ca4ee2263a0345b9225de63b68ba082d1a.tar.gz
llvm-6c2649ca4ee2263a0345b9225de63b68ba082d1a.tar.bz2
Switch BasicAliasAnalysis' cache to SmallDenseMap.
It relies on clear() being fast and the cache rarely has more than 1 or 2 elements, so give it an inline capacity and always shrink it back down in case it grows. DenseMap will grow to 64 buckets which makes clear() a lot slower. llvm-svn: 163215
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions