This removes the subclasses of ProfileSummary, moves the members of the derived classes to the base class.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM
include/llvm/IR/ProfileSummary.h | ||
---|---|---|
77 ↗ | (On Diff #57684) | As more passes start using these methods, you may want to add some documentation to them or rename them to be more clear. |
include/llvm/IR/ProfileSummary.h | ||
---|---|---|
77 ↗ | (On Diff #57684) | I'm struggling to come up with better names - your suggestions are welcome. In any case, the plan is to provide an immutable analysis pass that will consume the profile summary and provide APIs like "isHotCount" for the optimization passes to use. |