|
LLVM
4.0.0
|
Sort a LocationT->SampleT map by LocationT. More...
#include <SampleProf.h>
Public Types | |
| typedef std::pair< const LocationT, SampleT > | SamplesWithLoc |
| typedef SmallVector< const SamplesWithLoc *, 20 > | SamplesWithLocList |
Public Member Functions | |
| SampleSorter (const std::map< LocationT, SampleT > &Samples) | |
| const SamplesWithLocList & | get () const |
Sort a LocationT->SampleT map by LocationT.
It produces a sorted list of <LocationT, SampleT> records by ascending order of LocationT.
Definition at line 345 of file SampleProf.h.
| typedef std::pair<const LocationT, SampleT> llvm::sampleprof::SampleSorter< LocationT, SampleT >::SamplesWithLoc |
Definition at line 347 of file SampleProf.h.
| typedef SmallVector<const SamplesWithLoc *, 20> llvm::sampleprof::SampleSorter< LocationT, SampleT >::SamplesWithLocList |
Definition at line 348 of file SampleProf.h.
|
inline |
Definition at line 350 of file SampleProf.h.
References A, B, llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::SmallVectorTemplateCommon< T, typename >::end(), I, and llvm::SmallVectorTemplateBase< T, isPodLike >::push_back().
|
inline |
Definition at line 358 of file SampleProf.h.
Referenced by llvm::sampleprof::FunctionSamples::print().
1.8.6