Commit graph

112 commits

Author SHA1 Message Date
Mark Florisson
b46757f492 Accept list of values and LLVM values as debug descriptors 2013-01-22 11:21:17 -06:00
Mark Florisson
3b75974731 Add basic block and instruction position descriptors 2013-01-21 20:58:32 -06:00
Mark Florisson
3fba8e4adf Support optional LLVM-level debug info 2013-01-21 19:30:46 -06:00
Mark Florisson
f6e687ae66 Allow declarative specification of debug descriptors 2013-01-21 16:54:51 -06:00
Mark Florisson
f05222caec Add file descriptors and per-module metadata caching 2013-01-21 13:04:50 -06:00
Mark Florisson
8c6384f242 Test dwarf compile unit with DW_LANG_C89 2013-01-21 12:41:49 -06:00
Mark Florisson
7c9f73ccc7 Allow debug description of compilation unit 2013-01-21 11:14:17 -06:00
Mark Florisson
93f8c70d19 Expose dwarf constants for debug info generation 2013-01-21 10:52:29 -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
Siu Kwan Lam
e2ec14bbb9 Add test to verify new pass APIs and loop-vectorizer. 2013-01-02 17:42:28 -06:00
Siu Kwan Lam
d491d91dd2 Add TBAA Builder 2012-11-29 12:36:54 -06:00
Siu Kwan Lam
2799e9f452 Test for InlineAsm 2012-11-01 11:42:30 -05:00
Siu Kwan Lam
d781e83bd1 can now clone modules 2012-10-19 16:18:24 -05:00
Thomas Kluyver
87ffb437d8 Fix a couple of tests for Python 3 2012-10-10 10:49:48 -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
Siu Kwan Lam
b748d34f48 a simply exercise for tbaa tree building. 2012-09-19 12:31:51 -07: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
e6bfbca6e8 update readme 2012-09-12 15:55:36 -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
6d60c4a469 add inline test to common test suite 2012-09-12 15:18:12 -05:00
Siu Kwan Lam
fbb7208b85 add invariant load
add related test
2012-09-06 20:00:01 -07:00
Siu Kwan Lam
82117d899e add support for metadata.
add related test.
2012-09-06 15:47:23 -07:00
Siu Kwan Lam
78cde30883 Revive inline_function() 2012-09-04 10:06:36 -07:00
Siu Kwan Lam
5d14461c84 Fix ConstantExpr opcode to use C++ enum values.
Note: C++ opcode is different from C opcode values.
Add ConstantExpr opcode name.
Add test for these.
2012-09-01 20:53:33 -07:00
Siu Kwan Lam
38d4de35bb Make it possible to pass LLVM options from environment variables.
These options are parsed like commandline options to llc.
2012-08-26 21:00:56 -07:00
Ilan Schnell
46c185f530 remove unused test module 2012-08-19 17:17:05 -05:00
Ilan Schnell
501c3d0f61 move native tests 2012-08-19 17:08:34 -05:00
Ilan Schnell
274a9e9cd2 finished moving passes tests 2012-08-19 16:26:01 -05:00
Ilan Schnell
b15046ad99 fixed file mode of test files 2012-08-19 01:27:42 -05:00
Ilan Schnell
d6fdd31883 Merge branch 'issue8-py2.6' 2012-08-18 22:10:16 -05:00
Siu Kwan Lam
1ed2049395 add method to retrieve host cpu name
add stub method to enginebuilder to setMCPU and setMAttrs -- these are not implemented in llvm3.1
2012-08-18 17:32:40 -07:00
Siu Kwan Lam
d1bcdd05d1 add NVPTX for LLVM 3.2;
auto-gen _intrinsic_ids.py  in setup.py;
2012-08-18 15:29:26 -07:00
Siu Kwan Lam
8eb6a34d54 Replace fprintf with exception 2012-08-15 15:22:08 -07:00
Siu Kwan Lam
1b7fc6c803 Add test for target machines (native + PTX) 2012-08-14 16:56:33 -07:00
Ilan Schnell
72f7fc4a99 more Py26 test fixes 2012-08-12 23:31:47 -05:00
Ilan Schnell
e0f18ae9de fixed uses.py for Python 2.6 2012-08-12 23:24:12 -05:00
Ilan Schnell
f54e195121 more Python 2.6 test fixes 2012-08-12 23:21:45 -05:00
Ilan Schnell
7f3550f93d fix more tests for Python 2.6 2012-08-12 23:12:55 -05:00
Ilan Schnell
2c25966dd6 backporting assertIs and assertIsNot to objcache.py 2012-08-12 23:05:53 -05:00
Siu Kwan Lam
bed4f24cbd Added Module.to_native_object() and Module.to_native_assembly().
Added test for these new functions.
2012-08-09 15:41:55 -07:00
Siu Kwan Lam
9ff0b4e8ab Merge pull request #7 from bfroehle/test_uses
test_uses: Fix unexpected keyword argument 'end' with `nosetests uses.py`
2012-08-07 18:26:23 -07:00
Bradley M. Froehle
d3548e5377 test_uses: Fix unexpected keyword argument 'end' with nosetests uses.py
Logging does not know about the keyword argument 'end'. The existing
code works only because the default logging level prevents debug messages
from running.  When running the test under `nosetests` the debug messages
are enabled leading to the error.
2012-08-07 15:56:05 -07:00
Bradley M. Froehle
938763ef07 Fix broken testall.py (NameError: PASS_AGGRESSIVE_DCE)
Commit 2d79cfa43 renamed PASS_AGGRESSIVE_DCE -> PASS_ADCE but missed
an instance in one test.
2012-08-07 15:38:06 -07:00
Siu Kwan Lam
5e15b27909 Atomic load/store must explicit define alignment. 2012-08-03 14:13:22 -07:00