LLVM 20.0.0git
|
#include "llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h"
Public Member Functions | |
PseudoProbeManager (const Module &M) | |
const PseudoProbeDescriptor * | getDesc (uint64_t GUID) const |
const PseudoProbeDescriptor * | getDesc (StringRef FProfileName) const |
const PseudoProbeDescriptor * | getDesc (const Function &F) const |
bool | profileIsHashMismatched (const PseudoProbeDescriptor &FuncDesc, const FunctionSamples &Samples) const |
bool | moduleIsProbed (const Module &M) const |
bool | profileIsValid (const Function &F, const FunctionSamples &Samples) const |
Definition at line 88 of file SampleProfileLoaderBaseImpl.h.
Definition at line 92 of file SampleProfileLoaderBaseImpl.h.
References llvm::PseudoProbeDescMetadataName, and llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::try_emplace().
|
inline |
Definition at line 115 of file SampleProfileLoaderBaseImpl.h.
References F, llvm::sampleprof::FunctionSamples::getCanonicalFnName(), getDesc(), and llvm::GlobalValue::getGUID().
|
inline |
Definition at line 111 of file SampleProfileLoaderBaseImpl.h.
References getDesc(), and llvm::GlobalValue::getGUID().
|
inline |
Definition at line 106 of file SampleProfileLoaderBaseImpl.h.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find(), and I.
Referenced by getDesc(), and profileIsValid().
Definition at line 124 of file SampleProfileLoaderBaseImpl.h.
References llvm::PseudoProbeDescMetadataName.
|
inline |
Definition at line 119 of file SampleProfileLoaderBaseImpl.h.
References llvm::PseudoProbeDescriptor::getFunctionHash(), and llvm::sampleprof::FunctionSamples::getFunctionHash().
Referenced by profileIsValid().
|
inline |
Definition at line 128 of file SampleProfileLoaderBaseImpl.h.
References F, getDesc(), llvm::GlobalValue::isAvailableExternallyLinkage(), and profileIsHashMismatched().