aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-10-07 00:42:52 +0000
committerTed Kremenek <kremenek@apple.com>2009-10-07 00:42:52 +0000
commit5fe4d9deb543a19f557e3d85c5f33867af97cd96 (patch)
tree16d1993f4d0c9e87bedce9a3dccaf8953d1fd53b /lib/CodeGen
parentb49036311776e261c9871a1195749a0ae000ef24 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83439 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
0 files changed, 0 insertions, 0 deletions