Commit graph

603 commits

Author SHA1 Message Date
cuda
c3a08a446f Fix import and Makefile on Linux 2013-02-27 11:28:07 -06:00
Siu Kwan Lam
dd9ba65328 Bug fixes 2013-02-26 18:43:49 -06:00
Siu Kwan Lam
c1b46e4384 Fix test 2013-02-25 10:02:49 -06:00
Siu Kwan Lam
d270f47328 Fix writing to file-like obj in python3.3 2013-02-24 13:22:30 -06:00
Siu Kwan Lam
45e70333fd Adapt to python 3.3 2013-02-22 19:17:56 -06:00
Siu Kwan Lam
a275068193 Fix formatted_raw_ostream ownership error with the underlying stream. 2013-02-22 17:58:38 -06:00
Siu Kwan Lam
74982d6fef Adapt to work in python2.6 2013-02-22 17:58:11 -06:00
Siu Kwan Lam
435b92b4a4 Fix VectorType.element 2013-02-22 10:50:18 -06:00
Siu Kwan Lam
d270e885cc Add ptrtoint cast in cbuilder 2013-02-22 10:43:34 -06:00
Siu Kwan Lam
42f7219c3f Allow function.verify to raise exception on error. 2013-02-22 10:43:11 -06:00
Siu Kwan Lam
1647580a41 LinkModules should release ownership of the other module when not preserving 2013-02-16 21:54:12 -06:00
Siu Kwan Lam
bf121485ad Fix problem with caching llvm.core.Value objects. 2013-02-15 13:30:50 -06:00
Siu Kwan Lam
cb00dcc52c Fix a bug in CreatInsertValue and one in ConstantInt. 2013-02-13 18:12:45 -06:00
Siu Kwan Lam
d2dc34cdd3 Try to fix invalid dtor call 2013-02-13 17:12:54 -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
a97b26415e Update old API to use the new binding.
Have not run the testsuite yet.
2013-02-11 18:15:22 -06:00
Siu Kwan Lam
2d8c6f0a41 Add PassRegistry, PassSupport, TargetRegistry, TargetOptions, and functions in Host.h
And a few other fixes
2013-02-11 18:13:38 -06:00
Siu Kwan Lam
3189be4d58 Rename newbinding directory to llvmpy. 2013-02-11 10:21:13 -06:00
Siu Kwan Lam
0681d2f37e Fixes various problem in llvm.core 2013-02-08 18:22:53 -06:00
Siu Kwan Lam
230583f42d Fix bug with empty namespace 2013-02-08 18:16:26 -06:00
Siu Kwan Lam
1fb6b05715 Finished wrapper in llvm.core 2013-02-08 18:13:45 -06:00
Siu Kwan Lam
8700bbc4f1 Fix segfault on exit 2013-02-08 18:13:16 -06:00
Siu Kwan Lam
60336d1c5f Add DynamicLibrary and InlineFunction 2013-02-08 18:13:04 -06:00
Siu Kwan Lam
c66dad7ece Implement commandline namespace 2013-02-08 18:12:36 -06:00
Siu Kwan Lam
355332d6d8 Add NVPTX components 2013-02-08 18:12:07 -06:00
Siu Kwan Lam
6eae24bcf3 Set default namespace to top-level C++ namespace. 2013-02-08 18:11:19 -06:00
Siu Kwan Lam
7c39bd1f5b Refactor to allow sub-namespace declaration 2013-02-08 16:03:29 -06:00
Siu Kwan Lam
fe383ca326 More to IRBuilder and Instruction 2013-02-07 17:40:00 -06:00
Siu Kwan Lam
b9ac22d136 More to BasicBlock 2013-02-07 15:31:54 -06:00
Siu Kwan Lam
113f30ffab Add more to Instruction 2013-02-07 15:23:31 -06:00
Siu Kwan Lam
541c119fc3 Add binding for MDNode, MDString, InlineAsm 2013-02-07 14:00:38 -06:00
Siu Kwan Lam
11cc78d780 Add binding for Intrinsics.
Add support for functions that free the resource but is not a destructor.
2013-02-07 13:27:03 -06:00
Siu Kwan Lam
aa5b969961 Expand test 2013-02-06 21:31:24 -06:00
Siu Kwan Lam
cd1fa4c4d8 Add binding for Attributes, Argument, Constants, CallingConv, GlobalValue, GlobalVariable, etc. 2013-02-06 21:31:14 -06:00
Siu Kwan Lam
39de8c4003 Expand test 2013-02-05 18:49:33 -06:00
Siu Kwan Lam
9c81fa1f63 Add more functions to GlobalValue GlobalVariable, StructType and Module 2013-02-05 18:49:13 -06:00
Siu Kwan Lam
c98a1274d9 Add Linker and Assembly (IR) Parser 2013-02-05 18:48:09 -06:00
Siu Kwan Lam
450c29e052 Swap out old llvm code 2013-02-05 15:30:43 -06:00
Siu Kwan Lam
da85049eb9 Add support to emit assembly. 2013-02-05 13:47:35 -06:00
Siu Kwan Lam
168510222f Add Module bitcode writer/parser 2013-02-05 13:47:35 -06:00
Siu Kwan Lam
961c5e99e1 Re-organize 2013-02-05 13:47:35 -06:00
Siu Kwan Lam
c085bef46e Rename the tests 2013-02-05 13:47:35 -06:00
Siu Kwan Lam
1f49bb6d7c Binding for PassManagerBuilder 2013-02-05 13:47:35 -06:00
Siu Kwan Lam
7788346152 Improve enum implementation 2013-02-05 13:47:35 -06:00
Siu Kwan Lam
372d6804e4 Add bindings for Pass, PassManagers, PassManagerBuilder and TargetLibraryInfo. 2013-02-05 13:47:35 -06:00
Siu Kwan Lam
9485d03e18 binding for Target, Triple, TargetMachine 2013-02-05 13:47:35 -06:00
Siu Kwan Lam
ca0a2b9fdd binding for EngineBuilder 2013-02-05 13:47:34 -06:00
Siu Kwan Lam
78f9c9a610 Completed binding for most of ExecutionEngine 2013-02-05 13:47:34 -06:00
Siu Kwan Lam
25b498c8fa Improve refct and management of capsules 2013-02-05 13:47:34 -06:00
Siu Kwan Lam
437b1e9490 All of DataLayout, IRBuilder and started on ExecutionEngine. 2013-02-05 13:47:34 -06:00