Commit graph

39 commits

Author SHA1 Message Date
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
Thomas Kluyver
87ffb437d8 Fix a couple of tests for Python 3 2012-10-10 10:49:48 -05:00
Ilan Schnell
b15046ad99 fixed file mode of test files 2012-08-19 01:27:42 -05:00
Bradley M. Froehle
938763ef07 Fix broken testall.py (NameError: PASS_AGGRESSIVE_DCE)
Commit 2d79cfa43 renamed PASS_AGGRESSIVE_DCE -> PASS_ADCE but missed
an instance in one test.
2012-08-07 15:38:06 -07:00
Siu Kwan Lam
54a0a95faf Fix missing return in llvm/core.py and do some refactoring;
Update test/testall.py.

TODO: Need to update the passes.
2012-07-23 09:27:24 -07:00
AndrewBC
46a9a86085 Fixed some old PyInt usage, drastically reduced compile-time warnings 2011-06-12 13:58:57 -05: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
mdevan.foobar
ae61530aff Use extract_value instead of getresult (Bryan Silverthorn) (Issue #34)
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@103 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2010-10-24 08:46:59 +00:00
mdevan.foobar
b7fa3e8fa1 Added llvm.core.Argument.alignment
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@101 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2010-10-15 10:33:37 +00: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
aa6a406c46 Add and remove function attributes (Krzysztof Goj)
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@89 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2010-08-03 16:31:41 +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
73b37ee632 Fix fadd,fsub,fmul (Aaron S Lav)
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@87 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2010-07-25 09:19:21 +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
5901f8d32b Migrate to LLVM 2.6 (KS Sreeram) (Issue #25)
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@83 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2009-10-28 06:02:04 +00:00
mdevan.foobar
c6e12fd929 Disabled tail call for now, works only on call instructions
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@82 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2009-09-20 12:33:22 +00:00
mdevan.foobar
6cb58c97d7 does not throw property for Function (Andrew Straw)
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@79 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2009-09-20 09:25:14 +00:00
mdevan.foobar
b2d8ff38a8 More properties/methods for TargetData.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@73 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2009-03-01 08:34:04 +00:00
mdevan.foobar
dbb67d4502 Set execute bit on python scripts
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@71 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2009-02-25 17:48:53 +00:00
mdevan.foobar
d5328ef255 Value.uses API
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@70 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2009-02-25 17:41:37 +00:00
mdevan.foobar
8b6109d8eb Added User class, moved operands to User, cleanup
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@69 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2009-02-25 11:04:25 +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
2eeb7630a1 Added instruction operands (Seth Warn)
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@66 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2009-02-23 07:56:23 +00:00
mdevan.foobar
a339b69193 Enable BasicBlock.function API
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@63 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2009-02-21 16:40:01 +00:00
mdevan.foobar
6028e1765b Module.link_in and Instruction.is_volatile APIs added (Seth Warn)
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@62 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2009-02-21 10:02:46 +00:00
mdevan.foobar
3bbc5685a8 Added vicmp, vfmp. Updated docs. Support FreeBSD.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@51 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2008-11-22 16:46:32 +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
b0a11dbbbc Added llvm.core.load_library_permanently() (Issue #12).
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@46 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2008-11-14 18:38:19 +00:00
mdevan.foobar
ecdc9ebd95 Fix comparison using != (Issue #11).
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@45 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2008-11-05 02:47:31 +00:00
mdevan.foobar
2780d9fc10 Added pointer_size and get_or_insert_function to Module
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@43 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2008-09-16 17:03:21 +00:00
mdevan.foobar
aee33c6612 Added instruction properties (is_XXX, opcode, opcode_name)
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@42 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2008-09-16 16:38:21 +00:00
mdevan.foobar
b873cb8bea Accept function pointers for call/invoke (thanks to Jonathan Bastien-Filiatrault)
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@41 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2008-09-14 08:58:05 +00:00
mdevan.foobar
bf2d901db2 Fixed Builder.select (Paulo Silva); added Instruction.is_terminator.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@40 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2008-09-10 11:26:57 +00:00
mdevan.foobar
c10b1b58c3 Added API for reading assembly (.ll) files
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@35 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2008-09-08 13:09:43 +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
4ee007190c Removed cyclic dependency _util <-> core. Added testcases. Passes in _core.c. Code cleanup.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@32 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2008-08-11 17:11:57 +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
9cc8fdc0cd Build cleanly with LLVM 2.3 or 2.3svn.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@15 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2008-06-18 16:31:35 +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