This removes the subclasses of ProfileSummary, moves the members of the derived classes to the base class.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM
include/llvm/IR/ProfileSummary.h | ||
---|---|---|
77 | 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 | 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. |
As more passes start using these methods, you may want to add some documentation to them or rename them to be more clear.