Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/ProfileData/
H A DSampleProfWriter.cpp167 writeNameIdx(Entry.first, FunctionSamples::ProfileIsCS)) in writeFuncOffsetTable()
177 if (!FunctionSamples::ProfileIsProbeBased && !FunctionSamples::ProfileIsCS) in writeFuncMetadata()
182 FunctionSamples::ProfileIsCS)) in writeFuncMetadata()
186 if (FunctionSamples::ProfileIsCS) in writeFuncMetadata()
215 addName(I.second.getNameWithContext(), FunctionSamples::ProfileIsCS); in writeNameTableSection()
251 if (Type == SecProfSummary && FunctionSamples::ProfileIsCS) in writeOneSection()
253 if (Type == SecFuncMetadata && FunctionSamples::ProfileIsCS) in writeOneSection()
391 if (FunctionSamples::ProfileIsCS) in writeSample()
439 if (FunctionSamples::ProfileIsCS) { in writeSample()
530 writeNameIdx(Entry.first, FunctionSamples::ProfileIsCS)) in writeFuncOffsetTable()
[all …]
H A DSampleProfReader.cpp356 ProfileIsCS = (CSProfileCount > 0); in readImpl()
361 FunctionSamples::ProfileIsCS = ProfileIsCS; in readImpl()
619 FunctionSamples::ProfileIsCS = ProfileIsCS = true; in readOneSection()
735 } else if (FunctionSamples::ProfileIsCS) { in readFuncProfiles()
792 assert(ProfileIsCS == (CSProfileCount > 0) && in readFuncProfiles()
H A DProfileSummaryBuilder.cpp195 if (UseContextLessSummary || (sampleprof::FunctionSamples::ProfileIsCS && in computeSummaryForProfiles()
H A DSampleProf.cpp42 bool FunctionSamples::ProfileIsCS = false; member in llvm::sampleprof::FunctionSamples
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp541 if (!ProfileIsCS) in getInstWeight()
580 if (!ProfileIsCS) in getProbeWeight()
634 if (ProfileIsCS) in findCalleeFunctionSamples()
666 if (ProfileIsCS) { in findIndirectCallFunctionSamples()
719 if (ProfileIsCS) in findFunctionSamples()
962 if (!ProfileIsCS) { in findExternalInlineCandidate()
1111 if (ProfileIsCS) in inlineHotFunctions()
1197 if (ProfileIsCS) in tryInlineCandidate()
1632 if (ProfileIsCS) in INITIALIZE_PASS_DEPENDENCY()
1896 if (!ProfileIsCS) in runOnModule()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DProfiledCallGraph.h46 assert(!FunctionSamples::ProfileIsCS && "CS profile is not handled here"); in ProfiledCallGraph()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProfReader.h468 bool profileIsCS() const { return ProfileIsCS; } in profileIsCS()
524 bool ProfileIsCS = false; variable
H A DSampleProf.h666 if (FunctionSamples::ProfileIsCS && getHeadSamples()) {
785 return FunctionSamples::ProfileIsCS ? Context.getNameWithContext() : Name;
883 static bool ProfileIsCS;
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp698 Optional<bool> ProfileIsCS; in mergeSampleProfile() local
725 if (ProfileIsCS.hasValue() && ProfileIsCS != FunctionSamples::ProfileIsCS) in mergeSampleProfile()
727 ProfileIsCS = FunctionSamples::ProfileIsCS; in mergeSampleProfile()
750 if (ProfileIsCS && (SampleMergeColdContext || SampleTrimColdContext)) { in mergeSampleProfile()