aboutsummaryrefslogtreecommitdiffstats
path: root/bindings
Commit message (Collapse)AuthorAgeFilesLines
* Add OCaml tutorial to the examples.Erick Tryzelaar2010-03-081-28/+95
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97966 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a LLVMWriteBitcodeToFD that exposes the raw_fd_ostream options.Erick Tryzelaar2010-03-063-0/+34
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97858 91177308-0d34-0410-b5e6-96231b3b80d8
* Expose the rest of the llvm-c scalar opts to ocaml.Erick Tryzelaar2010-03-033-20/+226
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97685 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename some ocaml functions.Erick Tryzelaar2010-03-033-13/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97684 91177308-0d34-0410-b5e6-96231b3b80d8
* Expose the external functions for ocaml's execution engine as an optimization.Erick Tryzelaar2010-03-031-29/+36
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97683 91177308-0d34-0410-b5e6-96231b3b80d8
* Expose alignment and stack alignment attributes to llvm-c and ocaml.Erick Tryzelaar2010-03-032-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97682 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the ocaml tag 0 since we are just returning an option value.Erick Tryzelaar2010-03-021-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97612 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't use an ocaml keyword in an ocamldoc comment.Erick Tryzelaar2010-03-021-7/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97611 91177308-0d34-0410-b5e6-96231b3b80d8
* Expose the optimization level for the jit in ocaml.Erick Tryzelaar2010-03-023-31/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97610 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove module providers from ocaml.Erick Tryzelaar2010-03-029-112/+71
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97609 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for use to ocaml.Erick Tryzelaar2010-03-023-0/+104
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97586 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support getting the operands of a User to ocaml.Erick Tryzelaar2010-02-283-0/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97414 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for global aliases to ocaml.Erick Tryzelaar2010-02-283-0/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97413 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for inserting inline asm to ocaml.Erick Tryzelaar2010-02-283-0/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97412 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for getting a null pointer.Erick Tryzelaar2010-02-282-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97380 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a way to look up a type by it's name in a module.Erick Tryzelaar2010-02-283-0/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97379 91177308-0d34-0410-b5e6-96231b3b80d8
* Add replace_all_uses_with to ocaml.Erick Tryzelaar2010-02-282-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97378 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for global variables in an address space for llvm-c and ocaml.Erick Tryzelaar2010-02-283-5/+54
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97377 91177308-0d34-0410-b5e6-96231b3b80d8
* Add indirect br support to llvm-c and ocaml.Erick Tryzelaar2010-02-283-0/+37
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97376 91177308-0d34-0410-b5e6-96231b3b80d8
* Add metadata functions to llvm-c and ocaml.Erick Tryzelaar2010-02-283-0/+170
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97375 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the new builder arthmetic instructions to llvm-c and ocaml.Erick Tryzelaar2010-02-283-0/+165
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97372 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the new union arthmetic instructions to llvm-c and ocaml.Erick Tryzelaar2010-02-283-6/+51
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97371 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix incorrect uses of an ocaml llbuilder without extracting it from ocaml.Erick Tryzelaar2010-02-281-4/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97368 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove malloc and free from the ocaml bindings.Erick Tryzelaar2010-02-283-42/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97367 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the ocaml bindings for the bitcode reader.Jeffrey Yasskin2010-02-271-1/+1
| | | | | | | | llvm_get_module_provider() was returning a value of the wrong type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97290 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix some ocaml documentationErick Tryzelaar2010-02-162-5/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96323 91177308-0d34-0410-b5e6-96231b3b80d8
* fix llvm_build_struct_gep for PR6167, patch byChris Lattner2010-02-091-4/+3
| | | | | | | Peter Hawkins! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95644 91177308-0d34-0410-b5e6-96231b3b80d8
* Reintroduce the InlineHint function attribute.Jakob Stoklund Olesen2010-02-062-0/+2
| | | | | | | | | | | | This time it's for real! I am going to hook this up in the frontends as well. The inliner has some experimental heuristics for dealing with the inline hint. When given a -respect-inlinehint option, functions marked with the inline keyword are given a threshold just above the default for -O3. We need some experiments to determine if that is the right thing to do. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95466 91177308-0d34-0410-b5e6-96231b3b80d8
* This corrects an error in the type of the Llvm.dispose_context function.Chris Lattner2010-01-242-2/+2
| | | | | | | Patch by James Woodyatt! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94343 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug 5992: O'Caml's llvm_create_module was treating the context as a string.Erick Tryzelaar2010-01-151-3/+3
| | | | | | Thanks Andy Ray for catching this! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93588 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the InlineHint attribute. There are no current or plannedEric Christopher2010-01-152-3/+1
| | | | | | | users. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93558 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix another parallel make race condition.Bob Wilson2009-12-181-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91709 91177308-0d34-0410-b5e6-96231b3b80d8
* Expose the rest of the attribute settings.Erick Tryzelaar2009-09-282-0/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82965 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bug in ocaml bindings that has incorrect linkage options.Erick Tryzelaar2009-09-282-0/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82964 91177308-0d34-0410-b5e6-96231b3b80d8
* Expose initializing the native target for the execution engine.Erick Tryzelaar2009-09-143-2/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81800 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix pr4820: Don't run llvm-config during "make clean" since it may haveBob Wilson2009-09-111-0/+4
| | | | | | | already been removed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81547 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix header comment for bindings/ocaml/llvm/Makefile.Erick Tryzelaar2009-08-301-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80526 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert the rest of the ocaml types and functions to use context.Erick Tryzelaar2009-08-193-125/+153
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79430 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the ocaml binding to LLVMBuildAggregateRet.Erick Tryzelaar2009-08-191-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79414 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow passing around LLVMContext in ocaml.Erick Tryzelaar2009-08-196-81/+148
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79410 91177308-0d34-0410-b5e6-96231b3b80d8
* LLVM Ada language bindings. Credit to Rod Kay and the AuroraUX team.Edward O'Callaghan2009-08-1825-0/+17089
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79295 91177308-0d34-0410-b5e6-96231b3b80d8
* Expose creating constant ints and floats from strings to ocaml.Erick Tryzelaar2009-08-163-0/+27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79214 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an llvm-c function that lets you insert an instruction with a name.Erick Tryzelaar2009-08-163-0/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79163 91177308-0d34-0410-b5e6-96231b3b80d8
* Expose most of the Constant creation functions to ocaml.Erick Tryzelaar2009-08-163-4/+148
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79162 91177308-0d34-0410-b5e6-96231b3b80d8
* Expose most of the IRBuilder functionality to ocaml.Erick Tryzelaar2009-08-163-3/+315
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79161 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix comment in llvm.mli.Erick Tryzelaar2009-08-101-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78591 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix docstring for ocaml binding's const_float.Erick Tryzelaar2009-08-101-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78589 91177308-0d34-0410-b5e6-96231b3b80d8
* Reorder the "Metadata" entry to match the C bindings.Bob Wilson2009-07-212-2/+2
| | | | | | | This fixes a regression in the vmcore.ml dejagnu test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76657 91177308-0d34-0410-b5e6-96231b3b80d8
* Add EngineBuilder to ExecutionEngine in favor of the five optional argument ↵Reid Kleckner2009-07-181-4/+4
| | | | | | | | | EE::create(). Also a test commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76276 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the Ocaml bindings for the ExecutionEngine: with the change to buildBob Wilson2009-06-241-0/+7
| | | | | | | | | libraries instead of relinked objects, the interpreter, JIT, and native target libraries were not being linked in to an ocaml program using the ExecutionEngine. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74117 91177308-0d34-0410-b5e6-96231b3b80d8