summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/exceptions/exceptions.cpp
diff options
context:
space:
mode:
authorAlina Sbirlea <asbirlea@google.com>2019-02-05 23:52:08 +0000
committerAlina Sbirlea <asbirlea@google.com>2019-02-05 23:52:08 +0000
commitb9c1bc6d3cb1159470169f2d74cfec548c54b736 (patch)
treea04f62aa4705fcb416dbf31017ebc1a6fec86964 /lldb/packages/Python/lldbsuite/test/lang/cpp/exceptions/exceptions.cpp
parentd3391bdd916ba7bd4483ca3632bd68a9d09f7fa6 (diff)
downloadbcm5719-llvm-b9c1bc6d3cb1159470169f2d74cfec548c54b736.tar.gz
bcm5719-llvm-b9c1bc6d3cb1159470169f2d74cfec548c54b736.zip
[BasicAA] Cache nonEscapingLocalObjects for alias() calls.
Summary: Use a small cache for Values tested by nonEscapingLocalObject(). Since the calls to PointerMayBeCaptured are fairly expensive, this saves a good amount of compile time for anything relying heavily on BasicAA.alias() calls. This uses the same approach as the AliasCache, i.e. the cache is reset after each alias() call. The cache is not used or updated by modRefInfo calls since it's harder to know when to reset the cache. Testcases that show improvements with this patch are too large to include. Example compile time improvement: 7s to 6s. Reviewers: chandlerc, sunfish Subscribers: sanjoy, jlebar, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D57627 llvm-svn: 353245
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/exceptions/exceptions.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud