aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenTypes.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-06-25 20:59:31 +0000
committerTed Kremenek <kremenek@apple.com>2010-06-25 20:59:31 +0000
commit9e9595b12e9b55586c4d50d370f429c7a3c92a90 (patch)
tree2afb34a0633e097dbf33ab744e835b97d6740a6d /lib/CodeGen/CodeGenTypes.cpp
parentc4a1437c15da43eb8d2601cdce13161ef41a4389 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106884 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenTypes.cpp')
0 files changed, 0 insertions, 0 deletions