LLVM 18.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 87 of file SampleProfileLoaderBaseImpl.h.
Definition at line 91 of file SampleProfileLoaderBaseImpl.h.
References llvm::PseudoProbeDescMetadataName, and llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::try_emplace().
|
inline |
Definition at line 114 of file SampleProfileLoaderBaseImpl.h.
References F, llvm::sampleprof::FunctionSamples::getCanonicalFnName(), getDesc(), and llvm::GlobalValue::getGUID().
|
inline |
Definition at line 110 of file SampleProfileLoaderBaseImpl.h.
References getDesc(), and llvm::GlobalValue::getGUID().
|
inline |
Definition at line 105 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 123 of file SampleProfileLoaderBaseImpl.h.
References llvm::PseudoProbeDescMetadataName.
|
inline |
Definition at line 118 of file SampleProfileLoaderBaseImpl.h.
References llvm::PseudoProbeDescriptor::getFunctionHash(), and llvm::sampleprof::FunctionSamples::getFunctionHash().
|
inline |
Definition at line 127 of file SampleProfileLoaderBaseImpl.h.
References llvm::dbgs(), F, getDesc(), llvm::sampleprof::FunctionSamples::getFunctionHash(), and LLVM_DEBUG.