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.cpp437 ProfileIsCS = (CSProfileCount > 0); in readImpl()
443 FunctionSamples::ProfileIsCS = ProfileIsCS; in readImpl()
547 if (ProfileIsCS) { in readSampleContextFromTable()
703 FunctionSamples::ProfileIsCS = ProfileIsCS = true; in readOneSection()
737 assert((!ProfileIsCS || in readOneSection()
772 if (ProfileIsCS) in useFuncOffsetList()
867 if (ProfileIsCS) { in readFuncProfiles()
947 assert((!CSProfileCount || ProfileIsCS) && in readFuncProfiles()
1061 if (!ProfileIsCS) { in readNameTable()
1077 if (!ProfileIsCS) in readNameTable()
[all …]
H A DSampleProfWriter.cpp278 if (FunctionSamples::ProfileIsCS) { in writeFuncOffsetTable()
308 if (FunctionSamples::ProfileIsCS || FunctionSamples::ProfileIsPreInlined) { in writeFuncMetadata()
312 if (!FunctionSamples::ProfileIsCS) { in writeFuncMetadata()
334 if (!FunctionSamples::ProfileIsProbeBased && !FunctionSamples::ProfileIsCS && in writeFuncMetadata()
432 (FunctionSamples::ProfileIsCS || FunctionSamples::ProfileIsPreInlined)) in writeOneSection()
434 if (Type == SecProfSummary && FunctionSamples::ProfileIsCS) in writeOneSection()
570 if (FunctionSamples::ProfileIsCS) in writeSample()
910 if ((FunctionSamples::ProfileIsCS || FunctionSamples::ProfileIsProbeBased) && in create()
H A DProfileSummaryBuilder.cpp205 if (UseContextLessSummary || (sampleprof::FunctionSamples::ProfileIsCS && in computeSummaryForProfiles()
H A DSampleProf.cpp44 bool FunctionSamples::ProfileIsCS = false; member in llvm::sampleprof::FunctionSamples
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp673 if (!FunctionSamples::ProfileIsCS) in getInstWeight()
704 if (FunctionSamples::ProfileIsCS) in findCalleeFunctionSamples()
736 if (FunctionSamples::ProfileIsCS) { in findIndirectCallFunctionSamples()
788 if (FunctionSamples::ProfileIsCS) in findFunctionSamples()
1057 if (!FunctionSamples::ProfileIsCS) { in findExternalInlineCandidate()
1162 FunctionSamples::ProfileIsCS) in inlineHotFunctions()
1225 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.cpp868 FunctionSamples::ProfileIsCS); in runOnModule()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProf.h950 if (FunctionSamples::ProfileIsCS && getHeadSamples()) {
1188 static bool ProfileIsCS;
1425 bool ProfileIsCS = false) {
1427 flattenProfile(ProfileMap, TmpProfiles, ProfileIsCS);
1433 bool ProfileIsCS = false) {
1434 if (ProfileIsCS) {
H A DSampleProfReader.h463 bool profileIsCS() const { return ProfileIsCS; } in profileIsCS()
529 bool ProfileIsCS = false; variable
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp1507 std::optional<bool> ProfileIsCS; in mergeSampleProfile() local
1535 if (ProfileIsCS && ProfileIsCS != FunctionSamples::ProfileIsCS) in mergeSampleProfile()
1537 ProfileIsCS = FunctionSamples::ProfileIsCS; in mergeSampleProfile()
1563 if (ProfileIsCS && (SampleMergeColdContext || SampleTrimColdContext)) { in mergeSampleProfile()
1579 ProfileConverter::flattenProfile(ProfileMap, FunctionSamples::ProfileIsCS); in mergeSampleProfile()
1580 ProfileIsCS = FunctionSamples::ProfileIsCS = false; in mergeSampleProfile()
1581 } else if (ProfileIsCS && ProfileLayout == llvm::sampleprof::SPL_Nest) { in mergeSampleProfile()
1584 ProfileIsCS = FunctionSamples::ProfileIsCS = false; in mergeSampleProfile()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DProfiledCallGraph.h68 assert(!FunctionSamples::ProfileIsCS &&