1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/lib/Bitcode/Writer
Haojie Wang 13f5c24893 ThinLTO Minimized Bitcode File Size Reduction
Summary: Currently the ThinLTO minimized bitcode file only strip the debug info, but there is still a lot of information in the minimized bit code file that will be not used for thin linker. In this patch, most of the extra information is striped to reduce the minimized bitcode file. Now only ModuleVersion, ModuleInfo, ModuleGlobalValueSummary, ModuleHash, Symtab and Strtab are left. Now the minimized bitcode file size is reduced to 15%-30% of the debug info stripped bitcode file size.

Reviewers: danielcdh, tejohnson, pcc

Reviewed By: pcc

Subscribers: mehdi_amini, aprantl, inglorion, eraman, llvm-commits

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

llvm-svn: 308760
2017-07-21 17:25:20 +00:00
..
BitcodeWriter.cpp ThinLTO Minimized Bitcode File Size Reduction 2017-07-21 17:25:20 +00:00
BitcodeWriterPass.cpp
BitWriter.cpp
CMakeLists.txt
LLVMBuild.txt Add missing library dependency. 2017-06-28 00:05:27 +00:00
ValueEnumerator.cpp [IR] Switch AttributeList to use an array for O(1) access 2017-05-23 17:01:48 +00:00
ValueEnumerator.h [Bitcode] Refactor attribute group writing to avoid getSlotAttributes 2017-04-24 20:38:30 +00:00