Siu Kwan Lam
9ff0b4e8ab
Merge pull request #7 from bfroehle/test_uses
...
test_uses: Fix unexpected keyword argument 'end' with `nosetests uses.py`
2012-08-07 18:26:23 -07:00
Siu Kwan Lam
02326101de
Merge pull request #6 from bfroehle/testall_pass_adce
...
Fix broken testall.py (NameError: PASS_AGGRESSIVE_DCE)
2012-08-07 18:22:57 -07:00
Bradley M. Froehle
d3548e5377
test_uses: Fix unexpected keyword argument 'end' with nosetests uses.py
...
Logging does not know about the keyword argument 'end'. The existing
code works only because the default logging level prevents debug messages
from running. When running the test under `nosetests` the debug messages
are enabled leading to the error.
2012-08-07 15:56:05 -07: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
5e15b27909
Atomic load/store must explicit define alignment.
2012-08-03 14:13:22 -07:00
Siu Kwan Lam
f479f85676
Add memory fence
2012-08-03 12:30:01 -07:00
Siu Kwan Lam
6ac0f3c369
Add atomic load/store
2012-08-03 11:56:59 -07:00
Siu Kwan Lam
4d763680f6
Add easier atomic api
2012-08-03 10:28:17 -07:00
Siu Kwan Lam
fb72ab5c8d
Add the rest of atomic op.
2012-08-03 10:14:09 -07:00
Siu Kwan Lam
acad5c9d8b
Added atomic cmpxchg.
2012-08-02 17:54:40 -07:00
Siu Kwan Lam
9d068fd582
Add methods to set volatile inst.
2012-08-02 16:51:42 -07:00
Travis E. Oliphant
c7afaf98db
Update license and README
2012-08-02 02:46:10 -05:00
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