summaryrefslogtreecommitdiffstats
path: root/llvm/bindings/ocaml
Commit message (Collapse)AuthorAgeFilesLines
...
* [OCaml] Documentation improvements.Peter Zotov2014-07-021-26/+28
| | | | | | Patch by Julien Sagot llvm-svn: 212230
* [OCaml] Documentation improvements.Peter Zotov2014-06-302-3/+5
| | | | llvm-svn: 212048
* [OCaml] Unbreak Llvm_target.TargetMachine.set_verbose_asmPeter Zotov2014-06-091-2/+2
| | | | | | Patch by Jacques-Pascal Deplaix llvm-svn: 210480
* [OCaml] Commit missing parts of r210395Peter Zotov2014-06-071-1/+1
| | | | llvm-svn: 210396
* [OCaml] Introduce an llmdkind abstract type.Peter Zotov2014-06-072-7/+11
| | | | | | | | | Patch by Gabriel Radanne. While this commit technically breaks API, no code should have supplied the integer IDs directly, and thus no code should break. llvm-svn: 210395
* [OCaml] Add an ocamlfind package llvm.all_backends.Peter Zotov2014-05-016-1/+83
| | | | | | | | This package is useful for architecture-independent tools like llc. Patch by Jacques-Pascal Deplaix. llvm-svn: 207793
* Makefile.ocaml: Tweak to use --system-libs.NAKAMURA Takumi2013-12-201-1/+1
| | | | llvm-svn: 197758
* Fix documentation typosAlp Toker2013-12-201-1/+1
| | | | llvm-svn: 197757
* [OCaml] Add a slash accidentally omitted from MakefilePeter Zotov2013-11-281-1/+1
| | | | llvm-svn: 195912
* [OCaml] Embed rpath into stub libraries and native executablesPeter Zotov2013-11-271-3/+12
| | | | | | | | | | | | | | This commit embeds a set of linker flags with hardcoded paths to the LLVM shared library on --enable-shared builds into .cmxa files and stub dynamic libraries. This solution closely follows existing rules for rpath in the LLVM tools, which had to be modified because of differences in toolchain. Without this patch, OCaml tests as well as opam bindings broke, as neither of those updates LD_LIBRARY_PATH to include the $prefix/lib directory. llvm-svn: 195834
* [OCaml] Embed the flags necessary for linking with libLLVM.so into .cmxa filesPeter Zotov2013-11-261-0/+1
| | | | llvm-svn: 195782
* [OCaml] Unbreak make install by providing ocamldoc targetPeter Zotov2013-11-211-1/+6
| | | | llvm-svn: 195336
* [OCaml] Add Target and TargetMachine bindings to Llvm_targetPeter Zotov2013-11-153-1/+464
| | | | llvm-svn: 194774
* [OCaml] Refactor Llvm_target interfacePeter Zotov2013-11-156-180/+186
| | | | | | | | This commit brings the module structure, argument order and primitive names in Llvm_target in order with the rest of the bindings, in preparation for adding TargetMachine API. llvm-svn: 194773
* [OCaml] Fix building of stub librariesPeter Zotov2013-11-153-8/+8
| | | | llvm-svn: 194772
* [OCaml] Build stub OCaml libraries for all configured targetsPeter Zotov2013-11-146-0/+195
| | | | | | | | | | | | This allows to only link in the needed targets, reducing binary size and more importantly link time. Note that this is an incomplete implementation: currently, LLVM does not have the plumbing which would allow to conditionally link in AsmPrinter, AsmParser and Disassembler for the targets which support them. This should be improved in the future. llvm-svn: 194670
* [OCaml] Expose LLVM's fatal error and stacktrace APIsPeter Zotov2013-11-143-0/+47
| | | | llvm-svn: 194669
* [OCaml] Dynamically link LLVM on --enable-shared buildsPeter Zotov2013-11-121-1/+67
| | | | | | | | | | This commit significantly speeds up both bytecode and native builds of LLVM clients (from ~20 second to sub-second link time), and allows to invoke LLVM functions from OCaml toplevel. The behavior for --disable-shared builds is unchanged. llvm-svn: 194509
* [OCaml] Fix a typoPeter Zotov2013-11-121-6/+6
| | | | llvm-svn: 194508
* [OCaml] Add missing Llvm_target functionsPeter Zotov2013-11-113-0/+28
| | | | llvm-svn: 194382
* [OCaml] Accept context explicitly in Llvm_target functionsPeter Zotov2013-11-113-5/+7
| | | | | | | | Llvm_target.intptr_type used to implicitly use global context. As none of other functions in OCaml bindings do, it is changed to accept context explicitly. llvm-svn: 194381
* [OCaml] Make Llvm_target.DataLayout.t automatically managedPeter Zotov2013-11-115-43/+68
| | | | | | This breaks the API by removing Llvm_target.DataLayout.dispose. llvm-svn: 194380
* [OCaml] Impement Llvm_irreader, bindings to LLVM assembly parserPeter Zotov2013-11-066-1/+126
| | | | llvm-svn: 194138
* [OCaml] Implement Llvm.string_of_llvaluePeter Zotov2013-11-063-0/+15
| | | | llvm-svn: 194136
* [OCaml] (PR16190) Add ValueKinds for ConstantDataSequential and subclassesPeter Zotov2013-11-053-0/+8
| | | | | | Original patch by David Monniaux llvm-svn: 194075
* [OCaml] (PR16318) Add missing argument to Llvm.const_intcastPeter Zotov2013-11-053-5/+14
| | | | llvm-svn: 194065
* [OCaml] (PR11717) Make declare_qualified_global respect address argumentPeter Zotov2013-11-051-1/+2
| | | | | | Original patch by Jonathan Ragan-Kelley llvm-svn: 194064
* [OCaml] Properly tag the custom operations of Llvm.llbuilderPeter Zotov2013-11-051-1/+1
| | | | | | All other custom operations tags have LLVM prefix. llvm-svn: 194058
* [OCaml] Llvm_linker: do not use external in module interfacePeter Zotov2013-11-051-2/+1
| | | | | | | Workaround for an OCaml bug: http://caml.inria.fr/mantis/view.php?id=4166 llvm-svn: 194057
* [OCaml] implement Llvm_passmgr_builder, bindings for PassManagerBuilderPeter Zotov2013-11-046-1/+227
| | | | llvm-svn: 193968
* [OCaml] DocumentationPeter Zotov2013-11-042-7/+19
| | | | llvm-svn: 193967
* [OCaml] Implement missing LLVMCore APIsPeter Zotov2013-11-043-62/+349
| | | | llvm-svn: 193966
* [OCaml] FormattingPeter Zotov2013-11-043-172/+48
| | | | llvm-svn: 193965
* [OCaml] Implement Llvm.MemoryBuffer.{of_string,as_string}Peter Zotov2013-11-033-0/+33
| | | | llvm-svn: 193953
* [OCaml] Fix ABI incompatibilityPeter Zotov2013-11-032-1/+8
| | | | | | OCaml's type unit is not compatible with C's type void. llvm-svn: 193952
* [OCaml] Implement Llvm_linker, bindings for the IR linkerPeter Zotov2013-11-036-1/+131
| | | | llvm-svn: 193951
* [OCaml] Implement Llvm_vectorize bindingsPeter Zotov2013-11-036-1/+106
| | | | llvm-svn: 193950
* [OCaml] Llvm_target: fix typo (Int_val instead of Int64_val)Peter Zotov2013-11-031-1/+1
| | | | llvm-svn: 193948
* [OCaml] Llvm_scalar_opts: add missing transformsPeter Zotov2013-11-033-0/+13
| | | | llvm-svn: 193946
* [OCaml] Llvm_ipo: add missing transformsPeter Zotov2013-11-033-0/+12
| | | | llvm-svn: 193945
* OCaml bindings: fix typoSylvestre Ledru2013-11-011-1/+1
| | | | | | Patch by Peter Zotov llvm-svn: 193851
* OCaml bindings: remove unused DONT_BUILD_RELINKED from MakefilesSylvestre Ledru2013-11-012-2/+0
| | | | | | Patch by Peter Zotov llvm-svn: 193847
* OCaml bindings: fix typoSylvestre Ledru2013-11-012-2/+2
| | | | | | Patch by Peter Zotov llvm-svn: 193845
* OCaml bindings: fix typo in documentationSylvestre Ledru2013-11-011-1/+1
| | | | | | Patch by Peter Zotov llvm-svn: 193838
* OCaml bindings: formattingSylvestre Ledru2013-11-0124-74/+44
| | | | | | | | This commit only changes comments and documentation in OCaml bindings. The official name of the language is OCaml, and the usage is now consistent. Patch by Peter Zotov llvm-svn: 193836
* Exposing MCJIT through C APIAndrew Kaylor2013-04-291-1/+1
| | | | | | | | Re-submitting with fix for OCaml dependency problems (removing dependency on SectionMemoryManager when it isn't used). Patch by Fili Pizlo llvm-svn: 180720
* Fixing OCAML bindings for MCJITAndrew Kaylor2013-04-251-1/+1
| | | | llvm-svn: 180232
* Fix a build error for ocaml bindings that was introduced with the TargetData ↵Micah Villmow2012-10-191-1/+1
| | | | | | --> DataLayout changes. llvm-svn: 166309
* Fix the ocaml binding breakage from TargetData -> DataLayout changes.Micah Villmow2012-10-081-19/+19
| | | | llvm-svn: 165406
* Move TargetData to DataLayout.Micah Villmow2012-10-086-79/+79
| | | | llvm-svn: 165403
OpenPOWER on IntegriCloud