LLVM 23.0.0git
llvm::sampleprof::SampleProfileNameSet Class Reference

A helper class that wraps a local set of string names from NameTable. More...

#include "llvm/ProfileData/SampleProfReader.h"

Public Member Functions

 SampleProfileNameSet (const SampleProfileReader &R)
bool contains (StringRef CanonName) const
 Check if a canonical function name exists in the profile name table.

Detailed Description

A helper class that wraps a local set of string names from NameTable.

Definition at line 1168 of file SampleProfReader.h.

Constructor & Destructor Documentation

◆ SampleProfileNameSet()

llvm::sampleprof::SampleProfileNameSet::SampleProfileNameSet ( const SampleProfileReader & R)
inlineexplicit

Definition at line 1173 of file SampleProfReader.h.

Member Function Documentation

◆ contains()

bool llvm::sampleprof::SampleProfileNameSet::contains ( StringRef CanonName) const
inline

Check if a canonical function name exists in the profile name table.

Definition at line 1179 of file SampleProfReader.h.


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