aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2024-01-26 17:18:42 -0800
committerGitHub <noreply@github.com>2024-01-26 17:18:42 -0800
commitc9790f8f733f6014fdd8bdacb057c9871e624bcc (patch)
treec469dfb090316d7725f2f3e36442a0705f7d9e10 /clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
parentc1a155bf785152abc72b77608261a3d0e6c776a6 (diff)
downloadllvm-c9790f8f733f6014fdd8bdacb057c9871e624bcc.zip
llvm-c9790f8f733f6014fdd8bdacb057c9871e624bcc.tar.gz
llvm-c9790f8f733f6014fdd8bdacb057c9871e624bcc.tar.bz2
[IR] Use SmallDenseSet (NFC) (#79556)
The use of SmallDenseSet saves 0.39% of heap allocations during the compilation of a large preprocessed file, namely X86ISelLowering.cpp, for the X86 target. During the experiment, WL.size() was 2 or less 99.9% of the time. The inline size of 4 should accommodate up to 2 entries at the 3/4 occupancy rate.
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp')
0 files changed, 0 insertions, 0 deletions