Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [OCaml] Documentation improvements. | Peter Zotov | 2014-07-02 | 1 | -26/+28 | |
| | | | | | | Patch by Julien Sagot llvm-svn: 212230 | |||||
* | [OCaml] Documentation improvements. | Peter Zotov | 2014-06-30 | 2 | -3/+5 | |
| | | | | llvm-svn: 212048 | |||||
* | [OCaml] Unbreak Llvm_target.TargetMachine.set_verbose_asm | Peter Zotov | 2014-06-09 | 1 | -2/+2 | |
| | | | | | | Patch by Jacques-Pascal Deplaix llvm-svn: 210480 | |||||
* | [OCaml] Commit missing parts of r210395 | Peter Zotov | 2014-06-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 210396 | |||||
* | [OCaml] Introduce an llmdkind abstract type. | Peter Zotov | 2014-06-07 | 2 | -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 Zotov | 2014-05-01 | 6 | -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 Takumi | 2013-12-20 | 1 | -1/+1 | |
| | | | | llvm-svn: 197758 | |||||
* | Fix documentation typos | Alp Toker | 2013-12-20 | 1 | -1/+1 | |
| | | | | llvm-svn: 197757 | |||||
* | [OCaml] Add a slash accidentally omitted from Makefile | Peter Zotov | 2013-11-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 195912 | |||||
* | [OCaml] Embed rpath into stub libraries and native executables | Peter Zotov | 2013-11-27 | 1 | -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 files | Peter Zotov | 2013-11-26 | 1 | -0/+1 | |
| | | | | llvm-svn: 195782 | |||||
* | [OCaml] Unbreak make install by providing ocamldoc target | Peter Zotov | 2013-11-21 | 1 | -1/+6 | |
| | | | | llvm-svn: 195336 | |||||
* | [OCaml] Add Target and TargetMachine bindings to Llvm_target | Peter Zotov | 2013-11-15 | 3 | -1/+464 | |
| | | | | llvm-svn: 194774 | |||||
* | [OCaml] Refactor Llvm_target interface | Peter Zotov | 2013-11-15 | 6 | -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 libraries | Peter Zotov | 2013-11-15 | 3 | -8/+8 | |
| | | | | llvm-svn: 194772 | |||||
* | [OCaml] Build stub OCaml libraries for all configured targets | Peter Zotov | 2013-11-14 | 6 | -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 APIs | Peter Zotov | 2013-11-14 | 3 | -0/+47 | |
| | | | | llvm-svn: 194669 | |||||
* | [OCaml] Dynamically link LLVM on --enable-shared builds | Peter Zotov | 2013-11-12 | 1 | -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 typo | Peter Zotov | 2013-11-12 | 1 | -6/+6 | |
| | | | | llvm-svn: 194508 | |||||
* | [OCaml] Add missing Llvm_target functions | Peter Zotov | 2013-11-11 | 3 | -0/+28 | |
| | | | | llvm-svn: 194382 | |||||
* | [OCaml] Accept context explicitly in Llvm_target functions | Peter Zotov | 2013-11-11 | 3 | -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 managed | Peter Zotov | 2013-11-11 | 5 | -43/+68 | |
| | | | | | | This breaks the API by removing Llvm_target.DataLayout.dispose. llvm-svn: 194380 | |||||
* | [OCaml] Impement Llvm_irreader, bindings to LLVM assembly parser | Peter Zotov | 2013-11-06 | 6 | -1/+126 | |
| | | | | llvm-svn: 194138 | |||||
* | [OCaml] Implement Llvm.string_of_llvalue | Peter Zotov | 2013-11-06 | 3 | -0/+15 | |
| | | | | llvm-svn: 194136 | |||||
* | [OCaml] (PR16190) Add ValueKinds for ConstantDataSequential and subclasses | Peter Zotov | 2013-11-05 | 3 | -0/+8 | |
| | | | | | | Original patch by David Monniaux llvm-svn: 194075 | |||||
* | [OCaml] (PR16318) Add missing argument to Llvm.const_intcast | Peter Zotov | 2013-11-05 | 3 | -5/+14 | |
| | | | | llvm-svn: 194065 | |||||
* | [OCaml] (PR11717) Make declare_qualified_global respect address argument | Peter Zotov | 2013-11-05 | 1 | -1/+2 | |
| | | | | | | Original patch by Jonathan Ragan-Kelley llvm-svn: 194064 | |||||
* | [OCaml] Properly tag the custom operations of Llvm.llbuilder | Peter Zotov | 2013-11-05 | 1 | -1/+1 | |
| | | | | | | All other custom operations tags have LLVM prefix. llvm-svn: 194058 | |||||
* | [OCaml] Llvm_linker: do not use external in module interface | Peter Zotov | 2013-11-05 | 1 | -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 PassManagerBuilder | Peter Zotov | 2013-11-04 | 6 | -1/+227 | |
| | | | | llvm-svn: 193968 | |||||
* | [OCaml] Documentation | Peter Zotov | 2013-11-04 | 2 | -7/+19 | |
| | | | | llvm-svn: 193967 | |||||
* | [OCaml] Implement missing LLVMCore APIs | Peter Zotov | 2013-11-04 | 3 | -62/+349 | |
| | | | | llvm-svn: 193966 | |||||
* | [OCaml] Formatting | Peter Zotov | 2013-11-04 | 3 | -172/+48 | |
| | | | | llvm-svn: 193965 | |||||
* | [OCaml] Implement Llvm.MemoryBuffer.{of_string,as_string} | Peter Zotov | 2013-11-03 | 3 | -0/+33 | |
| | | | | llvm-svn: 193953 | |||||
* | [OCaml] Fix ABI incompatibility | Peter Zotov | 2013-11-03 | 2 | -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 linker | Peter Zotov | 2013-11-03 | 6 | -1/+131 | |
| | | | | llvm-svn: 193951 | |||||
* | [OCaml] Implement Llvm_vectorize bindings | Peter Zotov | 2013-11-03 | 6 | -1/+106 | |
| | | | | llvm-svn: 193950 | |||||
* | [OCaml] Llvm_target: fix typo (Int_val instead of Int64_val) | Peter Zotov | 2013-11-03 | 1 | -1/+1 | |
| | | | | llvm-svn: 193948 | |||||
* | [OCaml] Llvm_scalar_opts: add missing transforms | Peter Zotov | 2013-11-03 | 3 | -0/+13 | |
| | | | | llvm-svn: 193946 | |||||
* | [OCaml] Llvm_ipo: add missing transforms | Peter Zotov | 2013-11-03 | 3 | -0/+12 | |
| | | | | llvm-svn: 193945 | |||||
* | OCaml bindings: fix typo | Sylvestre Ledru | 2013-11-01 | 1 | -1/+1 | |
| | | | | | | Patch by Peter Zotov llvm-svn: 193851 | |||||
* | OCaml bindings: remove unused DONT_BUILD_RELINKED from Makefiles | Sylvestre Ledru | 2013-11-01 | 2 | -2/+0 | |
| | | | | | | Patch by Peter Zotov llvm-svn: 193847 | |||||
* | OCaml bindings: fix typo | Sylvestre Ledru | 2013-11-01 | 2 | -2/+2 | |
| | | | | | | Patch by Peter Zotov llvm-svn: 193845 | |||||
* | OCaml bindings: fix typo in documentation | Sylvestre Ledru | 2013-11-01 | 1 | -1/+1 | |
| | | | | | | Patch by Peter Zotov llvm-svn: 193838 | |||||
* | OCaml bindings: formatting | Sylvestre Ledru | 2013-11-01 | 24 | -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 API | Andrew Kaylor | 2013-04-29 | 1 | -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 MCJIT | Andrew Kaylor | 2013-04-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 180232 | |||||
* | Fix a build error for ocaml bindings that was introduced with the TargetData ↵ | Micah Villmow | 2012-10-19 | 1 | -1/+1 | |
| | | | | | | --> DataLayout changes. llvm-svn: 166309 | |||||
* | Fix the ocaml binding breakage from TargetData -> DataLayout changes. | Micah Villmow | 2012-10-08 | 1 | -19/+19 | |
| | | | | llvm-svn: 165406 | |||||
* | Move TargetData to DataLayout. | Micah Villmow | 2012-10-08 | 6 | -79/+79 | |
| | | | | llvm-svn: 165403 |