diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-10-07 00:42:52 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-10-07 00:42:52 +0000 |
commit | c3661decc3e6b38173a958c2518dafbce7d6585a (patch) | |
tree | 82b31f11da9d99a2b3ae548dae4ca1123ce39872 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 3ea4ab8e79cfdafae25e09642daccc055f392a52 (diff) | |
download | bcm5719-llvm-c3661decc3e6b38173a958c2518dafbce7d6585a.tar.gz bcm5719-llvm-c3661decc3e6b38173a958c2518dafbce7d6585a.zip |
Change ExplodedNode to have its NodeGroups all BumpPtrAllocated, avoiding malloc() traffic when adding successors/predecessors to a node. This was done by introducing BumpVector, which is essentially SmallVector with all memory being BumpPtrAllocated (this can certainly be cleaned up or moved into llvm/ADT).
This change yields a 1.8% speed increase when running the analyzer (with -analyzer-store=region) on a small benchmark file.
llvm-svn: 83439
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions