Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix docstring for ocaml binding's const_float. | Erick Tryzelaar | 2009-08-10 | 1 | -1/+1 | |
| | | | | llvm-svn: 78589 | |||||
* | Reorder the "Metadata" entry to match the C bindings. | Bob Wilson | 2009-07-21 | 2 | -2/+2 | |
| | | | | | | This fixes a regression in the vmcore.ml dejagnu test. llvm-svn: 76657 | |||||
* | Add EngineBuilder to ExecutionEngine in favor of the five optional argument ↵ | Reid Kleckner | 2009-07-18 | 1 | -4/+4 | |
| | | | | | | | | EE::create(). Also a test commit. llvm-svn: 76276 | |||||
* | Fix the Ocaml bindings for the ExecutionEngine: with the change to build | Bob Wilson | 2009-06-24 | 1 | -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. llvm-svn: 74117 | |||||
* | remove dead makefile flags. | Chris Lattner | 2009-06-24 | 6 | -6/+0 | |
| | | | | llvm-svn: 74064 | |||||
* | Give embedded metadata its own type instead of relying on EmptyStructTy. | Nick Lewycky | 2009-05-30 | 2 | -0/+3 | |
| | | | | llvm-svn: 72610 | |||||
* | Hopefully fix the build for people with ocaml. | Duncan Sands | 2009-05-22 | 1 | -0/+1 | |
| | | | | llvm-svn: 72254 | |||||
* | Add a getAlignOf helper for getting the ABI alignment of a | Duncan Sands | 2009-05-21 | 1 | -1/+7 | |
| | | | | | | | | | type as a target independent constant expression. I confess that I didn't check that this method works as intended (though I did test the equivalent hand-written IR a little). But what could possibly go wrong! llvm-svn: 72213 | |||||
* | Rename PaddedSize to AllocSize, in the hope that this | Duncan Sands | 2009-05-09 | 1 | -1/+1 | |
| | | | | | | | will make it more obvious what it represents, and stop it being confused with the StoreSize. llvm-svn: 71349 | |||||
* | OCaml parameter attribute bindings from PR2752. | Duncan Sands | 2009-05-06 | 3 | -1/+121 | |
| | | | | | | Incomplete, but better than nothing. llvm-svn: 71081 | |||||
* | Fix the JIT bindings for ocaml. | Bill Wendling | 2009-04-30 | 1 | -2/+2 | |
| | | | | llvm-svn: 70454 | |||||
* | Fix ocaml bindings; add "available_externally" linkage type. | Nick Lewycky | 2009-04-13 | 2 | -0/+2 | |
| | | | | llvm-svn: 68945 | |||||
* | Fix a parallel make race condition by swapping the order of -I directories. | Bob Wilson | 2009-03-06 | 1 | -2/+2 | |
| | | | | | | | | | | | The .cmi files are generated in $(ObjDir) and then copied to $(OcamlDir). The ocamldep output references the .cmi files in $(ObjDir), so make kicks off a dependent compile as soon as the local copy is generated. If the copy to $(OcamlDir) is not complete at that point, the compiler will read the partially copied file and complain about a "Corrupted compiled interface". Searching $(ObjDir) first avoids this. llvm-svn: 66217 | |||||
* | Remove libtool. | Nick Lewycky | 2009-02-26 | 1 | -1/+1 | |
| | | | | llvm-svn: 65517 | |||||
* | Rename getABITypeSize to getTypePaddedSize, as | Duncan Sands | 2009-01-12 | 1 | -1/+1 | |
| | | | | | | suggested by Chris. llvm-svn: 62099 | |||||
* | PR2731: C and Ocaml bindings for setTailCall and isTailCall. | Gordon Henriksen | 2008-08-30 | 3 | -0/+29 | |
| | | | | | | Based on patch by Giorgos Korfiatis. llvm-svn: 55570 | |||||
* | Rename some GC classes so that their roll will hopefully be clearer. | Gordon Henriksen | 2008-08-17 | 3 | -14/+14 | |
| | | | | | | | | | | | | | | | | | | In particular, Collector was confusing to implementors. Several thought that this compile-time class was the place to implement their runtime GC heap. Of course, it doesn't even exist at runtime. Specifically, the renames are: Collector -> GCStrategy CollectorMetadata -> GCFunctionInfo CollectorModuleMetadata -> GCModuleInfo CollectorRegistry -> GCRegistry Function::getCollector -> getGC (setGC, hasGC, clearGC) Several accessors and nested types have also been renamed to be consistent. These changes should be obvious. llvm-svn: 54899 | |||||
* | Delete a redundant binding, LLVMHasInitializer. | Gordon Henriksen | 2008-08-09 | 2 | -6/+0 | |
| | | | | | | Please use !LLVMIsDeclaration instead. llvm-svn: 54572 | |||||
* | [PR-2610] Adding Ocaml bindings for Switch::addCase. | Gordon Henriksen | 2008-08-09 | 3 | -2/+18 | |
| | | | | llvm-svn: 54571 | |||||
* | Fix the LLVMCreateJITCompiler C binding. | Gordon Henriksen | 2008-08-08 | 3 | -4/+25 | |
| | | | | | | | Evan broke it in r54523 by adding a parameter in the implementation without updating the header correspondingly. llvm-svn: 54555 | |||||
* | Remove a duplicative binding. Patch by Mahadevan R. | Gordon Henriksen | 2008-05-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 51238 | |||||
* | 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 |