Home
last modified time | relevance | path

Searched refs:ProfileIsCS (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DSampleProfReader.cpp459 ProfileIsCS = (CSProfileCount > 0); in readImpl()
465 FunctionSamples::ProfileIsCS = ProfileIsCS; in readImpl()
569 if (ProfileIsCS) { in readSampleContextFromTable()
731 FunctionSamples::ProfileIsCS = ProfileIsCS = true; in readOneSection()
766 assert((!ProfileIsCS || in readOneSection()
801 if (ProfileIsCS) in useFuncOffsetList()
903 if (ProfileIsCS) { in readFuncProfiles()
1009 assert((!CSProfileCount || ProfileIsCS) && in readFuncProfiles()
1123 if (!ProfileIsCS) { in readNameTable()
1139 if (!ProfileIsCS) in readNameTable()
[all …]
H A DSampleProfWriter.cpp276 if (FunctionSamples::ProfileIsCS) { in writeFuncOffsetTable()
306 if (FunctionSamples::ProfileIsCS || FunctionSamples::ProfileIsPreInlined) { in writeFuncMetadata()
310 if (!FunctionSamples::ProfileIsCS) { in writeFuncMetadata()
332 if (!FunctionSamples::ProfileIsProbeBased && !FunctionSamples::ProfileIsCS && in writeFuncMetadata()
430 (FunctionSamples::ProfileIsCS || FunctionSamples::ProfileIsPreInlined)) in writeOneSection()
432 if (Type == SecProfSummary && FunctionSamples::ProfileIsCS) in writeOneSection()
568 if (FunctionSamples::ProfileIsCS) in writeSample()
896 if ((FunctionSamples::ProfileIsCS || FunctionSamples::ProfileIsProbeBased) && in create()
H A DProfileSummaryBuilder.cpp214 if (UseContextLessSummary || (sampleprof::FunctionSamples::ProfileIsCS && in computeSummaryForProfiles()
H A DSampleProf.cpp45 bool FunctionSamples::ProfileIsCS = false; member in llvm::sampleprof::FunctionSamples
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp675 if (!FunctionSamples::ProfileIsCS) in getInstWeight()
706 if (FunctionSamples::ProfileIsCS) in findCalleeFunctionSamples()
738 if (FunctionSamples::ProfileIsCS) { in findIndirectCallFunctionSamples()
790 if (FunctionSamples::ProfileIsCS) in findFunctionSamples()
1058 if (!FunctionSamples::ProfileIsCS) { in findExternalInlineCandidate()
1163 FunctionSamples::ProfileIsCS) in inlineHotFunctions()
1226 if (!FunctionSamples::ProfileIsCS) in inlineHotFunctions()
1272 if (FunctionSamples::ProfileIsCS) in tryInlineCandidate()
1535 if (!FunctionSamples::ProfileIsCS) in inlineHotFunctionsWithPriority()
1655 if (!FunctionSamples::ProfileIsCS) { in generateMDProfMetadata()
[all …]
H A DSampleProfileMatcher.cpp882 FunctionSamples::ProfileIsCS); in runOnModule()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProf.h962 if (FunctionSamples::ProfileIsCS && getHeadSamples()) {
1200 LLVM_ABI static bool ProfileIsCS;
1438 bool ProfileIsCS = false) {
1440 flattenProfile(ProfileMap, TmpProfiles, ProfileIsCS);
1446 bool ProfileIsCS = false) {
1447 if (ProfileIsCS) {
H A DSampleProfReader.h486 bool profileIsCS() const { return ProfileIsCS; } in profileIsCS()
581 bool ProfileIsCS = false; variable
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp1600 std::optional<bool> ProfileIsCS; in mergeSampleProfile() local
1628 if (ProfileIsCS && ProfileIsCS != FunctionSamples::ProfileIsCS) in mergeSampleProfile()
1630 ProfileIsCS = FunctionSamples::ProfileIsCS; in mergeSampleProfile()
1656 if (ProfileIsCS && (SampleMergeColdContext || SampleTrimColdContext)) { in mergeSampleProfile()
1672 ProfileConverter::flattenProfile(ProfileMap, FunctionSamples::ProfileIsCS); in mergeSampleProfile()
1673 ProfileIsCS = FunctionSamples::ProfileIsCS = false; in mergeSampleProfile()
1674 } else if (ProfileIsCS && ProfileLayout == llvm::sampleprof::SPL_Nest) { in mergeSampleProfile()
1677 ProfileIsCS = FunctionSamples::ProfileIsCS = false; in mergeSampleProfile()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DProfiledCallGraph.h68 assert(!FunctionSamples::ProfileIsCS &&