[PATCH] D56464: Refactor synthetic profile count computation. NFC.
Easwaran Raman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 8 16:39:14 PST 2019
eraman created this revision.
eraman added a reviewer: davidxl.
Herald added subscribers: dang, dexonsmith, steven_wu, mehdi_amini.
Instead of using two separate callbacks to return the entry count and the
relative block frequency, use a single callback to return callsite
count. This would allow better supporting hybrid mode in the future as
the count of callsite need not always be derived from entry count (as in
sample PGO).
Repository:
rL LLVM
https://reviews.llvm.org/D56464
Files:
include/llvm/Analysis/SyntheticCountsUtils.h
lib/Analysis/SyntheticCountsUtils.cpp
lib/LTO/SummaryBasedOptimizations.cpp
lib/Transforms/IPO/SyntheticCountsPropagation.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56464.180767.patch
Type: text/x-patch
Size: 7675 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190109/2e425800/attachment.bin>
More information about the llvm-commits
mailing list