summaryrefslogtreecommitdiffstats
path: root/llvm/bindings/ocaml/target/target_ocaml.c
Commit message (Collapse)AuthorAgeFilesLines
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+4
| | | | | | | | | | | | | | | | | to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
* [NFC] Remove multiple semicolonsMandeep Singh Grang2017-06-281-1/+1
| | | | | | | | | | | | Reviewers: bogner, whitequark, mgrang Reviewed By: mgrang Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D34785 llvm-svn: 306613
* [OCaml] Reinstate data_layoutJeroen Ketema2016-04-011-0/+6
| | | | | | | | | | | | Expose LLVMCreateTargetMachineData as data_layout. As r263530 did for go. From that commit: "LLVMGetTargetDataLayout was removed from the C API, and then TargetMachine.TargetData was removed. Later, LLVMCreateTargetMachineData was added to the C API" Differential Revision: http://reviews.llvm.org/D18677 llvm-svn: 265115
* Silence warnings in OCaml bindingsJeroen Ketema2016-03-311-7/+1
| | | | | | | | | * LLVMDisposeMessage lives in llvm-c/Core.h, include this file where necessary * LLVMAddTargetData has been removed, follow suit in the bindings Differential Revision: http://reviews.llvm.org/D18633 llvm-svn: 265001
* Remove LLVMGetTargetMachineData leftovers.Benjamin Kramer2016-02-121-19/+0
| | | | llvm-svn: 260720
* [OCaml] De-duplicate llvm_raise and llvm_string_of_message.Peter Zotov2014-10-301-19/+2
| | | | llvm-svn: 220898
* [OCaml] Expose Llvm_target.TargetMachine.add_analysis_passes.Peter Zotov2014-10-291-0/+7
| | | | llvm-svn: 220846
* [OCaml] Drop support for 3.12.1 and earlier.Peter Zotov2014-10-291-28/+14
| | | | | | | | | | In practice this means: * Always using -g flag. * Embedding -cclib -lstdc++ into the corresponding cma/cmxa file. This also moves -lstdc++ in a single place. * Using caml_named_value instead of a homegrown mechanism. llvm-svn: 220843
* [OCaml] Unbreak Llvm_target.TargetMachine.set_verbose_asmPeter Zotov2014-06-091-2/+2
| | | | | | Patch by Jacques-Pascal Deplaix llvm-svn: 210480
* [OCaml] Add Target and TargetMachine bindings to Llvm_targetPeter Zotov2013-11-151-1/+250
| | | | llvm-svn: 194774
* [OCaml] Refactor Llvm_target interfacePeter Zotov2013-11-151-63/+67
| | | | | | | | 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] Add missing Llvm_target functionsPeter Zotov2013-11-111-0/+11
| | | | llvm-svn: 194382
* [OCaml] Accept context explicitly in Llvm_target functionsPeter Zotov2013-11-111-3/+3
| | | | | | | | 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-111-34/+58
| | | | | | This breaks the API by removing Llvm_target.DataLayout.dispose. llvm-svn: 194380
* [OCaml] Llvm_target: fix typo (Int_val instead of Int64_val)Peter Zotov2013-11-031-1/+1
| | | | llvm-svn: 193948
* OCaml bindings: formattingSylvestre Ledru2013-11-011-2/+2
| | | | | | | | 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
* 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-081-34/+34
| | | | llvm-svn: 165403
* Remove InvalidateStructLayoutInfo from the ocaml bindings.Benjamin Kramer2011-07-311-7/+0
| | | | llvm-svn: 136582
* C and Objective Caml bindings for the TargetData class.Gordon Henriksen2008-03-161-0/+109
llvm-svn: 48422
OpenPOWER on IntegriCloud