Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp571 if (!FunctionSamples::ProfileIsCS) in getInstWeight()
610 if (!FunctionSamples::ProfileIsCS) in getProbeWeight()
664 if (FunctionSamples::ProfileIsCS) in findCalleeFunctionSamples()
696 if (FunctionSamples::ProfileIsCS) { in findIndirectCallFunctionSamples()
749 if (FunctionSamples::ProfileIsCS) in findFunctionSamples()
1191 if (!FunctionSamples::ProfileIsCS) in inlineHotFunctions()
1240 if (FunctionSamples::ProfileIsCS) in tryInlineCandidate()
1502 if (!FunctionSamples::ProfileIsCS) in inlineHotFunctionsWithPriority()
1785 if (FunctionSamples::ProfileIsCS) in buildProfiledCallGraph()
2071 if (!FunctionSamples::ProfileIsCS) in runOnModule()
[all …]
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DSampleProfWriter.cpp173 if (FunctionSamples::ProfileIsCS) { in writeFuncOffsetTable()
203 if (FunctionSamples::ProfileIsCS || FunctionSamples::ProfileIsPreInlined) { in writeFuncMetadata()
207 if (!FunctionSamples::ProfileIsCS) { in writeFuncMetadata()
229 if (!FunctionSamples::ProfileIsProbeBased && !FunctionSamples::ProfileIsCS && in writeFuncMetadata()
325 (FunctionSamples::ProfileIsCS || FunctionSamples::ProfileIsPreInlined)) in writeOneSection()
327 if (Type == SecProfSummary && FunctionSamples::ProfileIsCS) in writeOneSection()
472 if (FunctionSamples::ProfileIsCS) in writeSample()
872 if ((FunctionSamples::ProfileIsCS || FunctionSamples::ProfileIsProbeBased) && in create()
H A DSampleProfReader.cpp361 ProfileIsCS = (CSProfileCount > 0); in readImpl()
367 FunctionSamples::ProfileIsCS = ProfileIsCS; in readImpl()
633 if (ProfileIsCS) { in readSampleContextFromTable()
657 FunctionSamples::ProfileIsCS = ProfileIsCS = true; in readOneSection()
780 if (ProfileIsCS) { in readFuncProfiles()
850 assert((!CSProfileCount || ProfileIsCS) && in readFuncProfiles()
1106 if (!ProfileIsCS) { in readFuncMetadata()
H A DProfileSummaryBuilder.cpp199 if (UseContextLessSummary || (sampleprof::FunctionSamples::ProfileIsCS && in computeSummaryForProfiles()
H A DSampleProf.cpp44 bool FunctionSamples::ProfileIsCS = false; member in llvm::sampleprof::FunctionSamples
/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DProfileGenerator.cpp116 bool ProfileIsCS) { in create() argument
118 if (ProfileIsCS) { in create()
133 bool ProfileIsCS) { in create() argument
135 if (ProfileIsCS) { in create()
770 FunctionSamples::ProfileIsCS = true; in generateProfile()
1015 FunctionSamples::ProfileIsCS = false; in postProcessProfiles()
1036 FunctionSamples::ProfileIsCS = false; in computeSummaryAndThreshold()
1043 FunctionSamples::ProfileIsCS = true; in computeSummaryAndThreshold()
H A DPerfReader.cpp757 if (ProfileIsCS) { in writeUnsymbolizedProfile()
844 ProfileIsCS = true; in readUnsymbolizedProfile()
1060 ProfileIsCS = !IgnoreStackSamples; in generateUnsymbolizedProfile()
1061 if (ProfileIsCS) in generateUnsymbolizedProfile()
H A DPerfReader.h579 bool profileIsCS() { return ProfileIsCS; } in profileIsCS()
586 bool ProfileIsCS = false; variable
/llvm-project-15.0.7/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp758 Optional<bool> ProfileIsCS; in mergeSampleProfile() local
785 if (ProfileIsCS && ProfileIsCS != FunctionSamples::ProfileIsCS) in mergeSampleProfile()
787 ProfileIsCS = FunctionSamples::ProfileIsCS; in mergeSampleProfile()
810 if (ProfileIsCS && (SampleMergeColdContext || SampleTrimColdContext)) { in mergeSampleProfile()
825 if (ProfileIsCS && GenCSNestedProfile) { in mergeSampleProfile()
828 ProfileIsCS = FunctionSamples::ProfileIsCS = false; in mergeSampleProfile()
/llvm-project-15.0.7/llvm/include/llvm/ProfileData/
H A DSampleProfReader.h474 bool profileIsCS() const { return ProfileIsCS; } in profileIsCS()
537 bool ProfileIsCS = false; variable
H A DSampleProf.h891 if (FunctionSamples::ProfileIsCS && getHeadSamples()) {
1108 static bool ProfileIsCS;
/llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/
H A DProfiledCallGraph.h68 assert(!FunctionSamples::ProfileIsCS && in ProfiledCallGraph()