LLVM 22.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::cast(), llvm::mdconst::dyn_extract(), and llvm::PseudoProbeDescMetadataName.
|
inline |
Definition at line 115 of file SampleProfileLoaderBaseImpl.h.
References F, llvm::sampleprof::FunctionSamples::getCanonicalFnName(), getDesc(), and llvm::GlobalValue::getGUIDAssumingExternalLinkage().
|
inline |
Definition at line 111 of file SampleProfileLoaderBaseImpl.h.
References getDesc(), and llvm::GlobalValue::getGUIDAssumingExternalLinkage().
|
inline |
Definition at line 106 of file SampleProfileLoaderBaseImpl.h.
References I.
Referenced by getDesc(), getDesc(), and profileIsValid().
Definition at line 125 of file SampleProfileLoaderBaseImpl.h.
References llvm::PseudoProbeDescMetadataName.
|
inline |
Definition at line 120 of file SampleProfileLoaderBaseImpl.h.
References llvm::PseudoProbeDescriptor::getFunctionHash(), and llvm::sampleprof::FunctionSamples::getFunctionHash().
Referenced by profileIsValid().
|
inline |
Definition at line 129 of file SampleProfileLoaderBaseImpl.h.
References F, getDesc(), llvm::GlobalValue::isAvailableExternallyLinkage(), and profileIsHashMismatched().