Commit graph

794 commits

Author SHA1 Message Date
Siu Kwan Lam
4783429804 Drop unused argument for GenericValue.pointer(). 2012-07-26 15:44:53 -07: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
0ca676eb8c Fix Py3 incompatible in tests. 2012-07-25 19:55:22 -07:00
Siu Kwan Lam
afcdd30c88 Stick with C++ for everything. 2012-07-25 18:32:21 -07:00
Siu Kwan Lam
93c25ca98b Fix _wLLVMEngineBuilderCreate. 2012-07-25 18:25:25 -07:00
Siu Kwan Lam
5bb4b8affb Added EngineBuilder.
Added test/enginebuilder.
2012-07-25 15:31:18 -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
99c7a0736e Comment out pass constants in C files. 2012-07-24 12:25:42 -07:00
Siu Kwan Lam
2d79cfa437 Replaced PASS_* constants with pass name lookup. 2012-07-23 17:39:40 -07:00
Siu Kwan Lam
6fb55db69d Added test for constants -- int, float, double, string, struct, vector. 2012-07-23 13:05:11 -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
c68c5b0aac Continue to update test to use unittest.
Replace custom class strstream with StringIO.
2012-07-21 20:27:14 -07:00
Siu Kwan Lam
badac267cc Fix: Object cache was removing objects properly.
Continue to update test to use unittest.
2012-07-21 15:57:39 -07:00
Siu Kwan Lam
a9370d933d Updated more tests to use unittest. 2012-07-20 21:46:23 -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
Siu Kwan Lam
aadf140a06 Added gitignore 2012-07-20 17:18:28 -07:00
Ilan Schnell
635ca202cb REL: master now 0.8.2 2012-07-10 14:37:42 -05:00
Ilan Schnell
5ce63d00cc REL: bump version for release 2012-07-10 14:36:38 -05:00
Travis E. Oliphant
8d064806a1 BUG: Add ConstantDataArray and ConstantD 0.8.1 2012-06-28 14:59:43 -05:00
Travis E. Oliphant
52b2bcd2c1 Fix the LLVM Object Cache key to include the class name as well.. 2012-06-21 01:48:56 -05:00
Travis E. Oliphant
7b6aac79fb Add llvm::Module::addLibrary to exposed API 2012-06-21 01:25:23 -05:00
Travis E. Oliphant
4307287b39 Merge pull request #1 from npinto/bugfix-cstdio
BUG: fix error: ‘printf’ was not declared in this scope
2012-03-26 19:28:28 -07:00
Nicolas Pinto
bf36c50e96 BUG: fix error: ‘printf’ was not declared in this scope 2012-03-15 13:13:26 -04: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
796f5e264a Use correct casing for print method. 2012-03-08 07:18:18 -06:00
Travis E. Oliphant
88d4f62e16 Remove NumPy specific code from llvm-py 2012-03-08 05:56:37 -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
589645fd67 Update the intrinsic OPCODES for LLVM 3.0 2012-02-14 23:33:59 -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
3120dbf29e More changes to get llvm-py to compile with LLVM 3.0 2012-02-08 09:23:58 -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
cb9fcd70cb Fixing segfault with PyArg_ParseTuple for strings 2011-06-12 15:51:26 -05:00
AndrewBC
7035735ea4 We're warning free now :D 2011-06-12 14:00:25 -05:00
AndrewBC
46a9a86085 Fixed some old PyInt usage, drastically reduced compile-time warnings 2011-06-12 13:58:57 -05:00
AndrewBC
2c42b82799 Moar py3k updates... Still segfaulting, in PyArg_ParseTuple of _wLLVMLoadLibraryPermanently for some reason. :| 2011-06-12 05:54:08 -05:00
AndrewBC
13815fd2f3 It compiles! It also segfaults when tested! :D 2011-06-12 03:41:03 -05:00
AndrewBC
220f59f1e9 Updated PyCObject calls to use PyCapsule calls 2011-06-12 02:31:41 -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
AndrewBC
ddbe7ad06a Can has linebreaks? 2011-06-07 14:32:29 -05:00
AndrewBC
24fe9507a8 iterateriterate 2011-06-07 14:31:26 -05:00
AndrewBC
ada31558f7 More accurate shell command examples for README.md 2011-06-07 14:30:25 -05:00
AndrewBC
8f1648b47c More concise get/install directions in README.md 2011-06-07 14:29:16 -05:00
AndrewBC
b8337fb6c5 honk honk 2011-06-07 14:04:01 -05:00
AndrewBC
32277081dc Why is github turning the h2's into hr's too? :| 2011-06-07 14:02:47 -05:00
AndrewBC
564118f1e6 bonk bonk 2011-06-07 13:58:55 -05:00
AndrewBC
e3451f564b Fixing erroneously code block'd segments in README.md 2011-06-07 13:57:21 -05:00
AndrewBC
186d2f0ac0 More README updating, switched to markdown format 2011-06-07 13:54:56 -05:00