Commit graph

279 commits

Author SHA1 Message Date
Siu Kwan Lam
6bc5b72c71 Fix: ExecutionEngine should own TargetData instance returned from ee.target_data 2013-01-18 11:38:04 -06:00
Ilan Schnell
ca1a23dff5 skip failing tests on 32-bit Windows 2013-01-18 11:26:37 -06:00
Siu Kwan Lam
206d512c10 Fix LLVMLinkModules for LLVM-3.1 2013-01-17 19:06:06 -06:00
Siu Kwan Lam
7451f6ca4a Add tests for double-precision intrinsics 2013-01-17 17:12:11 -06:00
Siu Kwan Lam
343efc6379 C-wrapper includes file and lineno when unknown exceptino is encountered 2013-01-17 16:44:01 -06:00
Siu Kwan Lam
1daec8ff63 Add simpler intrinsic tests for debug llvm-3.2 on windows 32-bit 2013-01-17 16:43:27 -06:00
Siu Kwan Lam
c7320e84de Add tests for cpu features support 2013-01-17 16:08:47 -06:00
Siu Kwan Lam
d0fd53fda3 Revert "Workaround for LLVM-3.2 invalid reporting of host triple on darwin9.8"
This reverts commit ea315a58cb.
2013-01-17 14:22:27 -06:00
Siu Kwan Lam
ea315a58cb Workaround for LLVM-3.2 invalid reporting of host triple on darwin9.8 2013-01-17 14:13:03 -06:00
Siu Kwan Lam
2d3889111b Cleanup usage of long long; replace with PY_LONG_LONG.
For address, use PyLong_AsVoidPtr.
2013-01-17 13:16:53 -06:00
Ilan Schnell
0f3dfb85d4 simplified avx detection on Linux 2013-01-16 19:56:42 -06:00
Siu Kwan Lam
00b3449443 Try PY_LONG_LONG replacement for unsigned long long 2013-01-16 19:36:26 -06:00
Siu Kwan Lam
5d4759bd55 Workaround for AVX on old kernels. 2013-01-16 18:18:50 -06:00
Siu Kwan Lam
bdac4a809d Add lazy compilation option.
Unify execution engine creation through engine-builder internally.
2013-01-16 17:52:33 -06:00
Siu Kwan Lam
91a10e6a8e Fix TargetMachine ownership in EngineBuilder. 2013-01-14 20:34:29 -06:00
Siu Kwan Lam
8b58488bbd Add GEP inbounds 2013-01-14 10:30:58 -06:00
Siu Kwan Lam
207254fe50 Make note about preverifier bug in LLVM that *.verify() will abort upon error 2013-01-10 17:13:06 -06:00
Siu Kwan Lam
31fbc3ae64 Module.link_in should not delete other.ptr and should prevent the other.ptr from being destroyed 2013-01-10 17:10:40 -06:00
Siu Kwan Lam
ee62b0c96c Fix Module.link_in so it reports error and destory the other module when preserve=False 2013-01-10 16:52:25 -06:00
Siu Kwan Lam
f731332360 Builder.branch will check if the basicblock has terminator when running in debug mode. 2013-01-10 16:43:14 -06:00
Siu Kwan Lam
9dadd9f1df Use 'L' format for unsigned long long to be consistent 2013-01-10 09:44:00 -06:00
Ilan Schnell
cc8b16b9ca next version will be 0.10.0 2013-01-08 16:12:26 -06:00
Siu Kwan Lam
64880e7d69 Fix invalid use of long for address. Use unsigned long long for cross-platform 64-bit int. 2013-01-08 16:09:51 -06:00
Siu Kwan Lam
371e940c83 Reverse finalizer 2013-01-07 16:39:41 -06:00
Siu Kwan Lam
5fc5ba2e66 Fix free/delete mismatch in LLVMGetNativeCodeFromModule 2013-01-07 16:39:32 -06:00
Siu Kwan Lam
8ca0e79bd0 Fix free/delete mismatch in LLVMGetBitcodeFromModule 2013-01-07 15:14:46 -06:00
Siu Kwan Lam
af6b0d7823 Suppress warning for missing loop-vectorizer feature if user is not enabling it. 2013-01-07 14:00:11 -06:00
Siu Kwan Lam
9571aefbe0 Add ExecutionEngine.add_global_mapping 2013-01-04 15:15:41 -06:00
Siu Kwan Lam
457cd24986 Add test for ExecutionEngine.get_pointer_to_global 2013-01-04 14:25:39 -06:00
Siu Kwan Lam
5b6a1d75f8 Fix breakage of LLVM 3.1.
Add LLVM version number in llvmpy.
2013-01-04 14:24:26 -06:00
Bradley M. Froehle
dd32ce56b1 Wrap LLVMGetPointerToGlobal & add ExecutionEngine.get_pointer_to_global. 2013-01-04 10:21:55 -06:00
Siu Kwan Lam
f01da12e16 Add CodeModel 2013-01-03 15:37:11 -06:00
Siu Kwan Lam
bc20661343 Introduce finalizer module to manage finalization of C resources. 2013-01-03 14:44:32 -06:00
Siu Kwan Lam
e8c7fcfd32 Add optional TargetMachine param to EngineBuilder.create. 2013-01-03 11:47:24 -06:00
Siu Kwan Lam
a6ed8d55f8 Add clone method to TargetData. 2013-01-03 10:17:23 -06:00
Siu Kwan Lam
7f9c91e2aa Add simpler API for building pass-managers given a TargetMachine. 2013-01-02 17:42:28 -06:00
Siu Kwan Lam
3b399f9d8b Adding target specific passes. 2013-01-02 17:42:28 -06:00
Siu Kwan Lam
ff92a05858 Begin to expose Pass class. 2013-01-02 17:42:28 -06:00
Siu Kwan Lam
10e83f306f Add PassManagerBuilder.loop_vectorize property 2012-12-31 10:45:21 -06:00
Siu Kwan Lam
5da98dac49 Add macros to enable support for llvm3.1. 2012-12-27 17:10:12 -06:00
xol
f3e9eb0b05 Fix for llvm 3.2 - TargetData -> DataLayout 2012-12-27 14:06:47 -06:00
Alberto Valverde
5c5f3015f7 exposed LLVMInstructionEraseFromParent 2012-12-14 23:54:49 +01:00
Siu Kwan Lam
03e54f2c12 Expose preserve flag for Module.link_in 2012-12-04 13:50:16 -06:00
Siu Kwan Lam
d491d91dd2 Add TBAA Builder 2012-11-29 12:36:54 -06:00
Travis E. Oliphant
7adecd8f5d master is now 0.9.1 2012-11-11 01:43:47 -06:00
Travis E. Oliphant
6f234dbf2c Revert to 0.9 2012-11-11 01:42:21 -06:00
Ilan Schnell
f6a974a767 REL: master is now 0.9.1 2012-11-10 19:39:23 -06:00
Travis E. Oliphant
a2c5e861c4 Change author and email and version 2012-11-10 19:01:32 -06:00
Siu Kwan Lam
b9d05bb6fe Can now modify called_function of CallOrInvokeInstruction 2012-11-01 11:42:10 -05:00
Siu Kwan Lam
507ff73061 Add InlineAsm 2012-10-31 16:41:10 -05:00