LLVM 20.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 26 of file SampleProfileMatcher.h.
|
inline |
Definition at line 120 of file SampleProfileMatcher.h.
|
inline |
Definition at line 131 of file SampleProfileMatcher.h.
void SampleProfileMatcher::runOnModule | ( | ) |
Definition at line 851 of file SampleProfileMatcher.cpp.
References llvm::buildTopDownFuncOrder(), F, llvm::sampleprof::ProfileConverter::flattenProfile(), llvm::sampleprof::SampleProfileReader::getProfiles(), llvm::sampleprof::FunctionSamples::ProfileIsCS, SalvageStaleProfile, SalvageUnusedProfile, and llvm::skipProfileForFunction().