[PATCH] D54175: [PGO] context sensitive PGO

Rong Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 7 18:25:31 PST 2019


xur updated this revision to Diff 185907.
xur marked 14 inline comments as done.
xur added a comment.

Integrated the review comments from Teresa and David.
Added unit tests for
(1) llvm-profdata
(2) context-sensitive profile summary
(3) opt new options and passes
(4) gold plugin
(5) using lto2 to test csgen and csuse.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D54175/new/

https://reviews.llvm.org/D54175

Files:
  CMakeLists.txt
  cmake/modules/HandleLLVMOptions.cmake
  docs/CommandGuide/llvm-profdata.rst
  include/llvm/Analysis/ProfileSummaryInfo.h
  include/llvm/IR/Module.h
  include/llvm/IR/ProfileSummary.h
  include/llvm/InitializePasses.h
  include/llvm/LTO/Config.h
  include/llvm/LinkAllPasses.h
  include/llvm/Passes/PassBuilder.h
  include/llvm/ProfileData/InstrProf.h
  include/llvm/ProfileData/InstrProfData.inc
  include/llvm/ProfileData/InstrProfReader.h
  include/llvm/ProfileData/InstrProfWriter.h
  include/llvm/Transforms/IPO/PassManagerBuilder.h
  include/llvm/Transforms/Instrumentation.h
  include/llvm/Transforms/Instrumentation/InstrProfiling.h
  include/llvm/Transforms/Instrumentation/PGOInstrumentation.h
  lib/Analysis/ProfileSummaryInfo.cpp
  lib/IR/Module.cpp
  lib/IR/ProfileSummary.cpp
  lib/LTO/LTOBackend.cpp
  lib/Passes/PassBuilder.cpp
  lib/ProfileData/InstrProf.cpp
  lib/ProfileData/InstrProfReader.cpp
  lib/ProfileData/InstrProfWriter.cpp
  lib/Transforms/IPO/HotColdSplitting.cpp
  lib/Transforms/IPO/PassManagerBuilder.cpp
  lib/Transforms/IPO/SampleProfile.cpp
  lib/Transforms/Instrumentation/InstrProfiling.cpp
  lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  test/Other/Inputs/cspgo-cs.proftext
  test/Other/Inputs/cspgo-noncs.proftext
  test/Other/new-pm-cspgo.ll
  test/Transforms/PGOProfile/Inputs/cspgo.proftext
  test/Transforms/PGOProfile/Inputs/thinlto_cs.proftext
  test/Transforms/PGOProfile/Inputs/thinlto_cspgo_bar_gen.ll
  test/Transforms/PGOProfile/Inputs/thinlto_cspgo_bar_use.ll
  test/Transforms/PGOProfile/cspgo_profile_summary.ll
  test/Transforms/PGOProfile/thinlto_cspgo_gen.ll
  test/Transforms/PGOProfile/thinlto_cspgo_use.ll
  test/tools/gold/X86/Inputs/cspgo.proftext
  test/tools/gold/X86/Inputs/thinlto_cspgo_bar.ll
  test/tools/gold/X86/thinlto_cspgo.ll
  test/tools/llvm-profdata/Inputs/CSIR_profile.proftext
  test/tools/llvm-profdata/Inputs/cs.proftext
  test/tools/llvm-profdata/Inputs/noncs.proftext
  test/tools/llvm-profdata/csprof-dump.test
  tools/gold/gold-plugin.cpp
  tools/llvm-lto2/llvm-lto2.cpp
  tools/llvm-profdata/llvm-profdata.cpp
  tools/opt/NewPMDriver.cpp
  tools/opt/NewPMDriver.h
  tools/opt/opt.cpp
  unittests/ProfileData/InstrProfTest.cpp
  unittests/ProfileData/SampleProfTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54175.185907.patch
Type: text/x-patch
Size: 136955 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190208/3c39c5cb/attachment-0001.bin>


More information about the llvm-commits mailing list