| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 220846
|
|
|
|
|
|
|
|
|
|
|
| |
Pretend they do not exist using exists_if. This is better than
the current situation, which is the error:
Error: The external function `llvm_global_succ' is not available
but still somewhat confusing.
llvm-svn: 220845
|
|
|
|
| |
llvm-svn: 220844
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Also, rearrange the functions in a way that allows to quickly
compare C headers and .mli/glue files.
llvm-svn: 220842
|
|
|
|
|
|
| |
Patch by Gabriel Radanne <drupyog@zoho.com>.
llvm-svn: 220818
|
|
|
|
|
|
| |
Patch by Gabriel Radanne <drupyog@zoho.com>.
llvm-svn: 220815
|
|
|
|
|
|
| |
We don't care about pre-3.12.1 anymore.
llvm-svn: 220767
|
|
|
|
| |
llvm-svn: 220766
|
|
|
|
|
|
| |
Patch by Gabriel Radanne <drupyog@zoho.com>.
llvm-svn: 220648
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
First, return true on success, as it is the OCaml convention.
Second, also initialize the native assembly printer, which is,
despite the name, required for MCJIT operation.
Since this function did not initialize the assembly printer earlier
and no function to initialize native assembly printer was available
elsewhere, it is safe to break its interface: it means that it
simply could not be used successfully before.
llvm-svn: 220620
|
|
|
|
| |
llvm-svn: 220619
|
|
|
|
| |
llvm-svn: 220377
|
|
|
|
| |
llvm-svn: 220008
|
|
|
|
|
|
|
|
| |
Approved by Jim Grosbach, Lang Hames, Rafael Espindola.
This reinstates commits r215111, 215115, 215116, 215117, 215136.
llvm-svn: 216982
|
|
|
|
|
|
| |
Patch by Gabriel Radanne <drupyog@zoho.com>
llvm-svn: 215420
|
|
|
|
|
|
|
|
|
|
|
| |
be deleted. This will be reapplied as soon as possible and before
the 3.6 branch date at any rate.
Approved by Jim Grosbach, Lang Hames, Rafael Espindola.
This reverts commits r215111, 215115, 215116, 215117, 215136.
llvm-svn: 215154
|
|
|
|
| |
llvm-svn: 215117
|
|
|
|
| |
llvm-svn: 214677
|
|
|
|
| |
llvm-svn: 213655
|
|
|
|
|
|
|
|
|
|
|
| |
Merges equivalent loads on both sides of a hammock/diamond
and hoists into into the header.
Merges equivalent stores on both sides of a hammock/diamond
and sinks it to the footer.
Can enable if conversion and tolerate better load misses
and store operand latencies.
llvm-svn: 213396
|
|
|
|
|
|
| |
Patch by Julien Sagot
llvm-svn: 212230
|
|
|
|
| |
llvm-svn: 212048
|
|
|
|
|
|
| |
Patch by Jacques-Pascal Deplaix
llvm-svn: 210480
|
|
|
|
| |
llvm-svn: 210396
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
This package is useful for architecture-independent tools like llc.
Patch by Jacques-Pascal Deplaix.
llvm-svn: 207793
|
|
|
|
| |
llvm-svn: 197758
|
|
|
|
| |
llvm-svn: 197757
|
|
|
|
| |
llvm-svn: 195912
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 195782
|
|
|
|
| |
llvm-svn: 195336
|
|
|
|
| |
llvm-svn: 194774
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 194772
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 194669
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 194508
|
|
|
|
| |
llvm-svn: 194382
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
This breaks the API by removing Llvm_target.DataLayout.dispose.
llvm-svn: 194380
|
|
|
|
| |
llvm-svn: 194138
|
|
|
|
| |
llvm-svn: 194136
|
|
|
|
|
|
| |
Original patch by David Monniaux
llvm-svn: 194075
|
|
|
|
| |
llvm-svn: 194065
|
|
|
|
|
|
| |
Original patch by Jonathan Ragan-Kelley
llvm-svn: 194064
|
|
|
|
|
|
| |
All other custom operations tags have LLVM prefix.
llvm-svn: 194058
|
|
|
|
|
|
|
| |
Workaround for an OCaml bug:
http://caml.inria.fr/mantis/view.php?id=4166
llvm-svn: 194057
|