Home
last modified time | relevance | path

Searched refs:SampleCounter (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DPerfReader.cpp187 auto Ret = CtxCounterMap->emplace(Hashable<ContextKey>(Key), SampleCounter()); in collectSamplesFromFrame()
188 SampleCounter &SCounter = Ret.first->second; in collectSamplesFromFrame()
723 using OrderedCounterForPrint = std::map<std::string, SampleCounter *>;
763 SampleCounter &Counter = *CI.second; in writeUnsymbolizedProfile()
781 SampleCounter &SCounters) { in readSampleCounters()
850 SampleCounters.emplace(Hashable<ContextKey>(Key), SampleCounter()); in readUnsymbolizedProfile()
861 SampleCounter &Counter = SampleCounters.begin()->second; in computeCounterFromLBR()
901 SampleCounters.emplace(Hashable<ContextKey>(Key), SampleCounter()); in generateUnsymbolizedProfile()
H A DPerfReader.h400 struct SampleCounter { struct
415 std::unordered_map<Hashable<ContextKey>, SampleCounter, argument
733 void readSampleCounters(TraceStream &TraceIt, SampleCounter &SCounters);
H A DProfileGenerator.cpp521 const SampleCounter &SC = SampleCounters->begin()->second; in generateLineNumBasedProfile()
535 const SampleCounter &SC = SampleCounters->begin()->second; in generateProbeBasedProfile()