[PM/AA] Remove the last relics of the separate IPA library from LLVM,
authorChandler Carruth <chandlerc@gmail.com>
Tue, 18 Aug 2015 17:51:53 +0000 (17:51 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 18 Aug 2015 17:51:53 +0000 (17:51 +0000)
commit896f064a4900458e3fb245ad3f6fc9e7a3d8c8cd
tree64a0a25122d1c1bb0ebfd9a5116b45947e14bdd9
parent3f6954d463fcb6a2403f0a6b2358f50321ae5c59
[PM/AA] Remove the last relics of the separate IPA library from LLVM,
folding the code into the main Analysis library.

There already wasn't much of a distinction between Analysis and IPA.
A number of the passes in Analysis are actually IPA passes, and there
doesn't seem to be any advantage to separating them.

Moreover, it makes it hard to have interactions between analyses that
are both local and interprocedural. In trying to make the Alias Analysis
infrastructure work with the new pass manager, it becomes particularly
awkward to navigate this split.

I've tried to find all the places where we referenced this, but I may
have missed some. I have also adjusted the C API to continue to be
equivalently functional after this change.

Differential Revision: http://reviews.llvm.org/D12075

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245318 91177308-0d34-0410-b5e6-96231b3b80d8
34 files changed:
bindings/python/llvm/core.py
include/llvm/InitializePasses.h
lib/Analysis/Analysis.cpp
lib/Analysis/CMakeLists.txt
lib/Analysis/CallGraph.cpp [new file with mode: 0644]
lib/Analysis/CallGraphSCCPass.cpp [new file with mode: 0644]
lib/Analysis/CallPrinter.cpp [new file with mode: 0644]
lib/Analysis/GlobalsModRef.cpp [new file with mode: 0644]
lib/Analysis/IPA/CMakeLists.txt [deleted file]
lib/Analysis/IPA/CallGraph.cpp [deleted file]
lib/Analysis/IPA/CallGraphSCCPass.cpp [deleted file]
lib/Analysis/IPA/CallPrinter.cpp [deleted file]
lib/Analysis/IPA/GlobalsModRef.cpp [deleted file]
lib/Analysis/IPA/IPA.cpp [deleted file]
lib/Analysis/IPA/InlineCost.cpp [deleted file]
lib/Analysis/IPA/LLVMBuild.txt [deleted file]
lib/Analysis/IPA/Makefile [deleted file]
lib/Analysis/InlineCost.cpp [new file with mode: 0644]
lib/Analysis/LLVMBuild.txt
lib/Analysis/Makefile
lib/LTO/LLVMBuild.txt
lib/Passes/LLVMBuild.txt
lib/Transforms/IPO/LLVMBuild.txt
lib/Transforms/Utils/LLVMBuild.txt
tools/bugpoint/CMakeLists.txt
tools/bugpoint/bugpoint.cpp
tools/llvm-shlib/CMakeLists.txt
tools/llvm-stress/CMakeLists.txt
tools/opt/CMakeLists.txt
tools/opt/opt.cpp
unittests/Analysis/CMakeLists.txt
unittests/Analysis/Makefile
unittests/IR/CMakeLists.txt
unittests/IR/Makefile