LLVM 20.0.0git
Public Member Functions | List of all members
llvm::PseudoProbeManager Class Reference

#include "llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h"

Public Member Functions

 PseudoProbeManager (const Module &M)
 
const PseudoProbeDescriptorgetDesc (uint64_t GUID) const
 
const PseudoProbeDescriptorgetDesc (StringRef FProfileName) const
 
const PseudoProbeDescriptorgetDesc (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
 

Detailed Description

Definition at line 88 of file SampleProfileLoaderBaseImpl.h.

Constructor & Destructor Documentation

◆ PseudoProbeManager()

llvm::PseudoProbeManager::PseudoProbeManager ( const Module M)
inline

Member Function Documentation

◆ getDesc() [1/3]

const PseudoProbeDescriptor * llvm::PseudoProbeManager::getDesc ( const Function F) const
inline

◆ getDesc() [2/3]

const PseudoProbeDescriptor * llvm::PseudoProbeManager::getDesc ( StringRef  FProfileName) const
inline

Definition at line 111 of file SampleProfileLoaderBaseImpl.h.

References getDesc(), and llvm::GlobalValue::getGUID().

◆ getDesc() [3/3]

const PseudoProbeDescriptor * llvm::PseudoProbeManager::getDesc ( uint64_t  GUID) const
inline

◆ moduleIsProbed()

bool llvm::PseudoProbeManager::moduleIsProbed ( const Module M) const
inline

Definition at line 124 of file SampleProfileLoaderBaseImpl.h.

References llvm::PseudoProbeDescMetadataName.

◆ profileIsHashMismatched()

bool llvm::PseudoProbeManager::profileIsHashMismatched ( const PseudoProbeDescriptor FuncDesc,
const FunctionSamples Samples 
) const
inline

◆ profileIsValid()

bool llvm::PseudoProbeManager::profileIsValid ( const Function F,
const FunctionSamples Samples 
) const
inline

The documentation for this class was generated from the following file: