gn build: Extract git() and git_out() functions in sync script
[llvm-complete.git] / bindings / ocaml / transforms / ipo / llvm_ipo.ml
blobcc6b0507968f8dd639d6e99b775f8f4079717373
1 (*===-- llvm_ipo.ml - LLVM OCaml Interface --------------------*- OCaml -*-===*
3 * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 * See https://llvm.org/LICENSE.txt for license information.
5 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 *===----------------------------------------------------------------------===*)
9 external add_argument_promotion
10 : [ `Module ] Llvm.PassManager.t -> unit
11 = "llvm_add_argument_promotion"
12 external add_constant_merge
13 : [ `Module ] Llvm.PassManager.t -> unit
14 = "llvm_add_constant_merge"
15 external add_dead_arg_elimination
16 : [ `Module ] Llvm.PassManager.t -> unit
17 = "llvm_add_dead_arg_elimination"
18 external add_function_attrs
19 : [ `Module ] Llvm.PassManager.t -> unit
20 = "llvm_add_function_attrs"
21 external add_function_inlining
22 : [ `Module ] Llvm.PassManager.t -> unit
23 = "llvm_add_function_inlining"
24 external add_always_inliner
25 : [ `Module ] Llvm.PassManager.t -> unit
26 = "llvm_add_always_inliner"
27 external add_global_dce
28 : [ `Module ] Llvm.PassManager.t -> unit
29 = "llvm_add_global_dce"
30 external add_global_optimizer
31 : [ `Module ] Llvm.PassManager.t -> unit
32 = "llvm_add_global_optimizer"
33 external add_ipc_propagation
34 : [ `Module ] Llvm.PassManager.t -> unit
35 = "llvm_add_ip_constant_propagation"
36 external add_prune_eh
37 : [ `Module ] Llvm.PassManager.t -> unit
38 = "llvm_add_prune_eh"
39 external add_ipsccp
40 : [ `Module ] Llvm.PassManager.t -> unit
41 = "llvm_add_ipsccp"
42 external add_internalize
43 : [ `Module ] Llvm.PassManager.t -> all_but_main:bool -> unit
44 = "llvm_add_internalize"
45 external add_strip_dead_prototypes
46 : [ `Module ] Llvm.PassManager.t -> unit
47 = "llvm_add_strip_dead_prototypes"
48 external add_strip_symbols
49 : [ `Module ] Llvm.PassManager.t -> unit
50 = "llvm_add_strip_symbols"