Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | add support for ocaml 3.12 | Nuno Lopes | 2012-09-02 | 2 | -0/+6 | |
| | | | | llvm-svn: 163096 | |||||
* | Remove tabs. | Bill Wendling | 2012-07-19 | 2 | -4/+3 | |
| | | | | llvm-svn: 160482 | |||||
* | ocaml bindings: landing pad is now the last opcode. | Benjamin Kramer | 2012-02-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 149997 | |||||
* | Tidy up. s/Low Level Virtual Machine/LLVM/. | Jim Grosbach | 2012-01-25 | 1 | -1/+1 | |
| | | | | | | LLVM isn't an acronym anymore. llvm-svn: 148985 | |||||
* | Update OCaml bindings for the new half float type. | Bob Wilson | 2011-12-28 | 2 | -0/+3 | |
| | | | | | | Patch by Jonathan Ragan-Kelley! llvm-svn: 147314 | |||||
* | drop unneeded config.h includes | Dylan Noblesmith | 2011-12-22 | 1 | -1/+0 | |
| | | | | llvm-svn: 147197 | |||||
* | Minor fixes in Makefiles for the OCaml bindings: | Wojciech Matyjewicz | 2011-11-09 | 2 | -6/+8 | |
| | | | | | | | | | | | 1. Interface files (.mli) are installed before compiled interface files (.cmi) to preserve timestamp relation. 2. install-meta should use $(OcamlDir) instead of $(ObjDir). 3. Declared some targets as .PHONY. Patch by Christophe Raffalli. llvm-svn: 144183 | |||||
* | OCaml bindings: add some missing functions and testcases. | Torok Edwin | 2011-10-14 | 6 | -3/+261 | |
| | | | | | | The C bindings exposed some APIs that weren't covered by the OCaml bindings llvm-svn: 141997 | |||||
* | OCaml bindings: fix attributes to use all 32 bits | Torok Edwin | 2011-10-14 | 3 | -42/+120 | |
| | | | | | | | | | OCaml's int is limited to 31 bits on 32-bit architectures, so use Int32 explicitly. Also add an unpack_attr, and {function,param,instr}_attr functions to read the attributes. llvm-svn: 141996 | |||||
* | OCaml bindings: add icmp_predicate | Torok Edwin | 2011-10-14 | 1 | -0/+2 | |
| | | | | llvm-svn: 141995 | |||||
* | OCaml bindings: fix infinite recursion on string_of_lltype | Torok Edwin | 2011-10-14 | 1 | -1/+8 | |
| | | | | llvm-svn: 141994 | |||||
* | bindings: named struct support | Torok Edwin | 2011-10-14 | 3 | -1/+49 | |
| | | | | llvm-svn: 141993 | |||||
* | ocaml bindings: add findlib META support | Torok Edwin | 2011-10-14 | 2 | -0/+84 | |
| | | | | | | | This makes it easier to link against LLVM libs, especially if you are using _oasis. llvm-svn: 141992 | |||||
* | ocaml bindings: introduce classify_value | Torok Edwin | 2011-10-14 | 3 | -1/+119 | |
| | | | | llvm-svn: 141991 | |||||
* | ocaml bindings: add getopcode for constant and instruction, and int64_of_const. | Torok Edwin | 2011-10-14 | 3 | -1/+178 | |
| | | | | llvm-svn: 141990 | |||||
* | bindings: tab and indentation fixes of my previous commits | Torok Edwin | 2011-10-14 | 1 | -31/+31 | |
| | | | | llvm-svn: 141989 | |||||
* | ocaml/C bindings: type->isSized() | Torok Edwin | 2011-10-06 | 3 | -0/+10 | |
| | | | | llvm-svn: 141288 | |||||
* | add binding to read icmp predicate | Torok Edwin | 2011-10-06 | 3 | -0/+17 | |
| | | | | llvm-svn: 141287 | |||||
* | ocaml/C bindings: getmdstring, add num_op, get_op should work on metadata too | Torok Edwin | 2011-10-06 | 3 | -0/+37 | |
| | | | | llvm-svn: 141286 | |||||
* | C/OCaml API to retrieve struct name. | Torok Edwin | 2011-10-06 | 3 | -0/+19 | |
| | | | | llvm-svn: 141285 | |||||
* | ocaml bindings: add llvm_ipo based on IPO.h | Torok Edwin | 2011-10-06 | 5 | -1/+255 | |
| | | | | llvm-svn: 141284 | |||||
* | attempt to fix ocaml bindings: landing pads | Torok Edwin | 2011-10-03 | 3 | -1/+27 | |
| | | | | llvm-svn: 140991 | |||||
* | Remove the build_unwind function from the OCaml bindings. | Peter Collingbourne | 2011-08-10 | 3 | -12/+0 | |
| | | | | llvm-svn: 137193 | |||||
* | Remove InvalidateStructLayoutInfo from the ocaml bindings. | Benjamin Kramer | 2011-07-31 | 3 | -16/+0 | |
| | | | | llvm-svn: 136582 | |||||
* | Update OCaml bindings. Opaque types are gone, type holders are gone and the | Nick Lewycky | 2011-07-09 | 3 | -126/+0 | |
| | | | | | | module operations that operate on type names are gone. llvm-svn: 134839 | |||||
* | Fix compiling the ocaml kaleidoscope tutorials | Erick Tryzelaar | 2011-02-09 | 1 | -2/+7 | |
| | | | | llvm-svn: 125202 | |||||
* | Fix OCaml bindings crash, PR8847. | Torok Edwin | 2010-12-23 | 3 | -519/+519 | |
| | | | | | | | | | | | | | | | | | See http://caml.inria.fr/mantis/view.php?id=4166 If we call only external functions from a module, then its 'let _' bindings don't get executed, which means that the exceptions don't get registered for use in the C code. This in turn causes llvm_raise to call raise_with_arg() with a NULL pointer and cause a segmentation fault. The workaround is to declare all 'external' functions as 'val' in these .mli files. Also added a separate testcase (the testcase must call only external functions for the bug to occur). llvm-svn: 122497 | |||||
* | Try to fix ocaml bindings. | Eric Christopher | 2010-10-08 | 3 | -14/+0 | |
| | | | | llvm-svn: 116021 | |||||
* | Add X86 MMX type to bitcode and Type. | Dale Johannesen | 2010-09-10 | 1 | -0/+5 | |
| | | | | | | | (The Ada bindings probably need it too, but all the obvious places to change say "do not edit this file".) llvm-svn: 113618 | |||||
* | Remove unions from the ocaml bindings. | Benjamin Kramer | 2010-08-28 | 3 | -43/+0 | |
| | | | | llvm-svn: 112363 | |||||
* | Fix a typo. | Bob Wilson | 2010-08-20 | 1 | -1/+1 | |
| | | | | llvm-svn: 111627 | |||||
* | Expose LLVMSetOperand and LLVMGetNumOperands to llvm-c and ocaml. | Erick Tryzelaar | 2010-08-20 | 3 | -0/+21 | |
| | | | | llvm-svn: 111625 | |||||
* | Fix arguments to ocaml's llvm_params. | Erick Tryzelaar | 2010-08-20 | 1 | -2/+2 | |
| | | | | | | Thanks to Jianzhou Zhao for finding this. llvm-svn: 111624 | |||||
* | add attributes and module level asm to the ocaml bindings, | Chris Lattner | 2010-04-10 | 3 | -33/+86 | |
| | | | | | | patch by Patrick Walton! llvm-svn: 100932 | |||||
* | Add OCaml tutorial to the examples. | Erick Tryzelaar | 2010-03-08 | 1 | -28/+95 | |
| | | | | llvm-svn: 97966 | |||||
* | Add a LLVMWriteBitcodeToFD that exposes the raw_fd_ostream options. | Erick Tryzelaar | 2010-03-06 | 3 | -0/+34 | |
| | | | | llvm-svn: 97858 | |||||
* | Expose the rest of the llvm-c scalar opts to ocaml. | Erick Tryzelaar | 2010-03-03 | 3 | -20/+226 | |
| | | | | llvm-svn: 97685 | |||||
* | Rename some ocaml functions. | Erick Tryzelaar | 2010-03-03 | 3 | -13/+13 | |
| | | | | llvm-svn: 97684 | |||||
* | Expose the external functions for ocaml's execution engine as an optimization. | Erick Tryzelaar | 2010-03-03 | 1 | -29/+36 | |
| | | | | llvm-svn: 97683 | |||||
* | Expose alignment and stack alignment attributes to llvm-c and ocaml. | Erick Tryzelaar | 2010-03-03 | 2 | -0/+4 | |
| | | | | llvm-svn: 97682 | |||||
* | Use the ocaml tag 0 since we are just returning an option value. | Erick Tryzelaar | 2010-03-02 | 1 | -1/+1 | |
| | | | | llvm-svn: 97612 | |||||
* | Don't use an ocaml keyword in an ocamldoc comment. | Erick Tryzelaar | 2010-03-02 | 1 | -7/+8 | |
| | | | | llvm-svn: 97611 | |||||
* | Expose the optimization level for the jit in ocaml. | Erick Tryzelaar | 2010-03-02 | 3 | -31/+10 | |
| | | | | llvm-svn: 97610 | |||||
* | Remove module providers from ocaml. | Erick Tryzelaar | 2010-03-02 | 9 | -112/+71 | |
| | | | | llvm-svn: 97609 | |||||
* | Add support for use to ocaml. | Erick Tryzelaar | 2010-03-02 | 3 | -0/+104 | |
| | | | | llvm-svn: 97586 | |||||
* | Add support getting the operands of a User to ocaml. | Erick Tryzelaar | 2010-02-28 | 3 | -0/+17 | |
| | | | | llvm-svn: 97414 | |||||
* | Add support for global aliases to ocaml. | Erick Tryzelaar | 2010-02-28 | 3 | -0/+20 | |
| | | | | llvm-svn: 97413 | |||||
* | Add support for inserting inline asm to ocaml. | Erick Tryzelaar | 2010-02-28 | 3 | -0/+17 | |
| | | | | llvm-svn: 97412 | |||||
* | Add support for getting a null pointer. | Erick Tryzelaar | 2010-02-28 | 2 | -0/+5 | |
| | | | | llvm-svn: 97380 | |||||
* | Add a way to look up a type by it's name in a module. | Erick Tryzelaar | 2010-02-28 | 3 | -0/+19 | |
| | | | | llvm-svn: 97379 |