LLVM
8.0.1
|
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 542 of file SampleProf.h.
using llvm::sampleprof::SampleSorter< LocationT, SampleT >::SamplesWithLoc = std::pair<const LocationT, SampleT> |
Definition at line 544 of file SampleProf.h.
using llvm::sampleprof::SampleSorter< LocationT, SampleT >::SamplesWithLocList = SmallVector<const SamplesWithLoc *, 20> |
Definition at line 545 of file SampleProf.h.
|
inline |
Definition at line 547 of file SampleProf.h.
|
inline |
Definition at line 556 of file SampleProf.h.
Referenced by llvm::sampleprof::FunctionSamples::print().