|
LLVM 23.0.0git
|
#include "llvm/Transforms/IPO/SampleProfileMatcher.h"
Public Member Functions | |
| SampleProfileMatcher (Module &M, SampleProfileReader &Reader, LazyCallGraph &CG, const PseudoProbeManager *ProbeManager, ThinOrFullLTOPhase LTOPhase, HashKeyMap< std::unordered_map, FunctionId, Function * > &SymMap, std::shared_ptr< ProfileSymbolList > PSL, HashKeyMap< std::unordered_map, FunctionId, FunctionId > &FuncNameToProfNameMap) | |
| void | runOnModule () |
| void | clearMatchingData () |
Definition at line 28 of file SampleProfileMatcher.h.
|
inline |
Definition at line 122 of file SampleProfileMatcher.h.
|
inline |
Definition at line 133 of file SampleProfileMatcher.h.
| void SampleProfileMatcher::runOnModule | ( | ) |
Definition at line 1004 of file SampleProfileMatcher.cpp.
References llvm::buildTopDownFuncOrder(), F, llvm::sampleprof::ProfileConverter::flattenProfile(), llvm::sampleprof::FunctionSamples::ProfileIsCS, llvm::SalvageStaleProfile, llvm::SalvageUnusedProfile, llvm::SalvageUnusedProfileMaxFunctions, and llvm::skipProfileForFunction().