Commit graph

171 commits

Author SHA1 Message Date
Maggie Mari
f01d92df74 Fixed linking on PythonLangImpl1.rst 2012-08-12 17:21:41 -05:00
Maggie Mari
1cbcd2f913 Cleaned up lists and spacing on llvm_concepts.rst 2012-08-12 15:51:47 -05:00
Maggie Mari
2d36906936 Cleaned up bash highlighting. 2012-08-10 11:40:51 -05:00
Maggie Mari
5343267e92 Added _build to .gitignore. 2012-08-10 11:40:04 -05:00
Maggie Mari
68e6dc693e Revert "Cleaned up some of the highlightin in getting_started.rst and llvmpy-package.rst"
This reverts commit 83f24e90d3.
2012-08-10 11:34:32 -05:00
Maggie Mari
83f24e90d3 Cleaned up some of the highlightin in getting_started.rst and llvmpy-package.rst 2012-08-10 11:30:07 -05:00
Travis E. Oliphant
0c42b2c40e Merge branch 'master' of github.com:llvmpy/llvmpy 2012-08-10 08:53:04 -05:00
Travis E. Oliphant
ce8884aa33 Fix up code-highlighting sections. 2012-08-10 08:52:51 -05:00
Siu Kwan Lam
4be1ab9ec5 Merge branch 'native' 2012-08-09 15:44:25 -07:00
Siu Kwan Lam
bed4f24cbd Added Module.to_native_object() and Module.to_native_assembly().
Added test for these new functions.
2012-08-09 15:41:55 -07:00
Travis E. Oliphant
415c01f745 DOC: Add first version of updated documentation. 2012-08-09 13:53:21 -05:00
Travis E. Oliphant
75ca0289b5 Update llvm-py to llvmpy and fix more docs 2012-08-09 01:16:36 -05:00
Travis E. Oliphant
0e223a61c2 Remove .md files and add .rst files 2012-08-08 18:07:13 -05:00
Travis E. Oliphant
c1c9b6e724 Merge branch 'master' of github.com:llvmpy/llvmpy 2012-08-08 17:49:34 -05:00
Travis E. Oliphant
d0f0bae1c5 Add Sphinx documentation. 2012-08-08 17:49:24 -05:00
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