Commit graph

118 commits

Author SHA1 Message Date
Siu Kwan Lam
6a02c36f04 Added PassManagerBuilder.
Updated test/passes.py for PassManagerBuilder.
2012-07-24 23:42:28 -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
Siu Kwan Lam
c9902ab8cf Add opaque StructType;
Remove test/typehandle.py;
Add test/opaque.py to demonstrate recursive type.
2012-07-22 15:14:52 -07:00
Siu Kwan Lam
b71d22b570 Update StructType to LLVM 3.x (incomplete).
Bring back StructType.elements.
2012-07-22 00:00:04 -07:00
Siu Kwan Lam
9bbeee519b Added Module.id property (getter+setter).
Updated test/asm.py to use unittest.
2012-07-20 20:15:21 -07:00
Travis E. Oliphant
8d064806a1 BUG: Add ConstantDataArray and ConstantD 2012-06-28 14:59:43 -05:00
Travis E. Oliphant
7b6aac79fb Add llvm::Module::addLibrary to exposed API 2012-06-21 01:25:23 -05:00
Travis E. Oliphant
3569ba6182 Update intrinsics and other codes for the 3.1 release. 2012-03-08 11:09:22 -06: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
76edfad7c8 Fix-up opcodes that are different in 3.0 2012-02-14 16:34:36 -06:00
Travis E. Oliphant
b4f51acd64 More changes to get working on LLVM 3.0 2012-02-09 23:40:22 -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
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
1c04eb1c87 Updated documentation, partially.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@90 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2010-08-31 07:31:34 +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@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
33dc04e33c Corrected values for a few enums
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@84 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2009-10-28 09:39:19 +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
64d54c49f0 Tail call property for call sites (tarkasteve, issue #19)
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@81 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2009-09-20 09:44:08 +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
d0e4e09a5d More parameter attributes (Andrew Straw)
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@78 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2009-09-20 09:19:12 +00:00
mdevan.foobar
f3989aa240 CompareInstruction class (Seth Warn)
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@76 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2009-03-25 12:14:28 +00:00
mdevan.foobar
fa30225181 Get raw function pointers, inline functions (Corrado Zoccolo)
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@75 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2009-03-25 12:09:37 +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
ca124ca082 Merging Seth's changes
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@72 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2009-02-26 17:20:25 +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
10843ec2ec Cleanup and fixes
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@68 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2009-02-24 10:02:19 +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
1b4b807884 Avoid object aliasing (with Seth Warn)
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@65 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2009-02-23 06:49:30 +00:00
mdevan.foobar
d7a5d30029 Value factory and more Constant subclasses.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@64 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2009-02-22 17:25:41 +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
75161701a1 Updated intrinsic ids.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@61 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2009-02-19 12:00:28 +00:00
mdevan.foobar
58ceb85afb Fix for issue #10.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@59 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2009-01-10 11:00:00 +00:00
mdevan.foobar
82a63c5e81 Added LINKAGE_COMMON, ICMP_* and FCMP_* enums.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@58 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2009-01-02 04:21:27 +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
c509179c8d Improved compatibility with Python 2.4, ready for 0.4 release.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@48 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2008-11-21 06:07:14 +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
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