summaryrefslogtreecommitdiffstats
path: root/llvm/tools
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2015-08-18 17:51:53 +0000
committerChandler Carruth <chandlerc@gmail.com>2015-08-18 17:51:53 +0000
commit7adc3a2b0e467c909f1489992da5f4c467c0d10f (patch)
tree61200e0d5231f0290211345f88ed5c1d18614f1a /llvm/tools
parent201d065259658b822b2470fc924b6036715ab4f3 (diff)
downloadbcm5719-llvm-7adc3a2b0e467c909f1489992da5f4c467c0d10f.tar.gz
bcm5719-llvm-7adc3a2b0e467c909f1489992da5f4c467c0d10f.zip
[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 llvm-svn: 245318
Diffstat (limited to 'llvm/tools')
-rw-r--r--llvm/tools/bugpoint/CMakeLists.txt1
-rw-r--r--llvm/tools/bugpoint/bugpoint.cpp1
-rw-r--r--llvm/tools/llvm-shlib/CMakeLists.txt1
-rw-r--r--llvm/tools/llvm-stress/CMakeLists.txt2
-rw-r--r--llvm/tools/opt/CMakeLists.txt1
-rw-r--r--llvm/tools/opt/opt.cpp1
6 files changed, 1 insertions, 6 deletions
diff --git a/llvm/tools/bugpoint/CMakeLists.txt b/llvm/tools/bugpoint/CMakeLists.txt
index daf502e16cc..287a26ecd40 100644
--- a/llvm/tools/bugpoint/CMakeLists.txt
+++ b/llvm/tools/bugpoint/CMakeLists.txt
@@ -3,7 +3,6 @@ set(LLVM_LINK_COMPONENTS
BitWriter
CodeGen
Core
- IPA
IPO
IRReader
InstCombine
diff --git a/llvm/tools/bugpoint/bugpoint.cpp b/llvm/tools/bugpoint/bugpoint.cpp
index af6d9fccf29..ce3d936c819 100644
--- a/llvm/tools/bugpoint/bugpoint.cpp
+++ b/llvm/tools/bugpoint/bugpoint.cpp
@@ -126,7 +126,6 @@ int main(int argc, char **argv) {
initializeVectorization(Registry);
initializeIPO(Registry);
initializeAnalysis(Registry);
- initializeIPA(Registry);
initializeTransformUtils(Registry);
initializeInstCombine(Registry);
initializeInstrumentation(Registry);
diff --git a/llvm/tools/llvm-shlib/CMakeLists.txt b/llvm/tools/llvm-shlib/CMakeLists.txt
index 54d71d3f632..9be8b436fe5 100644
--- a/llvm/tools/llvm-shlib/CMakeLists.txt
+++ b/llvm/tools/llvm-shlib/CMakeLists.txt
@@ -18,7 +18,6 @@ if(NOT DEFINED LLVM_DYLIB_COMPONENTS)
DebugInfoDWARF
DebugInfoPDB
ExecutionEngine
- IPA
IPO
IRReader
InstCombine
diff --git a/llvm/tools/llvm-stress/CMakeLists.txt b/llvm/tools/llvm-stress/CMakeLists.txt
index d5c10e13f5b..8f2b30e4163 100644
--- a/llvm/tools/llvm-stress/CMakeLists.txt
+++ b/llvm/tools/llvm-stress/CMakeLists.txt
@@ -1,6 +1,6 @@
set(LLVM_LINK_COMPONENTS
+ Analysis
Core
- IPA
Support
)
diff --git a/llvm/tools/opt/CMakeLists.txt b/llvm/tools/opt/CMakeLists.txt
index 5f825220cc8..9194a6ba098 100644
--- a/llvm/tools/opt/CMakeLists.txt
+++ b/llvm/tools/opt/CMakeLists.txt
@@ -4,7 +4,6 @@ set(LLVM_LINK_COMPONENTS
BitWriter
CodeGen
Core
- IPA
IPO
IRReader
InstCombine
diff --git a/llvm/tools/opt/opt.cpp b/llvm/tools/opt/opt.cpp
index 0db60d14440..5fe2f034c6e 100644
--- a/llvm/tools/opt/opt.cpp
+++ b/llvm/tools/opt/opt.cpp
@@ -312,7 +312,6 @@ int main(int argc, char **argv) {
initializeVectorization(Registry);
initializeIPO(Registry);
initializeAnalysis(Registry);
- initializeIPA(Registry);
initializeTransformUtils(Registry);
initializeInstCombine(Registry);
initializeInstrumentation(Registry);
OpenPOWER on IntegriCloud