aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorMircea Trofin <mtrofin@google.com>2025-04-16 12:10:08 -0700
committerGitHub <noreply@github.com>2025-04-16 12:10:08 -0700
commit4903a7b77b56c7d9a650205b6e7dca46581c7134 (patch)
tree17d1b83344fee89f3a8a7be9c331fece5216e684 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent4aca20c8b6dcf86696db03d860e635112601a7f9 (diff)
downloadllvm-4903a7b77b56c7d9a650205b6e7dca46581c7134.zip
llvm-4903a7b77b56c7d9a650205b6e7dca46581c7134.tar.gz
llvm-4903a7b77b56c7d9a650205b6e7dca46581c7134.tar.bz2
[ctxprof][nfc] Move profile annotator to Analysis (#135871)
This moves the utility that propagates counter values such that we can reuse it elsewhere. Specifically, in a subsequent patch, it'll be used to guide ICP: we need to prioritize promoting indirect calls that dominate larger portions of the dynamic instruction count. We can compare them based on the dynamic count of IR instructions, and we can get that early with this counter propagation logic. The patch is mostly a move of the existing logic, with a pimpl - style implementation to hide all the current complexity.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions