Commit graph

585 commits

Author SHA1 Message Date
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
Siu Kwan Lam
59d0dfddc7 Continue to implement IRBuilder 2013-02-05 13:47:34 -06:00
Siu Kwan Lam
895d114730 Add CustonPythonMethod and CustonPythonStaticMethod. 2013-02-05 13:47:34 -06:00
Siu Kwan Lam
7aa9487f2f pycapsule_new should return a None object if ptr is NULL. 2013-02-05 13:47:34 -06:00
Siu Kwan Lam
af7962a2ca Remove IterToList, llvm_extra.h.
Add CustomMethod.
2013-02-05 13:47:34 -06:00
Siu Kwan Lam
d939728938 Forgot to push files for previous commit. 2013-02-05 13:47:34 -06:00
Siu Kwan Lam
fa4927e1fb Start to work on IRBuilder 2013-02-05 13:47:34 -06:00
Siu Kwan Lam
821e937837 Add binding util for iterator to list 2013-02-05 13:47:34 -06:00
Siu Kwan Lam
d1931cc499 Fix duplicated semicolon 2013-02-05 13:47:34 -06:00
Siu Kwan Lam
0168315076 Explicitly declare class name when registering classes 2013-02-05 13:47:34 -06:00
Siu Kwan Lam
4b5cb100f7 Auto discover binding modules 2013-02-05 13:47:34 -06:00
Siu Kwan Lam
c76096bbcb Add Function and some Function methods 2013-02-05 13:47:34 -06:00
Siu Kwan Lam
3c81157ede Add downcasting 2013-02-05 13:47:34 -06:00
Siu Kwan Lam
eba88b32ba Major refactoring 2013-02-05 13:47:34 -06:00
Siu Kwan Lam
a3da74c416 Expand Value class 2013-02-05 13:47:33 -06:00
Siu Kwan Lam
c247cf9527 Update generator script so that order of modules does not matter. 2013-02-05 13:47:33 -06:00
Siu Kwan Lam
e9e1f5703d Add Value, User, Constant 2013-02-05 13:47:33 -06:00
Siu Kwan Lam
e9be14ca0e Refactor raw_svector_stream_helper 2013-02-05 13:47:33 -06:00
Siu Kwan Lam
6a861d82e6 Implement SmallVector_Type, pycapsule_new 2013-02-05 13:47:33 -06:00