1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 05:23:45 +02:00
llvm-mirror/lib/Bitcode/Writer
Teresa Johnson 3e48c70c20 [PM] Port ModuleSummaryIndex analysis to new pass manager
Summary:
Port the ModuleSummaryAnalysisWrapperPass to the new pass manager.
Use it in the ported BitcodeWriterPass (similar to how we use the
legacy ModuleSummaryAnalysisWrapperPass in the legacy WriteBitcodePass).

Also, pass the -module-summary opt flag through to the new pass
manager pipeline and through to the bitcode writer pass, and add
a test that uses it.

Reviewers: mehdi_amini

Subscribers: llvm-commits, mehdi_amini

Differential Revision: https://reviews.llvm.org/D23439

llvm-svn: 278508
2016-08-12 13:53:02 +00:00
..
BitcodeWriter.cpp Don't import variadic functions 2016-08-11 22:13:57 +00:00
BitcodeWriterPass.cpp [PM] Port ModuleSummaryIndex analysis to new pass manager 2016-08-12 13:53:02 +00:00
BitWriter.cpp
CMakeLists.txt
LLVMBuild.txt [ThinLTO] BitcodeWriter still requires Analysis library 2016-04-11 14:59:07 +00:00
ValueEnumerator.cpp Add an assertion for the value enumerator (bitcode writer) NFC 2016-07-08 01:13:41 +00:00
ValueEnumerator.h IR: Allow metadata attachments on declarations, and fix lazy loaded metadata issue with globals. 2016-06-21 23:42:48 +00:00