|
LLVM
4.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 | |
| typedef std::map< LineLocation, SampleRecord > | BodySampleMap |
| typedef std::map< LineLocation, FunctionSamples > | CallsiteSampleMap |
| typedef SmallVector < FunctionSamples *, 10 > | InlineCallStack |
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) |
| typedef std::map<LineLocation, SampleRecord> llvm::sampleprof::BodySampleMap |
Definition at line 172 of file SampleProf.h.
| typedef std::map<LineLocation, FunctionSamples> llvm::sampleprof::CallsiteSampleMap |
Definition at line 173 of file SampleProf.h.
| typedef SmallVector<FunctionSamples *, 10> llvm::sampleprof::InlineCallStack |
Definition at line 393 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 397 of file SampleProfReader.h.
| Enumerator | |
|---|---|
| SPF_None | |
| SPF_Text | |
| SPF_Binary | |
| SPF_GCC | |
Definition at line 28 of file SampleProfWriter.h.
| raw_ostream & llvm::sampleprof::operator<< | ( | raw_ostream & | OS, |
| const LineLocation & | Loc | ||
| ) |
Definition at line 71 of file SampleProf.cpp.
References llvm::sampleprof::LineLocation::print().
| raw_ostream & llvm::sampleprof::operator<< | ( | raw_ostream & | OS, |
| const SampleRecord & | Sample | ||
| ) |
Definition at line 92 of file SampleProf.cpp.
References llvm::sampleprof::SampleRecord::print().
| raw_ostream & llvm::sampleprof::operator<< | ( | raw_ostream & | OS, |
| const FunctionSamples & | FS | ||
| ) |
Definition at line 133 of file SampleProf.cpp.
References llvm::sampleprof::FunctionSamples::print().
|
inlinestatic |
Definition at line 70 of file SampleProf.h.
Referenced by llvm::sampleprof::SampleProfileReaderBinary::hasFormat(), llvm::sampleprof::SampleProfileReaderBinary::readHeader(), and llvm::sampleprof::SampleProfileWriterBinary::writeHeader().
|
inlinestatic |
Definition at line 77 of file SampleProf.h.
Referenced by llvm::sampleprof::SampleProfileReaderBinary::readHeader(), and llvm::sampleprof::SampleProfileWriterBinary::writeHeader().
1.8.6