Siu Kwan Lam
a357987597
Allow initialization of other targets.
...
- Remove PTX/NVPTX targets from default built and init
2013-05-03 10:45:02 -05:00
Siu Kwan Lam
0b1abe7b26
Add isLayoutIdentical
2013-04-01 11:24:19 -05:00
Ilan Schnell
3c4769c58d
test bug: only attempt to compile when cc is available
2013-03-05 16:47:31 -06:00
Siu Kwan Lam
0cccb3dec9
Attempt to fix object code printing problem due to unicode
2013-02-27 19:03:44 -06:00
Siu Kwan Lam
9df508f7c0
Fix test with unicode problem in py3k
2013-02-27 18:43:57 -06:00
Siu Kwan Lam
cd8d622fc9
Fix mysin test for AVX support
2013-02-27 18:34:00 -06:00
Siu Kwan Lam
9f9d5a6081
More fixes to disable AVX in tests
2013-02-27 18:31:54 -06:00
Siu Kwan Lam
8073b67c96
Fix test related to AVX instructions.
2013-02-27 18:28:15 -06:00
Siu Kwan Lam
93cd20e933
Fix for python 3
2013-02-27 13:48:08 -06:00
Siu Kwan Lam
740d2595ee
Replace StringIO with BytesIO
2013-02-27 13:25:19 -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
Siu Kwan Lam
450c29e052
Swap out old llvm code
2013-02-05 15:30:43 -06:00
Ilan Schnell
5dd0948c65
cleanup
2013-01-31 17:54:20 -06:00
Siu Kwan Lam
3b1ae9889d
Ensure python2.6 support
2013-01-24 11:58:28 -06:00
Ilan Schnell
50e92b4abe
fix known failing tests on MacOSX for now
2013-01-18 11:44:38 -06:00
Siu Kwan Lam
0cb552a1ca
Fix TestCPUFeature test; more explicit.
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
7451f6ca4a
Add tests for double-precision intrinsics
2013-01-17 17:12:11 -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
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
e8c7fcfd32
Add optional TargetMachine param to EngineBuilder.create.
2013-01-03 11:47:24 -06:00
Siu Kwan Lam
e0d1b94053
Add NamedMetaData
2012-10-16 16:35:20 -05:00
Mark Wiebe
3d5468a9e2
Changes which allow the tests to run on windows in ipython qtconsole
2012-09-29 14:10:30 +09:00
Ilan Schnell
984bfece2d
add native asm test
2012-09-22 22:18:39 -05:00
Ilan Schnell
7b0f3cc0c7
move engine builder test
2012-09-22 20:59:03 -05:00
Ilan Schnell
b97dbba105
add target machine test class
2012-09-22 20:52:20 -05:00
Ilan Schnell
bdf9a04e37
add opaque tests
2012-09-22 20:44:01 -05:00
Ilan Schnell
abaeee678f
add volatile test
2012-09-22 20:39:00 -05:00
Ilan Schnell
81d6da3ae5
add constant expression test
2012-09-22 20:34:51 -05:00
Wladimir J. van der Laan
c94e852c0e
MetaData operands can be None. Handle this.
2012-09-14 17:09:28 +02:00
Ilan Schnell
5df7c4d159
improve test to not use hardcoded test directory
2012-09-13 10:57:48 -05:00
Ilan Schnell
77d199e60d
add atomic tests
2012-09-12 17:26:03 -05:00
Ilan Schnell
211f273000
add attribute test
2012-09-12 16:26:52 -05:00
Ilan Schnell
8af02c5a7e
add the assembly test
2012-09-12 15:50:29 -05:00
Ilan Schnell
b8dd256e11
add intrinsic tests to test module
2012-09-12 15:46:20 -05:00
Ilan Schnell
2b9ac16733
move issue 10 test case into common tests
2012-09-12 15:34:41 -05:00
Ilan Schnell
6d60c4a469
add inline test to common test suite
2012-09-12 15:18:12 -05:00
Wladimir J. van der Laan
e2d8079b93
Support MetaDataString, and correctly represent MetaData Values in _make_value
2012-09-12 21:23:54 +02:00
Wladimir J. van der Laan
7f69beb258
Access to MetaData operands
...
This is not available in the C API, so add functions to extra.cpp:
- `LLVMMetaDataGetOperand` wraps MDNode::getOperand
- `LLVMMetaDataGetNumOperands` wraps MDNode::getNumOperands
2012-09-12 20:59:59 +02:00
Wladimir J. van der Laan
6e6bd1ea71
Add support for module named metadata
...
This is mainly useful to get access to top-level debug information through 'llvm.dbg.cu'.
Wraps LLVM C-API functions `LLVMGetNamedMetadataNumOperands`, `LLVMGetNamedMetadataOperands` and `LLVMAddNamedMetadataOperand`.
Also add testcase.
2012-09-12 20:03:24 +02:00
Wladimir J. van der Laan
41953602bf
Add ways to get the value of a ConstantInt
...
- property z_ext_value gets the zero-extended value using LLVMConstIntGetZExtValue
- property s_ext_value gets the sign-extended value using LLVMConstIntGetSExtValue
- add test case for both
2012-09-09 12:40:40 +02:00
Wladimir J. van der Laan
5bd4991f0b
Implement property CallOrInvokeInstruction.called_function
...
Also add a testcase.
2012-09-02 13:23:47 +02:00
Ilan Schnell
552bae1864
add uses tests
2012-08-19 17:32:15 -05:00
Ilan Schnell
501c3d0f61
move native tests
2012-08-19 17:08:34 -05:00
Ilan Schnell
a24d4a9f12
add object cahce tests
2012-08-19 17:10:31 -05:00
Ilan Schnell
274a9e9cd2
finished moving passes tests
2012-08-19 16:26:01 -05:00
Ilan Schnell
4a090c8c76
add passes tests
2012-08-19 16:36:32 -05:00
Ilan Schnell
4985615442
add tests to llvm package
2012-08-19 16:01:17 -05:00