Count the per-module number of basic blocks when the module summary is computed
and sum them up during Thin LTO indexing.
This is used to estimate the working set size under the partial sample PGO.
This is split off of D79831.
Paths
| Differential D80403
[ThinLTO] Compute the basic block count across modules. ClosedPublic Authored by hjyamauchi on May 21 2020, 1:35 PM.
Details Summary Count the per-module number of basic blocks when the module summary is computed This is used to estimate the working set size under the partial sample PGO. This is split off of D79831.
Diff Detail
Event Timeline
This revision is now accepted and ready to land.May 27 2020, 12:04 PM Closed by commit rGa7fa35a629e8: [ThinLTO] Compute the basic block count across modules. (authored by hjyamauchi). · Explain WhyMay 28 2020, 11:00 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 266953 lld/test/COFF/thinlto-index-only.ll
lld/test/ELF/lto/thinlto-index-only.ll
llvm/include/llvm/Bitcode/LLVMBitCodes.h
llvm/include/llvm/IR/ModuleSummaryIndex.h
llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
llvm/lib/AsmParser/LLLexer.cpp
llvm/lib/AsmParser/LLParser.h
llvm/lib/AsmParser/LLParser.cpp
llvm/lib/AsmParser/LLToken.h
llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
llvm/lib/IR/AsmWriter.cpp
llvm/test/Assembler/thinlto-vtable-summary.ll
llvm/test/Bitcode/thinlto-alias.ll
llvm/test/Bitcode/thinlto-alias2.ll
llvm/test/Bitcode/thinlto-function-summary-callgraph-cast.ll
llvm/test/Bitcode/thinlto-function-summary-callgraph-pgo.ll
llvm/test/Bitcode/thinlto-function-summary-callgraph-profile-summary.ll
llvm/test/Bitcode/thinlto-function-summary-callgraph-relbf.ll
llvm/test/Bitcode/thinlto-function-summary-callgraph-sample-profile-summary.ll
llvm/test/Bitcode/thinlto-function-summary-callgraph.ll
llvm/test/Bitcode/thinlto-function-summary-originalnames.ll
llvm/test/Bitcode/thinlto-function-summary.ll
llvm/test/ThinLTO/X86/distributed_indexes.ll
llvm/test/tools/llvm-lto/thinlto.ll
|
Also specify that this would be the total number of bbs in the LTO unit in the combined index (it is the total in the module in the per-module summary).