summaryrefslogtreecommitdiffstats
path: root/llvm/bindings/ocaml
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge LLVMBuilder and FoldingBuilder, callingDuncan Sands2008-04-131-1/+1
| | | | | | the result IRBuilder. Patch by Dominic Hamon. llvm-svn: 49604
* Expose Function::viewCFG and Function::viewCFGOnly to bindings.Erick Tryzelaar2008-03-313-0/+26
| | | | llvm-svn: 48982
* Expose ExecutionEngine::getTargetData() to c and ocaml bindings.Erick Tryzelaar2008-03-273-1/+8
| | | | llvm-svn: 48851
* Extend the builder interface to use the new instruction positioning code.Gordon Henriksen2008-03-253-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 Henriksen2008-03-231-1/+1
| | | | llvm-svn: 48713
* Fix a typo.Gordon Henriksen2008-03-231-1/+1
| | | | llvm-svn: 48712
* Objective Caml bindings for basic block, function, global, and arg iterators.Gordon Henriksen2008-03-233-12/+441
| | | | llvm-svn: 48711
* C and Objective Caml bindings for mem2reg and reg2mem.Gordon Henriksen2008-03-203-0/+32
| | | | | | Patch by Erick Tryzelaar. llvm-svn: 48602
* C and Objective Caml bindings for the various getParent methods of the IR.Gordon Henriksen2008-03-193-20/+65
| | | | | | Based on Erick Tryzelaar's patch. llvm-svn: 48523
* Fix for "make install" of ocaml docs. Patch by Erick Tryzelaar!Bill Wendling2008-03-171-0/+5
| | | | llvm-svn: 48451
* C and Objective Caml bindings for the TargetData class.Gordon Henriksen2008-03-165-1/+276
| | | | llvm-svn: 48422
* C and Objective Caml bindings for several scalar transforms.Gordon Henriksen2008-03-166-1/+146
| | | | | | Patch originally by Erick Tryzelaar, but has been modified somewhat. llvm-svn: 48419
* C and Objective Caml bindings for PassManagers.Gordon Henriksen2008-03-163-0/+106
| | | | llvm-svn: 48413
* Minor documentation fix.Gordon Henriksen2008-03-151-1/+1
| | | | | | Patch by Erick Tryzelaar. llvm-svn: 48382
* Expose Module::dump via C and Ocaml.Gordon Henriksen2008-03-142-0/+7
| | | | | | Patch by Erick Tryzelaar. llvm-svn: 48379
* Expose Module::dump via C and Ocaml.Gordon Henriksen2008-03-141-0/+4
| | | | | | Patch by Erick Tryzelaar. llvm-svn: 48378
* Refresh Makefile.ocaml in objdir if it is modified in srcdir.Gordon Henriksen2008-03-101-0/+8
| | | | | | Patch by Erick Tryzelaar! llvm-svn: 48150
* Refresh Makefile.ocaml in objdir if it is modified in srcdir.Gordon Henriksen2008-03-101-0/+1
| | | | | | Patch by Erick Tryzelaar! llvm-svn: 48149
* Adding ocamldoc generation.Gordon Henriksen2008-03-102-0/+12
| | | | | | Patch by Erick Tryzelaar. llvm-svn: 48147
* Formatting improvements.Gordon Henriksen2008-03-101-2/+2
| | | | llvm-svn: 48146
* This patch cleans up the OCaml bindings so that they format nicely withGordon Henriksen2008-03-096-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 Henriksen2008-03-073-3/+3
| | | | | | Patch by Erick Tryzelaar. llvm-svn: 48014
* Fix a typo. 'make clean' in bindings/ocaml would leave an output.Gordon Henriksen2008-03-071-1/+1
| | | | llvm-svn: 48012
* Fix a typo noticed by Erick Tryzelaar,Gordon Henriksen2008-03-041-1/+1
| | | | llvm-svn: 47886
* Modify Makefile.rules to allow makefiles to prepend to C.Flags andGordon Henriksen2008-01-061-1/+2
| | | | | | fiends. Change Makefile.ocaml to not touch CFLAGS. llvm-svn: 45663
* Fix a typo in llvm.mli noticed by Alain Frisch.Gordon Henriksen2008-01-041-1/+1
| | | | llvm-svn: 45585
* Quote a path in the Ocaml makefile which is likely to include spaces on Windows.Gordon Henriksen2008-01-041-1/+1
| | | | llvm-svn: 45580
* Trying r45451 again, but this time warning-free on 3.10.x.Gordon Henriksen2007-12-303-0/+9
| | | | llvm-svn: 45452
* Remove some lines that are nonportable to Ocaml 3.06.Gordon Henriksen2007-12-303-3/+0
| | | | llvm-svn: 45451
* remove attribution from a variety of miscellaneous files.Chris Lattner2007-12-2915-30/+30
| | | | llvm-svn: 45425
* Bindings for instruction calling conventions.Gordon Henriksen2007-12-293-0/+33
| | | | llvm-svn: 45422
* remove attributions from the rest of the llvm makefiles.Chris Lattner2007-12-297-14/+14
| | | | llvm-svn: 45416
* Adding bindings for target triple and data layout.Gordon Henriksen2007-12-273-0/+51
| | | | llvm-svn: 45369
* Adding an uninitialized builder constructor to the Ocaml bindings.Gordon Henriksen2007-12-263-9/+22
| | | | llvm-svn: 45362
* Disabling -g for ocaml builds; it's not downwards compatible.Gordon Henriksen2007-12-251-3/+4
| | | | llvm-svn: 45352
* Fix some Ocaml GC errors noticed upon review.Gordon Henriksen2007-12-231-13/+23
| | | | llvm-svn: 45336
* C and Ocaml bindings for ExecutionEngine (i.e., the JIT compiler).Gordon Henriksen2007-12-238-12/+608
| | | | llvm-svn: 45335
* Use a module to group calling convention values, too.Gordon Henriksen2007-12-202-10/+14
| | | | llvm-svn: 45236
* Using modules to group enumerations in Ocaml bindings.Gordon Henriksen2007-12-193-163/+184
| | | | llvm-svn: 45229
* Adding bindings for memory buffers and module providers. SwitchingGordon Henriksen2007-12-197-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 marketGordon Henriksen2007-12-173-5/+35
| | | | | | for Ocaml-based compilers targeting embedded devices. :) llvm-svn: 45096
* Add (very basic) bindings for ModuleProvider.Gordon Henriksen2007-12-123-0/+33
| | | | llvm-svn: 44899
* Adding Ocaml bindings for the bitreader as requested by SarahGordon Henriksen2007-12-115-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 Henriksen2007-12-103-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 Henriksen2007-12-082-3/+3
| | | | llvm-svn: 44704
* Track dependencies when creating symlinks to LLVM libraries nextGordon Henriksen2007-12-031-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 Henriksen2007-12-016-56/+826
| | | | llvm-svn: 44494
* Fix ocaml bindings for picky linkers. :)Gordon Henriksen2007-10-121-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 Henriksen2007-10-083-6/+67
| | | | llvm-svn: 42760
* Fixed downrev Ocaml compatibility.Gordon Henriksen2007-10-081-2/+2
| | | | llvm-svn: 42744
OpenPOWER on IntegriCloud