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