LLVM 20.0.0git
|
#include "llvm/ProfileData/InstrProf.h"
Classes | |
struct | Entry |
Public Types | |
enum | SummaryFieldKind { TotalNumFunctions = 0 , TotalNumBlocks = 1 , MaxFunctionCount = 2 , MaxBlockCount = 3 , MaxInternalBlockCount = 4 , TotalBlockCount = 5 , NumKinds = TotalBlockCount + 1 } |
Public Member Functions | |
Summary ()=delete | |
Summary (uint32_t Size) | |
void | operator delete (void *ptr) |
const uint64_t * | getSummaryDataBase () const |
uint64_t * | getSummaryDataBase () |
const Entry * | getCutoffEntryBase () const |
Entry * | getCutoffEntryBase () |
uint64_t | get (SummaryFieldKind K) const |
void | set (SummaryFieldKind K, uint64_t V) |
const Entry & | getEntry (uint32_t I) const |
void | setEntry (uint32_t I, const ProfileSummaryEntry &E) |
Static Public Member Functions | |
static uint32_t | getSize (uint32_t NumSumFields, uint32_t NumCutoffEntries) |
Public Attributes | |
uint64_t | NumSummaryFields |
uint64_t | NumCutoffEntries |
Definition at line 1156 of file InstrProf.h.
Definition at line 1166 of file InstrProf.h.
|
delete |
Referenced by getSize().
|
inline |
Definition at line 1190 of file InstrProf.h.
References Size.
|
inline |
Definition at line 1216 of file InstrProf.h.
References getSummaryDataBase().
|
inline |
Definition at line 1212 of file InstrProf.h.
References getSummaryDataBase(), and NumSummaryFields.
Definition at line 1207 of file InstrProf.h.
References getSummaryDataBase(), and NumSummaryFields.
Referenced by getEntry(), and setEntry().
Definition at line 1224 of file InstrProf.h.
References getCutoffEntryBase(), and I.
|
inlinestatic |
Definition at line 1194 of file InstrProf.h.
References NumCutoffEntries, and Summary().
|
inline |
Definition at line 1203 of file InstrProf.h.
Definition at line 1199 of file InstrProf.h.
Referenced by get(), getCutoffEntryBase(), and set().
|
inline |
Definition at line 1192 of file InstrProf.h.
|
inline |
Definition at line 1220 of file InstrProf.h.
References getSummaryDataBase().
Referenced by setSummary().
|
inline |
Definition at line 1226 of file InstrProf.h.
References llvm::IndexedInstrProf::Summary::Entry::Cutoff, E, getCutoffEntryBase(), I, llvm::IndexedInstrProf::Summary::Entry::MinBlockCount, and llvm::IndexedInstrProf::Summary::Entry::NumBlocks.
Referenced by setSummary().
uint64_t llvm::IndexedInstrProf::Summary::NumCutoffEntries |
Definition at line 1187 of file InstrProf.h.
Referenced by getSize(), and setSummary().
uint64_t llvm::IndexedInstrProf::Summary::NumSummaryFields |
Definition at line 1185 of file InstrProf.h.
Referenced by getCutoffEntryBase(), and setSummary().