llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter
Haojie Wang 1dec57d5b0 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
..
circular-reference.ll ThinLTOBitcodeWriter: Do not follow operand edges of type GlobalValue when looking for virtual functions. 2017-03-02 23:10:17 +00:00
comdat.ll ThinLTOBitcodeWriter: keep comdats together, rename if leader is renamed 2017-04-12 01:43:07 +00:00
filter-alias.ll ThinLTOBitcodeWriter: handle aliases first in filterModule 2017-04-05 00:42:07 +00:00
new-pm.ll [ThinLTO] Migrate ThinLTOBitcodeWriter to the new PM. 2017-06-01 01:02:12 +00:00
no-type-md.ll ThinLTO Minimized Bitcode File Size Reduction 2017-07-21 17:25:20 +00:00
pr33536.ll [PM/ThinLTO] Fix PR33536, a bug where the ThinLTO bitcode writer was 2017-07-11 05:39:20 +00:00
split-internal-typeid.ll
split-internal1.ll
split-internal2.ll
split-vfunc-internal.ll ThinLTOBitcodeWriter: Write available_externally copies of VCP eligible functions to merged module. 2017-02-14 03:42:38 +00:00
split-vfunc.ll ThinLTOBitcodeWriter: Do not rewrite intrinsic functions when splitting modules. 2017-07-19 17:54:29 +00:00
split.ll ThinLTO Minimized Bitcode File Size Reduction 2017-07-21 17:25:20 +00:00
unsplittable.ll [ThinLTO] Add support for emitting minimized bitcode for thin link 2017-03-23 19:47:39 +00:00