|
LLVM
5.0.0
|
Sort a LocationT->SampleT map by LocationT. More...
#include "llvm/ProfileData/SampleProf.h"
Public Types | |
| using | SamplesWithLoc = std::pair< const LocationT, SampleT > |
| using | SamplesWithLocList = SmallVector< const SamplesWithLoc *, 20 > |
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 400 of file SampleProf.h.
| using llvm::sampleprof::SampleSorter< LocationT, SampleT >::SamplesWithLoc = std::pair<const LocationT, SampleT> |
Definition at line 402 of file SampleProf.h.
| using llvm::sampleprof::SampleSorter< LocationT, SampleT >::SamplesWithLocList = SmallVector<const SamplesWithLoc *, 20> |
Definition at line 403 of file SampleProf.h.
|
inline |
Definition at line 405 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 414 of file SampleProf.h.
Referenced by llvm::sampleprof::FunctionSamples::print().
1.8.6