Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Merge LLVMBuilder and FoldingBuilder, calling | Duncan Sands | 2008-04-13 | 1 | -1/+1 | |
| | | | | | | the result IRBuilder. Patch by Dominic Hamon. llvm-svn: 49604 | |||||
* | Expose Function::viewCFG and Function::viewCFGOnly to bindings. | Erick Tryzelaar | 2008-03-31 | 3 | -0/+26 | |
| | | | | llvm-svn: 48982 | |||||
* | Expose ExecutionEngine::getTargetData() to c and ocaml bindings. | Erick Tryzelaar | 2008-03-27 | 3 | -1/+8 | |
| | | | | llvm-svn: 48851 | |||||
* | Extend the builder interface to use the new instruction positioning code. | Gordon Henriksen | 2008-03-25 | 3 | -36/+130 | |
| | | | | | | | | | | This adds support for instruction iterators, as well as rewriting the builder code to use these new functions. This lets us eliminate the C bindings for moving around the builder. Patch by Erick Tryzelaar! llvm-svn: 48774 | |||||
* | Another typo. | Gordon Henriksen | 2008-03-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 48713 | |||||
* | Fix a typo. | Gordon Henriksen | 2008-03-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 48712 | |||||
* | Objective Caml bindings for basic block, function, global, and arg iterators. | Gordon Henriksen | 2008-03-23 | 3 | -12/+441 | |
| | | | | llvm-svn: 48711 | |||||
* | C and Objective Caml bindings for mem2reg and reg2mem. | Gordon Henriksen | 2008-03-20 | 3 | -0/+32 | |
| | | | | | | Patch by Erick Tryzelaar. llvm-svn: 48602 | |||||
* | C and Objective Caml bindings for the various getParent methods of the IR. | Gordon Henriksen | 2008-03-19 | 3 | -20/+65 | |
| | | | | | | Based on Erick Tryzelaar's patch. llvm-svn: 48523 | |||||
* | Fix for "make install" of ocaml docs. Patch by Erick Tryzelaar! | Bill Wendling | 2008-03-17 | 1 | -0/+5 | |
| | | | | llvm-svn: 48451 | |||||
* | C and Objective Caml bindings for the TargetData class. | Gordon Henriksen | 2008-03-16 | 5 | -1/+276 | |
| | | | | llvm-svn: 48422 | |||||
* | C and Objective Caml bindings for several scalar transforms. | Gordon Henriksen | 2008-03-16 | 6 | -1/+146 | |
| | | | | | | Patch originally by Erick Tryzelaar, but has been modified somewhat. llvm-svn: 48419 | |||||
* | C and Objective Caml bindings for PassManagers. | Gordon Henriksen | 2008-03-16 | 3 | -0/+106 | |
| | | | | llvm-svn: 48413 | |||||
* | Minor documentation fix. | Gordon Henriksen | 2008-03-15 | 1 | -1/+1 | |
| | | | | | | Patch by Erick Tryzelaar. llvm-svn: 48382 | |||||
* | Expose Module::dump via C and Ocaml. | Gordon Henriksen | 2008-03-14 | 2 | -0/+7 | |
| | | | | | | Patch by Erick Tryzelaar. llvm-svn: 48379 | |||||
* | Expose Module::dump via C and Ocaml. | Gordon Henriksen | 2008-03-14 | 1 | -0/+4 | |
| | | | | | | Patch by Erick Tryzelaar. llvm-svn: 48378 | |||||
* | Refresh Makefile.ocaml in objdir if it is modified in srcdir. | Gordon Henriksen | 2008-03-10 | 1 | -0/+8 | |
| | | | | | | Patch by Erick Tryzelaar! llvm-svn: 48150 | |||||
* | Refresh Makefile.ocaml in objdir if it is modified in srcdir. | Gordon Henriksen | 2008-03-10 | 1 | -0/+1 | |
| | | | | | | Patch by Erick Tryzelaar! llvm-svn: 48149 | |||||
* | Adding ocamldoc generation. | Gordon Henriksen | 2008-03-10 | 2 | -0/+12 | |
| | | | | | | Patch by Erick Tryzelaar. llvm-svn: 48147 | |||||
* | Formatting improvements. | Gordon Henriksen | 2008-03-10 | 1 | -2/+2 | |
| | | | | llvm-svn: 48146 | |||||
* | This patch cleans up the OCaml bindings so that they format nicely with | Gordon Henriksen | 2008-03-09 | 6 | -349/+373 | |
| | | | | | | | | ocamldoc. It does not yet hook into the build system, though. Patch by Erick Tryzelaar! llvm-svn: 48095 | |||||
* | Cleanup some comments in the OCaml bindings. | Gordon Henriksen | 2008-03-07 | 3 | -3/+3 | |
| | | | | | | Patch by Erick Tryzelaar. llvm-svn: 48014 | |||||
* | Fix a typo. 'make clean' in bindings/ocaml would leave an output. | Gordon Henriksen | 2008-03-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 48012 | |||||
* | Fix a typo noticed by Erick Tryzelaar, | Gordon Henriksen | 2008-03-04 | 1 | -1/+1 | |
| | | | | llvm-svn: 47886 | |||||
* | Modify Makefile.rules to allow makefiles to prepend to C.Flags and | Gordon Henriksen | 2008-01-06 | 1 | -1/+2 | |
| | | | | | | fiends. Change Makefile.ocaml to not touch CFLAGS. llvm-svn: 45663 | |||||
* | Fix a typo in llvm.mli noticed by Alain Frisch. | Gordon Henriksen | 2008-01-04 | 1 | -1/+1 | |
| | | | | llvm-svn: 45585 | |||||
* | Quote a path in the Ocaml makefile which is likely to include spaces on Windows. | Gordon Henriksen | 2008-01-04 | 1 | -1/+1 | |
| | | | | llvm-svn: 45580 | |||||
* | Trying r45451 again, but this time warning-free on 3.10.x. | Gordon Henriksen | 2007-12-30 | 3 | -0/+9 | |
| | | | | llvm-svn: 45452 | |||||
* | Remove some lines that are nonportable to Ocaml 3.06. | Gordon Henriksen | 2007-12-30 | 3 | -3/+0 | |
| | | | | llvm-svn: 45451 | |||||
* | remove attribution from a variety of miscellaneous files. | Chris Lattner | 2007-12-29 | 15 | -30/+30 | |
| | | | | llvm-svn: 45425 | |||||
* | Bindings for instruction calling conventions. | Gordon Henriksen | 2007-12-29 | 3 | -0/+33 | |
| | | | | llvm-svn: 45422 | |||||
* | remove attributions from the rest of the llvm makefiles. | Chris Lattner | 2007-12-29 | 7 | -14/+14 | |
| | | | | llvm-svn: 45416 | |||||
* | Adding bindings for target triple and data layout. | Gordon Henriksen | 2007-12-27 | 3 | -0/+51 | |
| | | | | llvm-svn: 45369 | |||||
* | Adding an uninitialized builder constructor to the Ocaml bindings. | Gordon Henriksen | 2007-12-26 | 3 | -9/+22 | |
| | | | | llvm-svn: 45362 | |||||
* | Disabling -g for ocaml builds; it's not downwards compatible. | Gordon Henriksen | 2007-12-25 | 1 | -3/+4 | |
| | | | | llvm-svn: 45352 | |||||
* | Fix some Ocaml GC errors noticed upon review. | Gordon Henriksen | 2007-12-23 | 1 | -13/+23 | |
| | | | | llvm-svn: 45336 | |||||
* | C and Ocaml bindings for ExecutionEngine (i.e., the JIT compiler). | Gordon Henriksen | 2007-12-23 | 8 | -12/+608 | |
| | | | | llvm-svn: 45335 | |||||
* | Use a module to group calling convention values, too. | Gordon Henriksen | 2007-12-20 | 2 | -10/+14 | |
| | | | | llvm-svn: 45236 | |||||
* | Using modules to group enumerations in Ocaml bindings. | Gordon Henriksen | 2007-12-19 | 3 | -163/+184 | |
| | | | | llvm-svn: 45229 | |||||
* | Adding bindings for memory buffers and module providers. Switching | Gordon Henriksen | 2007-12-19 | 7 | -48/+172 | |
| | | | | | | to exceptions rather than variants for error handling in Ocaml. llvm-svn: 45226 | |||||
* | C and Ocaml bindings for address spaces, for that burgeoning market | Gordon Henriksen | 2007-12-17 | 3 | -5/+35 | |
| | | | | | | for Ocaml-based compilers targeting embedded devices. :) llvm-svn: 45096 | |||||
* | Add (very basic) bindings for ModuleProvider. | Gordon Henriksen | 2007-12-12 | 3 | -0/+33 | |
| | | | | llvm-svn: 44899 | |||||
* | Adding Ocaml bindings for the bitreader as requested by Sarah | Gordon Henriksen | 2007-12-11 | 5 | -1/+109 | |
| | | | | | | | | | | | | | | | | | | | Thompson. Usage should be something like this: open Llvm open Llvm_bitreader match read_bitcode_file fn with | Bitreader_failure msg -> prerr_endline msg | Bitreader_success m -> ...; dispose_module m Compile with: ocamlc llvm.cma llvm_bitreader.cma ocamlopt llvm.cmxa llvm_bitreader.cmxa llvm-svn: 44824 | |||||
* | Adding a collector name attribute to Function in the IR. These | Gordon Henriksen | 2007-12-10 | 3 | -0/+34 | |
| | | | | | | | | | | | | | | | | | | | | methods are new to Function: bool hasCollector() const; const std::string &getCollector() const; void setCollector(const std::string &); void clearCollector(); The assembly representation is as such: define void @f() gc "shadow-stack" { ... The implementation uses an on-the-side table to map Functions to collector names, such that there is no overhead. A StringPool is further used to unique collector names, which are extremely likely to be unique per process. llvm-svn: 44769 | |||||
* | Fix bug in constructing Ocaml option types in the bindings. | Gordon Henriksen | 2007-12-08 | 2 | -3/+3 | |
| | | | | llvm-svn: 44704 | |||||
* | Track dependencies when creating symlinks to LLVM libraries next | Gordon Henriksen | 2007-12-03 | 1 | -9/+26 | |
| | | | | | | | to the ocaml bindings. This is required on Windows where 'ln -sf' actually creates a copy. Thanks to Alain Frisch for noticing this. llvm-svn: 44547 | |||||
* | Adding ocamldoc-style comments for the Ocaml bindings. | Gordon Henriksen | 2007-12-01 | 6 | -56/+826 | |
| | | | | llvm-svn: 44494 | |||||
* | Fix ocaml bindings for picky linkers. :) | Gordon Henriksen | 2007-10-12 | 1 | -2/+3 | |
| | | | | | | Thanks to Török Edvin for helping to track this down. llvm-svn: 42927 | |||||
* | C and Objective Caml bindings for PHINode::addIncoming etc. | Gordon Henriksen | 2007-10-08 | 3 | -6/+67 | |
| | | | | llvm-svn: 42760 | |||||
* | Fixed downrev Ocaml compatibility. | Gordon Henriksen | 2007-10-08 | 1 | -2/+2 | |
| | | | | llvm-svn: 42744 |