aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2024-06-12 10:14:33 -0700
committerGitHub <noreply@github.com>2024-06-12 10:14:33 -0700
commit00fa3fbfb846756a902527cdd793f1ad7ad9369b (patch)
treec17d930ad9872f9f5a1bf9b215cbe80d67f15dec /clang/lib/Frontend/InitPreprocessor.cpp
parent760ad23e4811b81f8727d0a12b2d13149a45c72f (diff)
downloadllvm-00fa3fbfb846756a902527cdd793f1ad7ad9369b.zip
llvm-00fa3fbfb846756a902527cdd793f1ad7ad9369b.tar.gz
llvm-00fa3fbfb846756a902527cdd793f1ad7ad9369b.tar.bz2
[ProfileData] Compute sum in annotateValueSite (NFC) (#95199)
getValueForSite computes the total count -- the total number of times a given value site is visited. The problem is that, excluding tests, annotateValueSite is the only place that needs the total count. This patch moves the total count computation to annotateValueSite.
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions