Home
last modified time | relevance | path

Searched refs:FunctionProfile (Results 1 – 4 of 4) sorted by relevance

/openbsd-src/gnu/llvm/llvm/tools/llvm-profgen/
H A DProfileGenerator.cpp370 FunctionSamples &FunctionProfile, const SampleContextFrame &LeafLoc, in updateBodySamplesforFunctionProfile() argument
381 FunctionProfile.findSamplesAt(LeafLoc.Location.LineOffset, Discriminator); in updateBodySamplesforFunctionProfile()
385 FunctionProfile.addBodySamples(LeafLoc.Location.LineOffset, Discriminator, in updateBodySamplesforFunctionProfile()
392 FunctionSamples &FunctionProfile = Item.second; in updateTotalSamples() local
393 FunctionProfile.updateTotalSamples(); in updateTotalSamples()
399 FunctionSamples &FunctionProfile = Item.second; in updateCallsiteSamples() local
400 FunctionProfile.updateCallsiteSamples(); in updateCallsiteSamples()
563 FunctionSamples &FunctionProfile = in populateBodySamplesWithProbesForAllFunctions() local
565 FunctionProfile.addBodySamplesForProbe(Probe->getIndex(), Count); in populateBodySamplesWithProbesForAllFunctions()
567 FunctionProfile.addHeadSamples(Count); in populateBodySamplesWithProbesForAllFunctions()
[all …]
H A DProfileGenerator.h101 void updateBodySamplesforFunctionProfile(FunctionSamples &FunctionProfile,
323 void populateBodySamplesForFunction(FunctionSamples &FunctionProfile,
/openbsd-src/gnu/llvm/llvm/lib/ProfileData/
H A DSampleProfWriter.cpp196 const FunctionSamples &FunctionProfile) { in writeFuncMetadata() argument
198 if (std::error_code EC = writeContextIdx(FunctionProfile.getContext())) in writeFuncMetadata()
202 encodeULEB128(FunctionProfile.getFunctionHash(), OS); in writeFuncMetadata()
204 encodeULEB128(FunctionProfile.getContext().getAllAttributes(), OS); in writeFuncMetadata()
210 for (const auto &J : FunctionProfile.getCallsiteSamples()) in writeFuncMetadata()
213 for (const auto &J : FunctionProfile.getCallsiteSamples()) { in writeFuncMetadata()
H A DSampleProf.cpp363 const FunctionSamples &FunctionProfile = I.second; in trimAndMergeColdContextProfiles() local
364 if (FunctionProfile.getTotalSamples() < ColdCountThreshold && in trimAndMergeColdContextProfiles()