• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1(*===-- llvm_ipo.ml - LLVM OCaml Interface --------------------*- OCaml -*-===*
2 *
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
6 *
7 *===----------------------------------------------------------------------===*)
8
9external add_argument_promotion
10  : [ `Module ] Llvm.PassManager.t -> unit
11  = "llvm_add_argument_promotion"
12external add_constant_merge
13  : [ `Module ] Llvm.PassManager.t -> unit
14  = "llvm_add_constant_merge"
15external add_merge_functions
16  : [ `Module ] Llvm.PassManager.t -> unit
17  = "llvm_add_merge_functions"
18external add_dead_arg_elimination
19  : [ `Module ] Llvm.PassManager.t -> unit
20  = "llvm_add_dead_arg_elimination"
21external add_function_attrs
22  : [ `Module ] Llvm.PassManager.t -> unit
23  = "llvm_add_function_attrs"
24external add_function_inlining
25  : [ `Module ] Llvm.PassManager.t -> unit
26  = "llvm_add_function_inlining"
27external add_always_inliner
28  : [ `Module ] Llvm.PassManager.t -> unit
29  = "llvm_add_always_inliner"
30external add_global_dce
31  : [ `Module ] Llvm.PassManager.t -> unit
32  = "llvm_add_global_dce"
33external add_global_optimizer
34  : [ `Module ] Llvm.PassManager.t -> unit
35  = "llvm_add_global_optimizer"
36external add_prune_eh
37  : [ `Module ] Llvm.PassManager.t -> unit
38  = "llvm_add_prune_eh"
39external add_ipsccp
40  : [ `Module ] Llvm.PassManager.t -> unit
41  = "llvm_add_ipsccp"
42external add_internalize
43  : [ `Module ] Llvm.PassManager.t -> all_but_main:bool -> unit
44  = "llvm_add_internalize"
45external add_strip_dead_prototypes
46  : [ `Module ] Llvm.PassManager.t -> unit
47  = "llvm_add_strip_dead_prototypes"
48external add_strip_symbols
49  : [ `Module ] Llvm.PassManager.t -> unit
50  = "llvm_add_strip_symbols"
51