summaryrefslogtreecommitdiffstats
path: root/llvm/bindings/ocaml
Commit message (Collapse)AuthorAgeFilesLines
...
* Add replace_all_uses_with to ocaml.Erick Tryzelaar2010-02-282-0/+7
| | | | llvm-svn: 97378
* Add support for global variables in an address space for llvm-c and ocaml.Erick Tryzelaar2010-02-283-5/+54
| | | | llvm-svn: 97377
* Add indirect br support to llvm-c and ocaml.Erick Tryzelaar2010-02-283-0/+37
| | | | llvm-svn: 97376
* Add metadata functions to llvm-c and ocaml.Erick Tryzelaar2010-02-283-0/+170
| | | | llvm-svn: 97375
* Add the new builder arthmetic instructions to llvm-c and ocaml.Erick Tryzelaar2010-02-283-0/+165
| | | | llvm-svn: 97372
* Add the new union arthmetic instructions to llvm-c and ocaml.Erick Tryzelaar2010-02-283-6/+51
| | | | llvm-svn: 97371
* Fix incorrect uses of an ocaml llbuilder without extracting it from ocaml.Erick Tryzelaar2010-02-281-4/+3
| | | | llvm-svn: 97368
* Remove malloc and free from the ocaml bindings.Erick Tryzelaar2010-02-283-42/+0
| | | | llvm-svn: 97367
* 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. llvm-svn: 97290
* Fix some ocaml documentationErick Tryzelaar2010-02-162-5/+5
| | | | llvm-svn: 96323
* fix llvm_build_struct_gep for PR6167, patch byChris Lattner2010-02-091-4/+3
| | | | | | Peter Hawkins! llvm-svn: 95644
* 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. llvm-svn: 95466
* This corrects an error in the type of the Llvm.dispose_context function.Chris Lattner2010-01-242-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 Tryzelaar2010-01-151-3/+3
| | | | | | Thanks Andy Ray for catching this! llvm-svn: 93588
* Remove the InlineHint attribute. There are no current or plannedEric Christopher2010-01-152-3/+1
| | | | | | users. llvm-svn: 93558
* Fix another parallel make race condition.Bob Wilson2009-12-181-0/+1
| | | | llvm-svn: 91709
* Expose the rest of the attribute settings.Erick Tryzelaar2009-09-282-0/+20
| | | | llvm-svn: 82965
* Fix a bug in ocaml bindings that has incorrect linkage options.Erick Tryzelaar2009-09-282-0/+10
| | | | llvm-svn: 82964
* Expose initializing the native target for the execution engine.Erick Tryzelaar2009-09-143-2/+12
| | | | llvm-svn: 81800
* Fix pr4820: Don't run llvm-config during "make clean" since it may haveBob Wilson2009-09-111-0/+4
| | | | | | already been removed. llvm-svn: 81547
* Fix header comment for bindings/ocaml/llvm/Makefile.Erick Tryzelaar2009-08-301-1/+1
| | | | llvm-svn: 80526
* Convert the rest of the ocaml types and functions to use context.Erick Tryzelaar2009-08-193-125/+153
| | | | llvm-svn: 79430
* Add the ocaml binding to LLVMBuildAggregateRet.Erick Tryzelaar2009-08-191-0/+6
| | | | llvm-svn: 79414
* Allow passing around LLVMContext in ocaml.Erick Tryzelaar2009-08-196-81/+148
| | | | llvm-svn: 79410
* Expose creating constant ints and floats from strings to ocaml.Erick Tryzelaar2009-08-163-0/+27
| | | | llvm-svn: 79214
* Add an llvm-c function that lets you insert an instruction with a name.Erick Tryzelaar2009-08-163-0/+15
| | | | llvm-svn: 79163
* Expose most of the Constant creation functions to ocaml.Erick Tryzelaar2009-08-163-4/+148
| | | | llvm-svn: 79162
* Expose most of the IRBuilder functionality to ocaml.Erick Tryzelaar2009-08-163-3/+315
| | | | llvm-svn: 79161
* Fix comment in llvm.mli.Erick Tryzelaar2009-08-101-2/+2
| | | | llvm-svn: 78591
* Fix docstring for ocaml binding's const_float.Erick Tryzelaar2009-08-101-1/+1
| | | | llvm-svn: 78589
* 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. llvm-svn: 76657
* Add EngineBuilder to ExecutionEngine in favor of the five optional argument ↵Reid Kleckner2009-07-181-4/+4
| | | | | | | | EE::create(). Also a test commit. llvm-svn: 76276
* 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. llvm-svn: 74117
* remove dead makefile flags.Chris Lattner2009-06-246-6/+0
| | | | llvm-svn: 74064
* Give embedded metadata its own type instead of relying on EmptyStructTy.Nick Lewycky2009-05-302-0/+3
| | | | llvm-svn: 72610
* Hopefully fix the build for people with ocaml.Duncan Sands2009-05-221-0/+1
| | | | llvm-svn: 72254
* Add a getAlignOf helper for getting the ABI alignment of aDuncan Sands2009-05-211-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 thisDuncan Sands2009-05-091-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 Sands2009-05-063-1/+121
| | | | | | Incomplete, but better than nothing. llvm-svn: 71081
* Fix the JIT bindings for ocaml.Bill Wendling2009-04-301-2/+2
| | | | llvm-svn: 70454
* Fix ocaml bindings; add "available_externally" linkage type.Nick Lewycky2009-04-132-0/+2
| | | | llvm-svn: 68945
* Fix a parallel make race condition by swapping the order of -I directories.Bob Wilson2009-03-061-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 Lewycky2009-02-261-1/+1
| | | | llvm-svn: 65517
* Rename getABITypeSize to getTypePaddedSize, asDuncan Sands2009-01-121-1/+1
| | | | | | suggested by Chris. llvm-svn: 62099
* PR2731: C and Ocaml bindings for setTailCall and isTailCall.Gordon Henriksen2008-08-303-0/+29
| | | | | | Based on patch by Giorgos Korfiatis. llvm-svn: 55570
* Rename some GC classes so that their roll will hopefully be clearer.Gordon Henriksen2008-08-173-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 Henriksen2008-08-092-6/+0
| | | | | | Please use !LLVMIsDeclaration instead. llvm-svn: 54572
* [PR-2610] Adding Ocaml bindings for Switch::addCase.Gordon Henriksen2008-08-093-2/+18
| | | | llvm-svn: 54571
* Fix the LLVMCreateJITCompiler C binding.Gordon Henriksen2008-08-083-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 Henriksen2008-05-191-1/+1
| | | | llvm-svn: 51238
OpenPOWER on IntegriCloud