diff options
author | Amir Ayupov <aaupov@fb.com> | 2025-05-10 21:01:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-10 21:01:49 -0700 |
commit | 8f31c6dde730fd1e4d64a6126474f51446fef453 (patch) | |
tree | 3b5277b90eb313885c2fcb7fc0f340b14bfdaed7 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 066bc49f764cb24c8847d83a059684e3b6d7f4da (diff) | |
download | llvm-8f31c6dde730fd1e4d64a6126474f51446fef453.zip llvm-8f31c6dde730fd1e4d64a6126474f51446fef453.tar.gz llvm-8f31c6dde730fd1e4d64a6126474f51446fef453.tar.bz2 |
[BOLT] Support profile density with basic samples (#137644)
For profile with LBR samples, binary function profile density is
computed as a ratio of executed bytes to function size in bytes.
For profile with IP samples, use the size of basic block containing the
sample IP as a numerator.
Test Plan: updated perf_test.test
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions