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
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
4d763680f6
Add easier atomic api
2012-08-03 10:28:17 -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
9d068fd582
Add methods to set volatile inst.
2012-08-02 16:51:42 -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
0ca676eb8c
Fix Py3 incompatible in tests.
2012-07-25 19:55:22 -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