Fuzzy-matches a sample profile to IR when locations or names have drifted.
Declared in <llvm/Transforms/IPO/SampleProfileMatcher.h>
class SampleProfileMatcher;
Recovers AutoFDO and CSSPGO samples after code changes by aligning callsite anchors and, optionally, matching unmatched IR functions to unused profile entries via the call graph.
| Name | Description |
|---|---|
SampleProfileMatcher [constructor] | Construct a matcher for M using profiles from Reader. |
clearMatchingData | Release temporary matching tables after matching is complete. |
runOnModule | Match functions in the module against the sample profile. |