Commit graph

413 commits

Author SHA1 Message Date
Siu Kwan Lam
891daa1164 Added test implementation of parallel-vectorize (incomplete).
Various fix.
2012-08-05 21:35:02 -07:00
Siu Kwan Lam
0654e00ab1 Add printf() and friends.
Disable logging in old tests.
2012-08-04 19:13:35 -07:00
Siu Kwan Lam
673ada6a4e Fix and add tests. 2012-08-04 15:18:41 -07:00
Siu Kwan Lam
b45c768cc5 Fix 2012-08-04 15:14:09 -07:00
Siu Kwan Lam
184e4ea1a1 Add API for structure 2012-08-03 22:30:54 -07:00
Siu Kwan Lam
f1e10e849f Fix __div__ for py3.
Add test for nested-loops.
2012-08-03 17:02:01 -07:00
Siu Kwan Lam
aebb9857eb Drop volatile option in atomic ops.
Add volatile option to store.
2012-08-03 16:31:23 -07:00
Siu Kwan Lam
8381b25f66 Add atomic ops 2012-08-03 16:26:46 -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
Siu Kwan Lam
7238fecc7f add build & test instruction to README 2012-08-02 14:20:02 -07:00
Travis E. Oliphant
c7afaf98db Update license and README 2012-08-02 02:46:10 -05:00
Siu Kwan Lam
6981206096 Add TODO and README files. 2012-08-01 20:14:34 -07:00
Siu Kwan Lam
066480fbb8 Add parallel-vectorize prototype.
Add llvm_cbuilder.
2012-08-01 19:02:58 -07: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