[llvm] Introduction of Composite Profile section in ExtBinary format (PR #166553)
Snehasish Kumar via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 20 20:15:01 PDT 2026
================
@@ -61,6 +71,16 @@ static cl::opt<bool> WriteEytzingerNameTables(
cl::desc("Write Eytzinger 3-span layout for NameTable and parallel "
"FuncOffsetTable"));
+static cl::opt<bool>
+ ExtBinaryCompositeProf("extbinary-composite-prof", cl::init(false),
+ cl::Hidden,
+ cl::desc("Use the composite profile format"));
+
+/// Return whether the profile requires the composite ExtBinary representation.
+static bool usesCompositeProfile(const SampleProfileMap &ProfileMap) {
----------------
snehasish wrote:
This method is only called in one place and it would be clearer to inline the logic.
https://github.com/llvm/llvm-project/pull/166553
More information about the llvm-commits
mailing list