Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add replace_all_uses_with to ocaml. | Erick Tryzelaar | 2010-02-28 | 2 | -0/+7 | |
| | | | | llvm-svn: 97378 | |||||
* | Add support for global variables in an address space for llvm-c and ocaml. | Erick Tryzelaar | 2010-02-28 | 3 | -5/+54 | |
| | | | | llvm-svn: 97377 | |||||
* | Add indirect br support to llvm-c and ocaml. | Erick Tryzelaar | 2010-02-28 | 3 | -0/+37 | |
| | | | | llvm-svn: 97376 | |||||
* | Add metadata functions to llvm-c and ocaml. | Erick Tryzelaar | 2010-02-28 | 3 | -0/+170 | |
| | | | | llvm-svn: 97375 | |||||
* | Add the new builder arthmetic instructions to llvm-c and ocaml. | Erick Tryzelaar | 2010-02-28 | 3 | -0/+165 | |
| | | | | llvm-svn: 97372 | |||||
* | Add the new union arthmetic instructions to llvm-c and ocaml. | Erick Tryzelaar | 2010-02-28 | 3 | -6/+51 | |
| | | | | llvm-svn: 97371 | |||||
* | Fix incorrect uses of an ocaml llbuilder without extracting it from ocaml. | Erick Tryzelaar | 2010-02-28 | 1 | -4/+3 | |
| | | | | llvm-svn: 97368 | |||||
* | Remove malloc and free from the ocaml bindings. | Erick Tryzelaar | 2010-02-28 | 3 | -42/+0 | |
| | | | | llvm-svn: 97367 | |||||
* | Fix the ocaml bindings for the bitcode reader. | Jeffrey Yasskin | 2010-02-27 | 1 | -1/+1 | |
| | | | | | | llvm_get_module_provider() was returning a value of the wrong type. llvm-svn: 97290 | |||||
* | Fix some ocaml documentation | Erick Tryzelaar | 2010-02-16 | 2 | -5/+5 | |
| | | | | llvm-svn: 96323 | |||||
* | fix llvm_build_struct_gep for PR6167, patch by | Chris Lattner | 2010-02-09 | 1 | -4/+3 | |
| | | | | | | Peter Hawkins! llvm-svn: 95644 | |||||
* | Reintroduce the InlineHint function attribute. | Jakob Stoklund Olesen | 2010-02-06 | 2 | -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. llvm-svn: 95466 | |||||
* | This corrects an error in the type of the Llvm.dispose_context function. | Chris Lattner | 2010-01-24 | 2 | -2/+2 | |
| | | | | | | Patch by James Woodyatt! llvm-svn: 94343 | |||||
* | Fix bug 5992: O'Caml's llvm_create_module was treating the context as a string. | Erick Tryzelaar | 2010-01-15 | 1 | -3/+3 | |
| | | | | | | Thanks Andy Ray for catching this! llvm-svn: 93588 | |||||
* | Remove the InlineHint attribute. There are no current or planned | Eric Christopher | 2010-01-15 | 2 | -3/+1 | |
| | | | | | | users. llvm-svn: 93558 | |||||
* | Fix another parallel make race condition. | Bob Wilson | 2009-12-18 | 1 | -0/+1 | |
| | | | | llvm-svn: 91709 | |||||
* | Expose the rest of the attribute settings. | Erick Tryzelaar | 2009-09-28 | 2 | -0/+20 | |
| | | | | llvm-svn: 82965 | |||||
* | Fix a bug in ocaml bindings that has incorrect linkage options. | Erick Tryzelaar | 2009-09-28 | 2 | -0/+10 | |
| | | | | llvm-svn: 82964 | |||||
* | Expose initializing the native target for the execution engine. | Erick Tryzelaar | 2009-09-14 | 3 | -2/+12 | |
| | | | | llvm-svn: 81800 | |||||
* | Fix pr4820: Don't run llvm-config during "make clean" since it may have | Bob Wilson | 2009-09-11 | 1 | -0/+4 | |
| | | | | | | already been removed. llvm-svn: 81547 | |||||
* | Fix header comment for bindings/ocaml/llvm/Makefile. | Erick Tryzelaar | 2009-08-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 80526 | |||||
* | Convert the rest of the ocaml types and functions to use context. | Erick Tryzelaar | 2009-08-19 | 3 | -125/+153 | |
| | | | | llvm-svn: 79430 | |||||
* | Add the ocaml binding to LLVMBuildAggregateRet. | Erick Tryzelaar | 2009-08-19 | 1 | -0/+6 | |
| | | | | llvm-svn: 79414 | |||||
* | Allow passing around LLVMContext in ocaml. | Erick Tryzelaar | 2009-08-19 | 6 | -81/+148 | |
| | | | | llvm-svn: 79410 | |||||
* | Expose creating constant ints and floats from strings to ocaml. | Erick Tryzelaar | 2009-08-16 | 3 | -0/+27 | |
| | | | | llvm-svn: 79214 | |||||
* | Add an llvm-c function that lets you insert an instruction with a name. | Erick Tryzelaar | 2009-08-16 | 3 | -0/+15 | |
| | | | | llvm-svn: 79163 | |||||
* | Expose most of the Constant creation functions to ocaml. | Erick Tryzelaar | 2009-08-16 | 3 | -4/+148 | |
| | | | | llvm-svn: 79162 | |||||
* | Expose most of the IRBuilder functionality to ocaml. | Erick Tryzelaar | 2009-08-16 | 3 | -3/+315 | |
| | | | | llvm-svn: 79161 | |||||
* | Fix comment in llvm.mli. | Erick Tryzelaar | 2009-08-10 | 1 | -2/+2 | |
| | | | | llvm-svn: 78591 | |||||
* | 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 |