Commit graph

38 commits

Author SHA1 Message Date
anthony cantor
aa0ee9b6a6 changes to make llvmpy compatible with development branch of llvm
mostly just removing stuff and changing function prototypes.
with these changes, llvmpy compiles and llvm.test() passes.
2013-09-18 11:52:21 -05:00
Siu Kwan Lam
328f88bbd5 llvm3.3 has a different TargetTransformInfo 2013-08-14 18:18:05 -05:00
Siu Kwan Lam
56a511854a update "attribute(s)" ignorance 2013-07-31 16:43:50 -05:00
Siu Kwan Lam
ec0dda4621 Fix ownership bug 2013-03-12 21:38:00 -05:00
Ilan Schnell
f8deae06dd remove excess whitespace 2013-03-02 12:56:00 -06:00
Siu Kwan Lam
93cd20e933 Fix for python 3 2013-02-27 13:48:08 -06:00
Siu Kwan Lam
a09394cacd Fix a lots of bugs in the newbinding to pass all the tests.
NOTE: debug info has not been implemented yet.
2013-02-13 15:52:53 -06:00
Siu Kwan Lam
a97b26415e Update old API to use the new binding.
Have not run the testsuite yet.
2013-02-11 18:15:22 -06:00
Siu Kwan Lam
450c29e052 Swap out old llvm code 2013-02-05 15:30:43 -06:00
Ilan Schnell
5dd0948c65 cleanup 2013-01-31 17:54:20 -06:00
Siu Kwan Lam
6bc5b72c71 Fix: ExecutionEngine should own TargetData instance returned from ee.target_data 2013-01-18 11:38:04 -06:00
Siu Kwan Lam
371e940c83 Reverse finalizer 2013-01-07 16:39:41 -06:00
Siu Kwan Lam
af6b0d7823 Suppress warning for missing loop-vectorizer feature if user is not enabling it. 2013-01-07 14:00:11 -06:00
Siu Kwan Lam
5b6a1d75f8 Fix breakage of LLVM 3.1.
Add LLVM version number in llvmpy.
2013-01-04 14:24:26 -06:00
Siu Kwan Lam
bc20661343 Introduce finalizer module to manage finalization of C resources. 2013-01-03 14:44:32 -06:00
Siu Kwan Lam
a6ed8d55f8 Add clone method to TargetData. 2013-01-03 10:17:23 -06:00
Siu Kwan Lam
7f9c91e2aa Add simpler API for building pass-managers given a TargetMachine. 2013-01-02 17:42:28 -06:00
Siu Kwan Lam
3b399f9d8b Adding target specific passes. 2013-01-02 17:42:28 -06:00
Siu Kwan Lam
ff92a05858 Begin to expose Pass class. 2013-01-02 17:42:28 -06:00
Siu Kwan Lam
10e83f306f Add PassManagerBuilder.loop_vectorize property 2012-12-31 10:45:21 -06:00
Siu Kwan Lam
9aadd489c3 Python3 ready. Py2.7 and Py3 working. Drop PyCObject for all.
Pre Py2.7 support should be possible by including  "capsulethunk.h". (See llvm/wrap.h)
2012-07-26 15:25:23 -07:00
Siu Kwan Lam
6a02c36f04 Added PassManagerBuilder.
Updated test/passes.py for PassManagerBuilder.
2012-07-24 23:42:28 -07:00
Siu Kwan Lam
2d79cfa437 Replaced PASS_* constants with pass name lookup. 2012-07-23 17:39:40 -07:00
Travis E. Oliphant
45177bbeb0 Add make_ufunc to llvm-py and additional fixes. 2012-02-18 04:20:21 -06:00
Travis E. Oliphant
c09903e54f Making progress towards a 3.0 version of llvm-py. 2012-02-08 01:40:03 -06:00
AndrewBC
6d50a337ad Updating to python 3 with 2to3. Check llvm/py3k_update.diff and llvm/py3k_update.out for the output from this. 2011-06-11 20:39:16 -05:00
AndrewBC
d5c2806b5d applied patch to work with llvm 2.9 from llvm-py r105 ... 84.7KB version seen here: http://code.google.com/p/llvm-py/issues/detail?id=37 2011-06-05 21:21:18 -05:00
mdevan.foobar
ab4ef428b6 Migrate to LLVM 2.8 (rc2)
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@96 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2010-09-30 13:22:13 +00:00
mdevan.foobar
b7200e59b1 Removed the deprecated ModuleProvider class
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@88 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2010-07-26 16:36:02 +00:00
mdevan.foobar@gmail.com
d51eb76fec Updated for LLVM 2.7 (will not work with LLVM 2.6). Work-in-progress.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@86 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2010-07-24 18:15:49 +00:00
mdevan.foobar
231aa4a5c4 Code cleanup, pylint, updated README, CHANGELOG
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@67 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2009-02-23 11:24:12 +00:00
mdevan.foobar
95cef74480 Migrated to LLVM 2.4.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@50 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2008-11-21 12:17:42 +00:00
mdevan.foobar
b52355d84e Code cleanup.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@47 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2008-11-17 16:45:40 +00:00
mdevan.foobar
18177ba0fa All passes added in llvm.passes. More tests. Some bug fixes.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@33 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2008-08-12 10:25:44 +00:00
mdevan.foobar
fc3f11d899 Added tests for bitcode.
Updated CHANGELOG, inline docs.
Switched to absolute imports.
Added all passes to extra.{cpp,h}\!

git-svn-id: http://llvm-py.googlecode.com/svn/trunk@31 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2008-08-11 14:21:16 +00:00
mdevan.foobar
274f0f9ec4 New tests. Code cleanup.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@11 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2008-06-14 19:05:45 +00:00
mdevan.foobar
2255a7e5dd Execution engine and passes work. Documentation and tests updated.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@4 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2008-06-07 13:44:25 +00:00
mdevan.foobar
6ee3298bd2 Added web pages, and some ee/passes stuff. *Broken*.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@3 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2008-06-03 17:24:46 +00:00