|
LLVM
5.0.0
|
Classes | |
| struct | LineLocation |
| Represents the relative location of an instruction. More... | |
| class | SampleRecord |
| Representation of a single sample record. More... | |
| class | FunctionSamples |
| Representation of the samples collected for a function. More... | |
| class | SampleSorter |
| Sort a LocationT->SampleT map by LocationT. More... | |
| class | SampleProfileReader |
| Sample-based profile reader. More... | |
| class | SampleProfileReaderText |
| class | SampleProfileReaderBinary |
| class | SampleProfileReaderGCC |
| class | SampleProfileWriter |
| Sample-based profile writer. Base class. More... | |
| class | SampleProfileWriterText |
| Sample-based profile writer (text format). More... | |
| class | SampleProfileWriterBinary |
| Sample-based profile writer (binary format). More... | |
Typedefs | |
| using | BodySampleMap = std::map< LineLocation, SampleRecord > |
| using | FunctionSamplesMap = StringMap< FunctionSamples > |
| using | CallsiteSampleMap = std::map< LineLocation, FunctionSamplesMap > |
| using | InlineCallStack = SmallVector< FunctionSamples *, 10 > |
Enumerations | |
| enum | HistType { HIST_TYPE_INTERVAL, HIST_TYPE_POW2, HIST_TYPE_SINGLE_VALUE, HIST_TYPE_CONST_DELTA, HIST_TYPE_INDIR_CALL, HIST_TYPE_AVERAGE, HIST_TYPE_IOR, HIST_TYPE_INDIR_CALL_TOPN } |
| enum | SampleProfileFormat { SPF_None = 0, SPF_Text, SPF_Binary, SPF_GCC } |
Functions | |
| static uint64_t | SPMagic () |
| static uint64_t | SPVersion () |
| raw_ostream & | operator<< (raw_ostream &OS, const LineLocation &Loc) |
| raw_ostream & | operator<< (raw_ostream &OS, const SampleRecord &Sample) |
| raw_ostream & | operator<< (raw_ostream &OS, const FunctionSamples &FS) |
| using llvm::sampleprof::BodySampleMap = typedef std::map<LineLocation, SampleRecord> |
Definition at line 187 of file SampleProf.h.
| using llvm::sampleprof::CallsiteSampleMap = typedef std::map<LineLocation, FunctionSamplesMap> |
Definition at line 189 of file SampleProf.h.
| using llvm::sampleprof::FunctionSamplesMap = typedef StringMap<FunctionSamples> |
Definition at line 188 of file SampleProf.h.
| using llvm::sampleprof::InlineCallStack = typedef SmallVector<FunctionSamples *, 10> |
Definition at line 406 of file SampleProfReader.h.
| Enumerator | |
|---|---|
| HIST_TYPE_INTERVAL | |
| HIST_TYPE_POW2 | |
| HIST_TYPE_SINGLE_VALUE | |
| HIST_TYPE_CONST_DELTA | |
| HIST_TYPE_INDIR_CALL | |
| HIST_TYPE_AVERAGE | |
| HIST_TYPE_IOR | |
| HIST_TYPE_INDIR_CALL_TOPN | |
Definition at line 410 of file SampleProfReader.h.
| Enumerator | |
|---|---|
| SPF_None | |
| SPF_Text | |
| SPF_Binary | |
| SPF_GCC | |
Definition at line 31 of file SampleProfWriter.h.
| raw_ostream & llvm::sampleprof::operator<< | ( | raw_ostream & | OS, |
| const LineLocation & | Loc | ||
| ) |
Definition at line 79 of file SampleProf.cpp.
References llvm::sampleprof::LineLocation::print().
| raw_ostream & llvm::sampleprof::operator<< | ( | raw_ostream & | OS, |
| const SampleRecord & | Sample | ||
| ) |
Definition at line 104 of file SampleProf.cpp.
References llvm::sampleprof::SampleRecord::print().
| raw_ostream & llvm::sampleprof::operator<< | ( | raw_ostream & | OS, |
| const FunctionSamples & | FS | ||
| ) |
Definition at line 147 of file SampleProf.cpp.
References llvm::sampleprof::FunctionSamples::print().
|
inlinestatic |
Definition at line 81 of file SampleProf.h.
Referenced by llvm::sampleprof::SampleProfileReaderBinary::hasFormat(), llvm::sampleprof::SampleProfileReaderBinary::readHeader(), and llvm::sampleprof::SampleProfileWriterBinary::writeHeader().
|
inlinestatic |
Definition at line 88 of file SampleProf.h.
Referenced by llvm::sampleprof::SampleProfileReaderBinary::readHeader(), and llvm::sampleprof::SampleProfileWriterBinary::writeHeader().
1.8.6