LLVM 19.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 87 of file SampleProfileLoaderBaseImpl.h.

Constructor & Destructor Documentation

◆ PseudoProbeManager()

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

Member Function Documentation

◆ getDesc() [1/3]

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

◆ getDesc() [2/3]

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

Definition at line 110 of file SampleProfileLoaderBaseImpl.h.

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

◆ getDesc() [3/3]

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

◆ moduleIsProbed()

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

Definition at line 123 of file SampleProfileLoaderBaseImpl.h.

References llvm::PseudoProbeDescMetadataName.

◆ profileIsHashMismatched()

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

◆ profileIsValid()

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

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