diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-06-25 20:59:31 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-06-25 20:59:31 +0000 |
commit | fe97a1ac658f568ddfc86aab31a47efc056020bf (patch) | |
tree | 8424d41a698233c23bb1041629c0024ddb18ce62 /clang/test/CodeGenCXX/DynArrayInit.cpp | |
parent | 76abf19ea690efbdbf0da07fed85a969769c63d3 (diff) | |
download | bcm5719-llvm-fe97a1ac658f568ddfc86aab31a47efc056020bf.tar.gz bcm5719-llvm-fe97a1ac658f568ddfc86aab31a47efc056020bf.zip |
Add "checker caching" to GRExprEngine::CheckerVisit to progressively build
a winowed list of checkers that actually do something for a given StmtClass.
As the number of checkers grows, this may potentially significantly reduce
the number of checkers called at any one time. My own measurements show that
for the ~20 registered Checker objects, only ~5 of them respond at any one time
to a give statement. While this isn't a net performance win right now (there
is a minor slowdown on sqlite.3) this improvement does greatly improve debugging
when stepping through the checkers used to evaluate a given statement.
llvm-svn: 106884
Diffstat (limited to 'clang/test/CodeGenCXX/DynArrayInit.cpp')
0 files changed, 0 insertions, 0 deletions