Siu Kwan Lam
|
343efc6379
|
C-wrapper includes file and lineno when unknown exceptino is encountered
|
2013-01-17 16:44:01 -06:00 |
|
Mark Wiebe
|
2af04094a2
|
Rename nonconformant _TRY and _CATCH_ALL macros
Was conflicting with MSVC headers, for reference why this was
incorrect, see
http://stackoverflow.com/questions/228783/what-are-the-rules-about-using-an-underscore-in-a-c-identifier
Reserved in the global namespaces:
identifiers beginning with an underscore
|
2012-09-28 17:49:23 +09:00 |
|
dand-oss
|
51611517de
|
Change static string in header file to extern
- static will unnecessarily create and intialize a string in the data segment of each compiled cpp that includes it
|
2012-09-21 21:16:58 -05:00 |
|
Siu Kwan Lam
|
5debe65fe1
|
all llvmpy PyCapsule objects have a name.
pycap_get should throw when PyCapsule_GetPointer returns NULL.
|
2012-09-21 14:31:54 -07:00 |
|
dand-oss
|
0ee70e1a92
|
pycap_new() template replaces a bunch of macro code
|
2012-09-21 09:22:03 -05:00 |
|
Siu Kwan Lam
|
9767ac4d47
|
Improve error-handling for PyCapsule_GetPointer and related functions.
|
2012-09-15 19:10:05 -07:00 |
|
Siu Kwan Lam
|
0079b1de07
|
Cleanup all memory allocations and their exception handling
|
2012-09-15 18:34:15 -07:00 |
|
Siu Kwan Lam
|
f17d4f7d62
|
Add try-catch to all exposed functions
|
2012-09-15 18:17:16 -07:00 |
|
Siu Kwan Lam
|
d77c3a61e1
|
Better error handling for PyCapsule_GetPointer
|
2012-09-14 19:28:21 -07:00 |
|
dand-oss
|
db00a6b8de
|
C++ cleanup of old C conventions - prefer C++ casting to unsafe C style casts - use templates to encapsulate casting - prefer new to malloc - apply const when possible - decalare variables as near to use as possible
|
2012-09-10 16:52:50 -07:00 |
|
Wladimir J. van der Laan
|
3b22d5accf
|
Add wrapping constructor for (signed) long long
Completely analogous to how unsigned long long is handled
|
2012-09-09 12:04:27 +02:00 |
|
Siu Kwan Lam
|
82117d899e
|
add support for metadata.
add related test.
|
2012-09-06 15:47:23 -07:00 |
|
Ilan Schnell
|
d6fdd31883
|
Merge branch 'issue8-py2.6'
|
2012-08-18 22:10:16 -05:00 |
|
Jon Riehl
|
7c22f37b57
|
Adding support for building the "insertvalue" instruction.
|
2012-08-17 15:52:07 -05:00 |
|
Siu Kwan Lam
|
7880cdd3ba
|
Fix get intrinsic
|
2012-08-15 16:13:38 -07:00 |
|
Siu Kwan Lam
|
f85713a736
|
Enable PTX backend
|
2012-08-14 15:05:22 -07:00 |
|
Siu Kwan Lam
|
ec71908874
|
Add target machine
|
2012-08-14 12:04:28 -07:00 |
|
Siu Kwan Lam
|
2fd1e6d056
|
Add & use capsulethunk for Py2.6
|
2012-08-10 19:22:30 -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
|
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
|
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
|
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
|
2d79cfa437
|
Replaced PASS_* constants with pass name lookup.
|
2012-07-23 17:39:40 -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 |
|
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
|
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 |
|
mdevan.foobar
|
1c04eb1c87
|
Updated documentation, partially.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@90 8d1e9007-1d4e-0410-b67e-1979fd6579aa
|
2010-08-31 07:31:34 +00:00 |
|
mdevan.foobar
|
b7200e59b1
|
Removed the deprecated ModuleProvider class
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@88 8d1e9007-1d4e-0410-b67e-1979fd6579aa
|
2010-07-26 16:36:02 +00:00 |
|
mdevan.foobar
|
b2d8ff38a8
|
More properties/methods for TargetData.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@73 8d1e9007-1d4e-0410-b67e-1979fd6579aa
|
2009-03-01 08:34:04 +00:00 |
|
mdevan.foobar
|
d5328ef255
|
Value.uses API
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@70 8d1e9007-1d4e-0410-b67e-1979fd6579aa
|
2009-02-25 17:41:37 +00:00 |
|
mdevan.foobar
|
2190cb045c
|
Make compilable with g++, not just gcc (fixes Gentoo build issue).
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@57 8d1e9007-1d4e-0410-b67e-1979fd6579aa
|
2008-12-22 17:39:39 +00:00 |
|
mdevan.foobar
|
b52355d84e
|
Code cleanup.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@47 8d1e9007-1d4e-0410-b67e-1979fd6579aa
|
2008-11-17 16:45:40 +00:00 |
|
mdevan.foobar
|
da0a10662e
|
Added support for intrinsincs; needs more testing.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@24 8d1e9007-1d4e-0410-b67e-1979fd6579aa
|
2008-07-21 16:21:14 +00:00 |
|
mdevan.foobar
|
01eb4a7133
|
Added GenericValue. EE.run() uses GVs now. Converted line endings in wrap.{c,h}.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@19 8d1e9007-1d4e-0410-b67e-1979fd6579aa
|
2008-06-22 15:44:49 +00:00 |
|
mdevan.foobar
|
a73422f719
|
Added missing instructions and constant expressions. Updated documentation.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@9 8d1e9007-1d4e-0410-b67e-1979fd6579aa
|
2008-06-11 17:55:38 +00:00 |
|
mdevan.foobar
|
2255a7e5dd
|
Execution engine and passes work. Documentation and tests updated.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@4 8d1e9007-1d4e-0410-b67e-1979fd6579aa
|
2008-06-07 13:44:25 +00:00 |
|
mdevan.foobar
|
6ee3298bd2
|
Added web pages, and some ee/passes stuff. *Broken*.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@3 8d1e9007-1d4e-0410-b67e-1979fd6579aa
|
2008-06-03 17:24:46 +00:00 |
|
mdevan.foobar
|
37f3a30a4a
|
Initing with 0.1+some changes.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@2 8d1e9007-1d4e-0410-b67e-1979fd6579aa
|
2008-05-27 08:50:46 +00:00 |
|