Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DPerfReader.h123 template <class T> class Hashable {
126 Hashable(const std::shared_ptr<T> &D) : Data(D) {} in Hashable() function
130 uint64_t operator()(const Hashable<T> &Key) const { in operator()
140 bool operator()(const Hashable<T> &LHS, const Hashable<T> &RHS) const { in operator()
208 std::unordered_map<Hashable<PerfSample>, uint64_t,
209 Hashable<PerfSample>::Hash, Hashable<PerfSample>::Equal>;
415 std::unordered_map<Hashable<ContextKey>, SampleCounter,
416 Hashable<ContextKey>::Hash, Hashable<ContextKey>::Equal>;
H A DPerfReader.cpp187 auto Ret = CtxCounterMap->emplace(Hashable<ContextKey>(Key), SampleCounter()); in collectSamplesFromFrame()
706 AggregatedSamples[Hashable<PerfSample>(Sample)] += Count; in parseSample()
850 SampleCounters.emplace(Hashable<ContextKey>(Key), SampleCounter()); in readUnsymbolizedProfile()
890 AggregatedSamples[Hashable<PerfSample>(Sample)] += Count; in parseSample()
901 SampleCounters.emplace(Hashable<ContextKey>(Key), SampleCounter()); in generateUnsymbolizedProfile()
/llvm-project-15.0.7/compiler-rt/lib/orc/unittests/
H A Dexecutor_address_test.cpp79 TEST(ExecutorAddrTest, Hashable) { in TEST() argument