Move ModuleSummaryAnalysis from libAnalysis to libObject to break the dependency...
authorMehdi Amini <joker.eph@gmail.com>
Mon, 13 Apr 2020 04:21:40 +0000 (04:21 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Mon, 13 Apr 2020 23:12:11 +0000 (23:12 +0000)
commit10df1563d608323a3144afc5f6038ecb81869b92
tree5f7fbdd8351d5d4919e968c7ab75cdf573ba694f
parenta69b3e010c6fc23c4f08cffdb98311a89d7ac432
Move ModuleSummaryAnalysis from libAnalysis to libObject to break the dependency from Analysis to Object

ModuleSummaryAnalysis is the only file in libAnalysis that brings a
dependency on the CodeGen layer from libAnalysis, moving it breaks this
dependency.

Differential Revision: https://reviews.llvm.org/D77994
llvm/include/llvm/Object/ModuleSummaryAnalysis.h [moved from llvm/include/llvm/Analysis/ModuleSummaryAnalysis.h with 100% similarity]
llvm/lib/Analysis/CMakeLists.txt
llvm/lib/Analysis/LLVMBuild.txt
llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
llvm/lib/LTO/ThinLTOCodeGenerator.cpp
llvm/lib/Object/CMakeLists.txt
llvm/lib/Object/ModuleSummaryAnalysis.cpp [moved from llvm/lib/Analysis/ModuleSummaryAnalysis.cpp with 97% similarity]
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp