Home
last modified time | relevance | path

Searched refs:CallsiteSamples (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProf.h819 CallsiteSamples.clear();
841 for (auto &I : CallsiteSamples) {
852 for (auto &I : CallsiteSamples) {
907 return CallsiteSamples[mapIRLocToProfileLoc(Loc)];
913 auto Iter = CallsiteSamples.find(mapIRLocToProfileLoc(Loc));
914 if (Iter == CallsiteSamples.end())
959 (CallsiteSamples.empty() ||
960 BodySamples.begin()->first < CallsiteSamples.begin()->first))
962 else if (!CallsiteSamples.empty()) {
965 for (const auto &FuncSamples : CallsiteSamples.begin()->second)
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DSampleProf.cpp177 if (!CallsiteSamples.empty()) { in print()
180 CallsiteSamples); in print()
273 for (const auto &CS : CallsiteSamples) { in findAllNames()
288 auto I = CallsiteSamples.find(mapIRLocToProfileLoc(Loc)); in findFunctionSamplesAt()
289 if (I == CallsiteSamples.end()) in findFunctionSamplesAt()
H A DSampleProfReader.cpp104 auto DumpCallsiteSamples = [&](const CallsiteSampleMap &CallsiteSamples) { in dumpFunctionProfileJson() argument
105 for (const auto &I : CallsiteSamples) in dumpFunctionProfileJson()
129 const auto &CallsiteSamples = S.getCallsiteSamples(); in dumpFunctionProfileJson() local
130 if (!CallsiteSamples.empty()) in dumpFunctionProfileJson()
132 [&] { DumpCallsiteSamples(CallsiteSamples); }); in dumpFunctionProfileJson()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DProfiledCallGraph.h180 for (const auto &CallsiteSamples : Samples.getCallsiteSamples()) { in addProfiledCalls() local
181 for (const auto &InlinedSamples : CallsiteSamples.second) { in addProfiledCalls()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfileMatcher.cpp587 uint64_t CallsiteSamples = 0; in countMismatchedCallsiteSamples() local
589 CallsiteSamples += CS.second.getTotalSamples(); in countMismatchedCallsiteSamples()
590 AttributeMismatchedSamples(State, CallsiteSamples); in countMismatchedCallsiteSamples()
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp1418 for (const auto &CallsiteSamples : Samples.getCallsiteSamples()) { in remapSamples() local
1420 Result.functionSamplesAt(CallsiteSamples.first); in remapSamples()
1421 for (const auto &Callsite : CallsiteSamples.second) { in remapSamples()