summaryrefslogtreecommitdiffstats
path: root/bindings
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
commit896f064a4900458e3fb245ad3f6fc9e7a3d8c8cd (patch)
tree64a0a25122d1c1bb0ebfd9a5116b45947e14bdd9 /bindings
parent3f6954d463fcb6a2403f0a6b2358f50321ae5c59 (diff)
[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
Diffstat (limited to 'bindings')
-rw-r--r--bindings/python/llvm/core.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/bindings/python/llvm/core.py b/bindings/python/llvm/core.py
index c95952db6fc5..47e81dd1a4f9 100644
--- a/bindings/python/llvm/core.py
+++ b/bindings/python/llvm/core.py
@@ -465,9 +465,6 @@ def register_library(library):
library.LLVMInitializeAnalysis.argtypes = [PassRegistry]
library.LLVMInitializeAnalysis.restype = None
- library.LLVMInitializeIPA.argtypes = [PassRegistry]
- library.LLVMInitializeIPA.restype = None
-
library.LLVMInitializeCodeGen.argtypes = [PassRegistry]
library.LLVMInitializeCodeGen.restype = None
@@ -621,7 +618,6 @@ def initialize_llvm():
lib.LLVMInitializeIPO(p)
lib.LLVMInitializeInstrumentation(p)
lib.LLVMInitializeAnalysis(p)
- lib.LLVMInitializeIPA(p)
lib.LLVMInitializeCodeGen(p)
lib.LLVMInitializeTarget(p)