HomeSort by: relevance | last modified time | path
    Searched refs:Profiles (Results 1 - 14 of 14) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/
CSPreInliner.cpp 38 CSPreInliner::CSPreInliner(StringMap<FunctionSamples> &Profiles,
40 : ContextTracker(Profiles), ProfileMap(Profiles),
186 auto printProfileNames = [](StringMap<FunctionSamples> &Profiles,
188 dbgs() << (IsInput ? "Input" : "Output") << " context-sensitive profiles ("
189 << Profiles.size() << " total):\n";
190 for (auto &It : Profiles) {
202 // decision and merge profiles accordingly. This helps with profile
203 // merge for ThinLTO otherwise we won't be able to merge profiles back
212 // Not inlined context profiles are merged into its base, so we ca
    [all...]
CSPreInliner.h 70 CSPreInliner(StringMap<FunctionSamples> &Profiles, uint64_t HotThreshold,
  /src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/
SampleProfReader.h 9 // This file contains definitions needed for reading sample profiles.
18 // Sample profiles are written as ASCII text. The file is divided into
346 : Profiles(0), Ctx(C), Buffer(std::move(B)), Format(Format) {}
353 /// The interface to read sample profiles from the associated file.
363 /// The implementaion to read sample profiles from the associated file.
370 /// support loading function profiles on demand, return true when the
372 /// which doesn't support loading function profiles on demand.
375 /// Print all the profiles on stream \p OS.
393 return &Profiles[CanonName];
400 auto It = Profiles.find(Fname)
    [all...]
ProfileCommon.h 96 const StringMap<sampleprof::FunctionSamples> &Profiles);
SampleProfWriter.h 9 // This file contains definitions needed for writing sample profiles.
47 /// Write sample profiles in \p S.
52 /// Write all the sample profiles in the given map of samples.
84 // Write function profiles to the profile file.
165 // to read each section. To read function profiles on demand, sample
211 // profiles collected from running other targets.
267 std::error_code writeFuncMetadata(const StringMap<FunctionSamples> &Profiles);
354 // so by using the function offset table, for those function profiles which
SampleProf.h 188 /// The common profile is usually merged from profiles collected
520 // NOTE: Using a StringMap here makes parsed profiles consume around 17% more
521 // memory, which is *very* significant for large profiles.
714 // The two profiles coming with different valid hash codes indicates
982 /// context profiles. It also supports context profile canonicalization to make
986 SampleContextTrimmer(StringMap<FunctionSamples> &Profiles)
987 : ProfileMap(Profiles){};
  /src/external/apache2/llvm/dist/llvm/lib/ProfileData/
ProfileSummaryBuilder.cpp 27 cl::desc("Merge context profiles before calculating thresholds."));
97 // instrumentation profiles.
186 const StringMap<sampleprof::FunctionSamples> &Profiles) {
190 const StringMap<sampleprof::FunctionSamples> *ProfilesToUse = &Profiles;
194 // more function profiles each with lower counts, which in turn leads to lower
196 // profiles before coumputing profile summary.
199 for (const auto &I : Profiles) {
SampleProfReader.cpp 9 // This file implements the class that reads LLVM sample profiles. It
54 OS << "Function: " << FName << ": " << Profiles[FName];
57 /// Dump all the function profiles found on stream \p OS.
59 for (const auto &I : Profiles)
268 Profiles[FContext] = FunctionSamples();
269 FunctionSamples &FProfile = Profiles[FContext];
339 assert((CSProfileCount == 0 || CSProfileCount == Profiles.size()) &&
342 assert((ProbeProfileCount == 0 || ProbeProfileCount == Profiles.size()) &&
343 "Cannot have both probe-based profiles and regular profiles");
    [all...]
SampleProfWriter.cpp 9 // This file implements the class that writes LLVM sample profiles. It
176 const StringMap<FunctionSamples> &Profiles) {
180 for (const auto &Entry : Profiles) {
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/IPO/
SampleContextTracker.h 34 // profiles. The path from root node to a given node represents the context of
84 // Profile tracker that manages profiles and its associated context. It
88 // accurate post-inline profile for functions. Internally context profiles
95 SampleContextTracker(StringMap<FunctionSamples> &Profiles);
112 // of all context profiles for contexts that are not inlined.
144 // Map from function name to context profiles (excluding base profile)
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
SampleContextTracker.cpp 178 // Profiler tracker than manages profiles and its associated context
180 StringMap<FunctionSamples> &Profiles) {
181 for (auto &FuncSample : Profiles) {
298 // create synthetic base profile and merge context profiles
347 // promote all non-inlined child context profiles.
  /src/external/apache2/llvm/dist/llvm/tools/llvm-profdata/
llvm-profdata.cpp 82 // Hint for common error of forgetting --sample for sample profiles.
215 // Skip the empty profiles by returning sliently.
244 // Skip the empty profiles by returning sliently.
396 exitWithError("No profiles could be merged.");
503 // and adjust the profiles of those functions in the instr profile.
698 StringMap<FunctionSamples> &Profiles = Reader->getProfiles();
707 for (StringMap<FunctionSamples>::iterator I = Profiles.begin(),
708 E = Profiles.end();
867 "Fail only if all profiles are invalid.")));
890 "Merge context sample profiles whose count is below cold threshold"))
    [all...]
  /src/external/bsd/jemalloc/dist/bin/
jeprof.in 98 # These are used for dynamic profiles
101 # These are the web pages that servers need to support for dynamic profiles
119 my $PROFILES = "($HEAP_PAGE|$PROFILE_PAGE|$PMUPROFILE_PAGE|" .
128 # 64-bit profiles. To err on the safe size, default to 64-bit here:
149 jeprof [options] <program> <profiles>
150 <profiles> is a space separated list of profile names.
151 jeprof [options] <symbolized-profiles>
152 <symbolized-profiles> is a list of profile files where each file contains
183 --seconds=<n> Length of time for dynamic profiles [default=30 secs]
246 JEPROF_TMPDIR Profiles directory. Defaults to \$HOME/jepro
    [all...]
  /src/external/bsd/jemalloc.old/dist/bin/
jeprof.in 98 # These are used for dynamic profiles
101 # These are the web pages that servers need to support for dynamic profiles
119 my $PROFILES = "($HEAP_PAGE|$PROFILE_PAGE|$PMUPROFILE_PAGE|" .
128 # 64-bit profiles. To err on the safe size, default to 64-bit here:
149 jeprof [options] <program> <profiles>
150 <profiles> is a space separated list of profile names.
151 jeprof [options] <symbolized-profiles>
152 <symbolized-profiles> is a list of profile files where each file contains
183 --seconds=<n> Length of time for dynamic profiles [default=30 secs]
246 JEPROF_TMPDIR Profiles directory. Defaults to \$HOME/jepro
    [all...]

Completed in 25 milliseconds