1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/lib/LTO
Teresa Johnson 048eeff265 [ThinLTO] Move loading of cache entry to client
Summary:
Have the cache pass back the path to the cache entry when it
is ready to be loaded, instead of a buffer.

For gold-plugin we can simply pass this file back to gold directly,
which avoids expensive writing of a separate tmp file. Ensure
the cache entry is not deleted on cleanup by adjusting the setting
of the IsTemporary flags.

Moved the loading of the buffer into llvm-lto2 to maintain current
behavior.

Reviewers: mehdi_amini

Subscribers: llvm-commits, mehdi_amini

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

llvm-svn: 279883
2016-08-26 23:29:14 +00:00
..
Caching.cpp [ThinLTO] Move loading of cache entry to client 2016-08-26 23:29:14 +00:00
CMakeLists.txt [ThinLTO] Add caching to the new LTO API 2016-08-23 21:30:12 +00:00
LLVMBuild.txt Restore "Resolution-based LTO API." 2016-08-11 14:58:12 +00:00
LTO.cpp Make writeToResolutionFile a static helper. 2016-08-26 20:19:35 +00:00
LTOBackend.cpp [ThinLTO] Add caching to the new LTO API 2016-08-23 21:30:12 +00:00
LTOCodeGenerator.cpp [lib/LTO] Add an assertion to catch invalid opt levels. 2016-08-26 15:22:59 +00:00
LTOModule.cpp Move legacy LTO interface headers to legacy/ directory. 2016-07-14 21:21:16 +00:00
ThinLTOCodeGenerator.cpp [PM] Rework the new PM support for building the ModuleSummaryIndex to 2016-08-19 07:49:19 +00:00
UpdateCompilerUsed.cpp Move legacy LTO interface headers to legacy/ directory. 2016-07-14 21:21:16 +00:00