aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAlex Shlyapnikov <alekseys@google.com>2017-04-12 21:44:56 +0000
committerAlex Shlyapnikov <alekseys@google.com>2017-04-12 21:44:56 +0000
commitdaa342d9c3ec5a3c270f0c3bff7f6d418a516cc0 (patch)
treee5acdf33feecfcdfcf9cf64caa1a6929aaf8c632 /clang/lib/Frontend/CompilerInvocation.cpp
parente60aa5182f3b722d9437fbebab95b526fc71f717 (diff)
downloadllvm-daa342d9c3ec5a3c270f0c3bff7f6d418a516cc0.zip
llvm-daa342d9c3ec5a3c270f0c3bff7f6d418a516cc0.tar.gz
llvm-daa342d9c3ec5a3c270f0c3bff7f6d418a516cc0.tar.bz2
Cache size per class size in SizeClassAllocatorXLocalCache.
Summary: Allocator::ClassIdToSize() is not free and calling it in every Allocate/Deallocate has noticeable impact on perf. Reviewers: eugenis, kcc Subscribers: llvm-commits, kubamracek Differential Revision: https://reviews.llvm.org/D31991 llvm-svn: 300107
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions