Home
last modified time | relevance | path

Searched refs:Density (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/bolt/lib/Passes/
H A DHFSort.cpp55 Density((double)Samples / Size) { in Cluster()
67 Density = (double)Samples / Size; in Cluster()
111 Density = (double)Samples / Size; in merge()
119 Density = (double)Samples / Size; in merge()
126 Density = 0.0; in clear()
/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DProfileGenerator.cpp178 void ProfileGeneratorBase::showDensitySuggestion(double Density) { in showDensitySuggestion() argument
179 if (Density == 0.0) in showDensitySuggestion()
182 else if (Density < HotFunctionDensityThreshold) in showDensitySuggestion()
185 << format("%.1f", HotFunctionDensityThreshold / Density) in showDensitySuggestion()
194 << "% total samples: " << format("%.1f", Density) << "\n"; in showDensitySuggestion()
199 double Density = DBL_MAX; in calculateDensity() local
215 Density = in calculateDensity()
216 std::min(Density, static_cast<double>(FuncSamples->getTotalSamples()) / in calculateDensity()
220 return Density == DBL_MAX ? 0.0 : Density; in calculateDensity()
731 double Density = calculateDensity(Profiles, HotCountThreshold); in calculateAndShowDensity() local
[all …]
H A DProfileGenerator.h120 void showDensitySuggestion(double Density);
/llvm-project-15.0.7/bolt/include/bolt/Passes/
H A DHFSort.h37 double density() const { return Density; } in density()
65 double Density{0.0};
/llvm-project-15.0.7/llvm/docs/
H A DCodingStandards.rst1117 Density = 12