Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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()
389 if (FunctionSamples::ProfileIsCS) in writeSample()
437 if (FunctionSamples::ProfileIsCS) { in writeSample()
528 writeNameIdx(Entry.first, FunctionSamples::ProfileIsCS)) in writeFuncOffsetTable()
[all …]
H A DSampleProfReader.cpp341 ProfileIsCS = (CSProfileCount > 0); in readImpl()
346 FunctionSamples::ProfileIsCS = ProfileIsCS; in readImpl()
597 FunctionSamples::ProfileIsCS = ProfileIsCS = true; in readOneSection()
711 } else if (FunctionSamples::ProfileIsCS) { in readFuncProfiles()
768 assert(ProfileIsCS == (CSProfileCount > 0) && in readFuncProfiles()
H A DProfileSummaryBuilder.cpp197 if (UseContextLessSummary || (sampleprof::FunctionSamples::ProfileIsCS && in computeSummaryForProfiles()
H A DSampleProf.cpp42 bool FunctionSamples::ProfileIsCS = false; member in llvm::sampleprof::FunctionSamples
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp421 bool ProfileIsCS = false; member in __anon1e220fe30111::SampleProfileLoader
538 if (!ProfileIsCS) in getInstWeight()
583 if (!ProfileIsCS) in getProbeWeight()
637 if (ProfileIsCS) in findCalleeFunctionSamples()
669 if (ProfileIsCS) { in findIndirectCallFunctionSamples()
722 if (ProfileIsCS) in findFunctionSamples()
965 if (!ProfileIsCS) { in findExternalInlineCandidate()
1052 if (FS->getEntrySamples() > 0 || ProfileIsCS) in inlineHotFunctions()
1114 if (ProfileIsCS) in inlineHotFunctions()
1196 if (ProfileIsCS) in tryInlineCandidate()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/
H A DSampleProf.h586 if (FunctionSamples::ProfileIsCS || FunctionSamples::ProfileIsProbeBased)
659 if (FunctionSamples::ProfileIsCS && getHeadSamples()) {
778 return FunctionSamples::ProfileIsCS ? Context.getNameWithContext() : Name;
880 static bool ProfileIsCS;
H A DSampleProfReader.h447 bool profileIsCS() const { return ProfileIsCS; } in profileIsCS()
503 bool ProfileIsCS = false; variable
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/IPO/
H A DProfiledCallGraph.h47 assert(!FunctionSamples::ProfileIsCS && "CS profile is not handled here"); in ProfiledCallGraph()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/
H A DProfileGenerator.cpp216 FunctionSamples::ProfileIsCS = true; in generateProfile()
447 FunctionSamples::ProfileIsCS = true; in generateProfile()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp678 Optional<bool> ProfileIsCS; in mergeSampleProfile() local
704 if (ProfileIsCS.hasValue() && ProfileIsCS != FunctionSamples::ProfileIsCS) in mergeSampleProfile()
706 ProfileIsCS = FunctionSamples::ProfileIsCS; in mergeSampleProfile()
729 if (ProfileIsCS && (SampleMergeColdContext || SampleTrimColdContext)) { in mergeSampleProfile()