summaryrefslogtreecommitdiffstats
path: root/llvm/bindings
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Merge LLVMBuilder and FoldingBuilder, callingDuncan Sands2008-04-131-1/+1
| | | | | | the result IRBuilder. Patch by Dominic Hamon. llvm-svn: 49604
* Expose Function::viewCFG and Function::viewCFGOnly to bindings.Erick Tryzelaar2008-03-313-0/+26
| | | | llvm-svn: 48982
* Expose ExecutionEngine::getTargetData() to c and ocaml bindings.Erick Tryzelaar2008-03-273-1/+8
| | | | llvm-svn: 48851
* Extend the builder interface to use the new instruction positioning code.Gordon Henriksen2008-03-253-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 Henriksen2008-03-231-1/+1
| | | | llvm-svn: 48713
* Fix a typo.Gordon Henriksen2008-03-231-1/+1
| | | | llvm-svn: 48712
* Objective Caml bindings for basic block, function, global, and arg iterators.Gordon Henriksen2008-03-233-12/+441
| | | | llvm-svn: 48711
* C and Objective Caml bindings for mem2reg and reg2mem.Gordon Henriksen2008-03-203-0/+32
| | | | | | Patch by Erick Tryzelaar. llvm-svn: 48602
* C and Objective Caml bindings for the various getParent methods of the IR.Gordon Henriksen2008-03-193-20/+65
| | | | | | Based on Erick Tryzelaar's patch. llvm-svn: 48523
* Fix for "make install" of ocaml docs. Patch by Erick Tryzelaar!Bill Wendling2008-03-171-0/+5
| | | | llvm-svn: 48451
* C and Objective Caml bindings for the TargetData class.Gordon Henriksen2008-03-165-1/+276
| | | | llvm-svn: 48422
* C and Objective Caml bindings for several scalar transforms.Gordon Henriksen2008-03-166-1/+146
| | | | | | Patch originally by Erick Tryzelaar, but has been modified somewhat. llvm-svn: 48419
* C and Objective Caml bindings for PassManagers.Gordon Henriksen2008-03-163-0/+106
| | | | llvm-svn: 48413
* Minor documentation fix.Gordon Henriksen2008-03-151-1/+1
| | | | | | Patch by Erick Tryzelaar. llvm-svn: 48382
* Expose Module::dump via C and Ocaml.Gordon Henriksen2008-03-142-0/+7
| | | | | | Patch by Erick Tryzelaar. llvm-svn: 48379
* Expose Module::dump via C and Ocaml.Gordon Henriksen2008-03-141-0/+4
| | | | | | Patch by Erick Tryzelaar. llvm-svn: 48378
* Refresh Makefile.ocaml in objdir if it is modified in srcdir.Gordon Henriksen2008-03-101-0/+8
| | | | | | Patch by Erick Tryzelaar! llvm-svn: 48150
* Refresh Makefile.ocaml in objdir if it is modified in srcdir.Gordon Henriksen2008-03-101-0/+1
| | | | | | Patch by Erick Tryzelaar! llvm-svn: 48149
* Adding ocamldoc generation.Gordon Henriksen2008-03-102-0/+12
| | | | | | Patch by Erick Tryzelaar. llvm-svn: 48147
* Formatting improvements.Gordon Henriksen2008-03-101-2/+2
| | | | llvm-svn: 48146
* This patch cleans up the OCaml bindings so that they format nicely withGordon Henriksen2008-03-096-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 Henriksen2008-03-073-3/+3
| | | | | | Patch by Erick Tryzelaar. llvm-svn: 48014
* Fix a typo. 'make clean' in bindings/ocaml would leave an output.Gordon Henriksen2008-03-071-1/+1
| | | | llvm-svn: 48012
* Fix a typo noticed by Erick Tryzelaar,Gordon Henriksen2008-03-041-1/+1
| | | | llvm-svn: 47886
* Modify Makefile.rules to allow makefiles to prepend to C.Flags andGordon Henriksen2008-01-061-1/+2
| | | | | | fiends. Change Makefile.ocaml to not touch CFLAGS. llvm-svn: 45663
* Fix a typo in llvm.mli noticed by Alain Frisch.Gordon Henriksen2008-01-041-1/+1
| | | | llvm-svn: 45585
* Quote a path in the Ocaml makefile which is likely to include spaces on Windows.Gordon Henriksen2008-01-041-1/+1
| | | | llvm-svn: 45580
* Trying r45451 again, but this time warning-free on 3.10.x.Gordon Henriksen2007-12-303-0/+9
| | | | llvm-svn: 45452
* Remove some lines that are nonportable to Ocaml 3.06.Gordon Henriksen2007-12-303-3/+0
| | | | llvm-svn: 45451
OpenPOWER on IntegriCloud