LLVM
8.0.1
|
#include "llvm/ProfileData/ProfileCommon.h"
Static Public Attributes | |
static const ArrayRef< uint32_t > | DefaultCutoffs |
A vector of useful cutoff values for detailed summary. More... | |
Protected Member Functions | |
ProfileSummaryBuilder (std::vector< uint32_t > Cutoffs) | |
~ProfileSummaryBuilder ()=default | |
void | addCount (uint64_t Count) |
This is called when a count is seen in the profile. More... | |
void | computeDetailedSummary () |
Protected Attributes | |
SummaryEntryVector | DetailedSummary |
uint64_t | TotalCount = 0 |
uint64_t | MaxCount = 0 |
uint64_t | MaxFunctionCount = 0 |
uint32_t | NumCounts = 0 |
uint32_t | NumFunctions = 0 |
Definition at line 40 of file ProfileCommon.h.
|
inlineprotected |
Definition at line 56 of file ProfileCommon.h.
|
protecteddefault |
|
inlineprotected |
This is called when a count is seen in the profile.
Definition at line 92 of file ProfileCommon.h.
Referenced by llvm::SampleProfileSummaryBuilder::addRecord(), and llvm::InstrProfSummaryBuilder::getSummary().
|
protected |
Definition at line 58 of file ProfileSummaryBuilder.cpp.
References llvm::sort().
Referenced by llvm::InstrProfSummaryBuilder::getSummary(), and llvm::SampleProfileSummaryBuilder::getSummary().
A vector of useful cutoff values for detailed summary.
Definition at line 65 of file ProfileCommon.h.
Referenced by llvm::sampleprof::SampleProfileWriter::computeSummary(), llvm::sampleprof::SampleProfileReader::computeSummary(), llvm::IndexedInstrProfReader::hasFormat(), and setSummary().
|
protected |
Definition at line 49 of file ProfileCommon.h.
Referenced by llvm::InstrProfSummaryBuilder::getSummary(), and llvm::SampleProfileSummaryBuilder::getSummary().
|
protected |
Definition at line 51 of file ProfileCommon.h.
Referenced by llvm::InstrProfSummaryBuilder::getSummary(), and llvm::SampleProfileSummaryBuilder::getSummary().
|
protected |
Definition at line 52 of file ProfileCommon.h.
Referenced by llvm::SampleProfileSummaryBuilder::addRecord(), llvm::InstrProfSummaryBuilder::getSummary(), and llvm::SampleProfileSummaryBuilder::getSummary().
|
protected |
Definition at line 53 of file ProfileCommon.h.
Referenced by llvm::InstrProfSummaryBuilder::getSummary(), and llvm::SampleProfileSummaryBuilder::getSummary().
|
protected |
Definition at line 54 of file ProfileCommon.h.
Referenced by llvm::SampleProfileSummaryBuilder::addRecord(), llvm::InstrProfSummaryBuilder::getSummary(), and llvm::SampleProfileSummaryBuilder::getSummary().
|
protected |
Definition at line 50 of file ProfileCommon.h.
Referenced by llvm::InstrProfSummaryBuilder::getSummary(), and llvm::SampleProfileSummaryBuilder::getSummary().