Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/ProfileData/
H A DSampleProf.h763 if (I != BodySamples.end()) {
767 BodySamples.erase(I);
781 for (auto &I : BodySamples) {
795 for (const auto &I : BodySamples)
822 if (ret == BodySamples.end())
833 if (ret == BodySamples.end())
842 const auto &Ret = BodySamples.find(CallSite);
843 if (Ret == BodySamples.end())
899 if (!BodySamples.empty() &&
989 for (const auto &BS : BodySamples)
[all …]
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DSampleProf.cpp159 OS << TotalSamples << ", " << TotalHeadSamples << ", " << BodySamples.size() in print()
163 if (!BodySamples.empty()) { in print()
165 SampleSorter<LineLocation, SampleRecord> SortedBodySamples(BodySamples); in print()
274 for (const auto &BS : BodySamples) in findAllNames()
/llvm-project-15.0.7/llvm/unittests/ProfileData/
H A DSampleProfTest.cpp457 ErrorOr<uint64_t> BodySamples = FooSamples.findSamplesAt(10, 0); in TEST_F() local
458 ASSERT_FALSE(BodySamples.getError()); in TEST_F()
459 ASSERT_EQ(BodySamples.get(), Max); in TEST_F()