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).
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Analysis/SyntheticCountsUtils.cpp | ||
---|---|---|
64 ↗ | (On Diff #180767) | To avoid overflow, AdditionalCounts be changed to a map to Scaled64? |