summaryrefslogtreecommitdiff
path: root/bindings
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-04-24 00:39:29 +0000
committerCraig Topper <craig.topper@intel.com>2018-04-24 00:39:29 +0000
commitf7d7c68c7510d381bf466633b38926304cb9c8b7 (patch)
tree82a6d5b3a8d2a8006d2ff3bf82fd4ff4c0a2072d /bindings
parent557491f34d42e51670d8e43d0556cbd06ca19735 (diff)
[AggressiveInstCombine] Add aggressive inst combiner to the LLVM C API.
I just tried to copy what was done for regular InstCombine. Hopefully I didn't miss anything. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330668 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings')
-rw-r--r--bindings/python/llvm/core.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bindings/python/llvm/core.py b/bindings/python/llvm/core.py
index 47e81dd1a4f..6b3da6d8679 100644
--- a/bindings/python/llvm/core.py
+++ b/bindings/python/llvm/core.py
@@ -456,6 +456,9 @@ def register_library(library):
library.LLVMInitializeInstCombine.argtypes = [PassRegistry]
library.LLVMInitializeInstCombine.restype = None
+ library.LLVMInitializeAggressiveInstCombiner.argtypes = [PassRegistry]
+ library.LLVMInitializeAggressiveInstCombiner.restype = None
+
library.LLVMInitializeIPO.argtypes = [PassRegistry]
library.LLVMInitializeIPO.restype = None