[PATCH] D80403: [ThinLTO] Compute the basic block count across modules.

Hiroshi Yamauchi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 21 14:05:34 PDT 2020


yamauchi created this revision.
yamauchi added a reviewer: davidxl.
Herald added subscribers: arphaman, dexonsmith, steven_wu, MaskRay, hiraditya, inglorion, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.
yamauchi added a parent revision: D79831: [PGO] Improve the working set size heuristics under the partial sample PGO..

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 <https://reviews.llvm.org/D79831>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D80403

Files:
  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.cpp
  llvm/lib/AsmParser/LLParser.h
  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/summary_version.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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80403.265591.patch
Type: text/x-patch
Size: 20446 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200521/48506a7b/attachment.bin>


More information about the llvm-commits mailing list