|
LLVM 24.0.0git
|
ProfileSymbolList records the list of function symbols shown up in the binary used to generate the profile. More...
#include "llvm/ProfileData/SampleProf.h"
Public Member Functions | |
| void | add (StringRef Name, bool Copy=false) |
| copy indicates whether we need to copy the underlying memory for the input Name. | |
| bool | contains (StringRef Name) const |
| void | merge (const ProfileSymbolList &List) |
| unsigned | size () const |
| void | reserve (size_t Size) |
| std::vector< uint64_t > | collectGUIDs () const |
| void | setColdGUIDTable (EytzingerTableSpan< support::ulittle64_t > Table) |
| EytzingerTableSpan< support::ulittle64_t > | getColdGUIDTable () const |
| bool | isMD5 () const |
| LLVM_ABI std::error_code | read (const uint8_t *Data, uint64_t ListSize) |
| LLVM_ABI std::error_code | write (raw_ostream &OS) |
| LLVM_ABI void | dump (raw_ostream &OS=dbgs()) const |
ProfileSymbolList records the list of function symbols shown up in the binary used to generate the profile.
It is useful to to discriminate a function being so cold as not to shown up in the profile and a function newly added.
Definition at line 1751 of file SampleProf.h.
copy indicates whether we need to copy the underlying memory for the input Name.
Definition at line 1755 of file SampleProf.h.
References assert().
|
inline |
Definition at line 1797 of file SampleProf.h.
References llvm::append_range(), llvm::map_range(), llvm::sampleprof::MD5Hash(), size(), llvm::sort(), and llvm::unique().
Definition at line 1764 of file SampleProf.h.
References llvm::sampleprof::MD5Hash(), and uint64_t.
| void ProfileSymbolList::dump | ( | raw_ostream & | OS = dbgs() | ) | const |
Definition at line 489 of file SampleProf.cpp.
References llvm::sort().
|
inline |
Definition at line 1817 of file SampleProf.h.
References assert().
|
inline |
Definition at line 1822 of file SampleProf.h.
|
inline |
Definition at line 1772 of file SampleProf.h.
References add(), assert(), and llvm::List.
Definition at line 396 of file SampleProf.cpp.
References add(), llvm::Data, llvm::malformed, ProfileSymbolListCutOff, reserve(), Size, and llvm::success.
|
inline |
|
inline |
Definition at line 1811 of file SampleProf.h.
References assert(), and llvm::Table.
|
inline |
Definition at line 1790 of file SampleProf.h.
Referenced by collectGUIDs().
| std::error_code ProfileSymbolList::write | ( | raw_ostream & | OS | ) |
Definition at line 473 of file SampleProf.cpp.
References llvm::sort(), and llvm::success.