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
- Build Status
Buildable 26537 Build 26536: arc lint + arc unit
Event Timeline
lib/Analysis/SyntheticCountsUtils.cpp | ||
---|---|---|
64 | To avoid overflow, AdditionalCounts be changed to a map to Scaled64? |
To avoid overflow, AdditionalCounts be changed to a map to Scaled64?