Commit graph

831 commits

Author SHA1 Message Date
Siu Kwan Lam
740d2595ee Replace StringIO with BytesIO 2013-02-27 13:25:19 -06:00
cuda
c3a08a446f Fix import and Makefile on Linux 2013-02-27 11:28:07 -06:00
Siu Kwan Lam
dd9ba65328 Bug fixes 2013-02-26 18:43:49 -06:00
Jon Riehl
894539681b Modified documentation configuration to search for build specific to Python version. Updated copyright. First attempt at using llvm._version to set documentation version. 2013-02-26 15:48:00 -06:00
Jon Riehl
cada51e297 Merge branch 'docs-fixes' of github.com:pfalcon/llvmpy into _pr57 2013-02-26 14:58:12 -06:00
Jon Riehl
7b1a825380 Merge pull request #56 from pfalcon/pfalcon
Typo fix - could *not* invoke llvm-config.
2013-02-26 12:50:38 -08:00
Siu Kwan Lam
c1b46e4384 Fix test 2013-02-25 10:02:49 -06:00
Siu Kwan Lam
d270f47328 Fix writing to file-like obj in python3.3 2013-02-24 13:22:30 -06:00
Paul Sokolovsky
4e87b5170a Allow Sphinx build docs with docstrings without installing module. 2013-02-24 00:44:48 +02:00
Paul Sokolovsky
d36cd1dbc7 Add docstring documentation to all llvm.core classes.
Some classes have docstrings, and lack rST docs (e.g. Module), few others
vice versa. It's unclear what is the best way to deal with this. IMHO,
docstrings should prevail, i.e. existing docs would rather be moved
to docstings. Anyway, for now just make sure that users don't miss
documentation, even if it's just list of classmembers.
2013-02-24 00:44:48 +02:00
Paul Sokolovsky
d74ff4dc2b Fill in required explicit argument for code-block. 2013-02-24 00:44:48 +02:00
Paul Sokolovsky
8086487ab7 Fix "title underline too short" warnings. 2013-02-24 00:44:48 +02:00
Paul Sokolovsky
769376b055 Sublists must have blank lines before and after. 2013-02-24 00:44:48 +02:00
Paul Sokolovsky
650a49dcab Fix import statements. 2013-02-24 00:44:48 +02:00
Paul Sokolovsky
fccf439117 Add missing titles to few docs to make sure they're rendered in docs. 2013-02-24 00:44:48 +02:00
Paul Sokolovsky
6c07747a3b Typo fix - could *not* invoke llvm-config. 2013-02-23 21:52:23 +02:00
Siu Kwan Lam
45e70333fd Adapt to python 3.3 2013-02-22 19:17:56 -06:00
Siu Kwan Lam
a275068193 Fix formatted_raw_ostream ownership error with the underlying stream. 2013-02-22 17:58:38 -06:00
Siu Kwan Lam
74982d6fef Adapt to work in python2.6 2013-02-22 17:58:11 -06:00
Siu Kwan Lam
435b92b4a4 Fix VectorType.element 2013-02-22 10:50:18 -06:00
Siu Kwan Lam
d270e885cc Add ptrtoint cast in cbuilder 2013-02-22 10:43:34 -06:00
Siu Kwan Lam
42f7219c3f Allow function.verify to raise exception on error. 2013-02-22 10:43:11 -06:00
Siu Kwan Lam
175f558ce0 Add error checking for common mistake in Builder.call 2013-02-19 10:54:31 -06:00
Siu Kwan Lam
58d410b347 Merge pull request #55 from pfalcon/pfalcon
Correct if-then-else LLVM asm example.
2013-02-19 08:13:48 -08:00
Mark Florisson
081b41db60 Allow casting pointers to ints in cbuilder 2013-02-19 15:25:10 +00:00
Paul Sokolovsky
bf484aa216 Correct if-then-else LLVM asm example.
As was present vividly breaks LLVM IR constraints on SSA and basic-blocks:
same var being assigned twice, no control transfer at the end of basic block.
Compare with the original:
http://www.mdevan.org/llvm-py/kaleidoscope/PythonLangImpl5.html
2013-02-19 08:36:52 +02:00
Ilan Schnell
20d0bf9f2a add missing dummy options 2013-02-17 16:37:57 -06:00
Siu Kwan Lam
1647580a41 LinkModules should release ownership of the other module when not preserving 2013-02-16 21:54:12 -06:00
Ilan Schnell
acd6ab685b enhance setup error messages 2013-02-16 19:20:06 -06:00
Ilan Schnell
0cc2e516ac enable new llvm-config on Windows and update changelog 2013-02-16 14:29:43 -06:00
Ilan Schnell
92c9813b3e fix library name 2013-02-16 12:50:22 -06:00
Ilan Schnell
013c7d2009 add impoved version of llvm-config for Windows 2013-02-16 10:54:25 -06:00
Ilan Schnell
ffa713e332 improve error handling 2013-02-16 01:34:51 -06:00
Ilan Schnell
a7c650a458 simplified checking for valid llvm-config command 2013-02-16 01:24:27 -06:00
Ilan Schnell
079e31c474 remove unused code 2013-02-16 01:15:37 -06:00
Ilan Schnell
7813bec6e9 add error handling 2013-02-16 01:14:06 -06:00
Ilan Schnell
26c4380c2b cleanup run_2to3 in setup.py 2013-02-16 00:14:43 -06:00
Siu Kwan Lam
bf121485ad Fix problem with caching llvm.core.Value objects. 2013-02-15 13:30:50 -06:00
Siu Kwan Lam
cb00dcc52c Fix a bug in CreatInsertValue and one in ConstantInt. 2013-02-13 18:12:45 -06:00
Siu Kwan Lam
d2dc34cdd3 Try to fix invalid dtor call 2013-02-13 17:12:54 -06:00
Siu Kwan Lam
a09394cacd Fix a lots of bugs in the newbinding to pass all the tests.
NOTE: debug info has not been implemented yet.
2013-02-13 15:52:53 -06:00
Ilan Schnell
0036d55eea remove excess whitespace 2013-02-12 11:55:04 -06:00
Ilan Schnell
b4f4483809 Py3k fixes for Windows 2013-02-12 11:24:36 -06:00
Siu Kwan Lam
a97b26415e Update old API to use the new binding.
Have not run the testsuite yet.
2013-02-11 18:15:22 -06:00
Siu Kwan Lam
2d8c6f0a41 Add PassRegistry, PassSupport, TargetRegistry, TargetOptions, and functions in Host.h
And a few other fixes
2013-02-11 18:13:38 -06:00
Siu Kwan Lam
3189be4d58 Rename newbinding directory to llvmpy. 2013-02-11 10:21:13 -06:00
Siu Kwan Lam
0681d2f37e Fixes various problem in llvm.core 2013-02-08 18:22:53 -06:00
Siu Kwan Lam
230583f42d Fix bug with empty namespace 2013-02-08 18:16:26 -06:00
Siu Kwan Lam
1fb6b05715 Finished wrapper in llvm.core 2013-02-08 18:13:45 -06:00
Siu Kwan Lam
8700bbc4f1 Fix segfault on exit 2013-02-08 18:13:16 -06:00