LLVM 20.0.0git
|
Helper class for profile conversion. More...
#include "llvm/ProfileData/SampleProf.h"
Classes | |
struct | FrameNode |
Public Member Functions | |
ProfileConverter (SampleProfileMap &Profiles) | |
void | convertCSProfiles () |
Static Public Member Functions | |
static void | flattenProfile (SampleProfileMap &ProfileMap, bool ProfileIsCS=false) |
static void | flattenProfile (const SampleProfileMap &InputProfiles, SampleProfileMap &OutputProfiles, bool ProfileIsCS=false) |
Helper class for profile conversion.
It supports full context-sensitive profile to nested profile conversion, nested profile to flatten profile conversion, etc.
Definition at line 1399 of file SampleProf.h.
ProfileConverter::ProfileConverter | ( | SampleProfileMap & | Profiles | ) |
Definition at line 444 of file SampleProf.cpp.
References assert(), and llvm::sampleprof::FunctionSamples::getContext().
void ProfileConverter::convertCSProfiles | ( | ) |
Definition at line 519 of file SampleProf.cpp.
References convertCSProfiles().
Referenced by convertCSProfiles().
|
inlinestatic |
Definition at line 1431 of file SampleProf.h.
References llvm::sampleprof::SampleProfileMap::create(), and I.
|
inlinestatic |
Definition at line 1424 of file SampleProf.h.
References flattenProfile().
Referenced by llvm::SampleProfileSummaryBuilder::computeSummaryForProfiles(), flattenProfile(), and llvm::SampleProfileMatcher::runOnModule().