Home | History | Annotate | Download | only in ipo
      1 (*===-- llvm_ipo.ml - LLVM OCaml Interface --------------------*- OCaml -*-===*
      2  *
      3  *                     The LLVM Compiler Infrastructure
      4  *
      5  * This file is distributed under the University of Illinois Open Source
      6  * License. See LICENSE.TXT for details.
      7  *
      8  *===----------------------------------------------------------------------===*)
      9 
     10 external add_argument_promotion : [ | `Module ] Llvm.PassManager.t -> unit =
     11   "llvm_add_argument_promotion"
     12 external add_constant_merge : [ | `Module ] Llvm.PassManager.t -> unit =
     13   "llvm_add_constant_merge"
     14 external add_dead_arg_elimination :
     15   [ | `Module ] Llvm.PassManager.t -> unit = "llvm_add_dead_arg_elimination"
     16 external add_function_attrs : [ | `Module ] Llvm.PassManager.t -> unit =
     17   "llvm_add_function_attrs"
     18 external add_function_inlining : [ | `Module ] Llvm.PassManager.t -> unit =
     19   "llvm_add_function_inlining"
     20 external add_always_inliner : [ | `Module ] Llvm.PassManager.t -> unit =
     21   "llvm_add_always_inliner"
     22 external add_global_dce : [ | `Module ] Llvm.PassManager.t -> unit =
     23   "llvm_add_global_dce"
     24 external add_global_optimizer : [ | `Module ] Llvm.PassManager.t -> unit =
     25   "llvm_add_global_optimizer"
     26 external add_ipc_propagation : [ | `Module ] Llvm.PassManager.t -> unit =
     27   "llvm_add_ipc_propagation"
     28 external add_prune_eh : [ | `Module ] Llvm.PassManager.t -> unit =
     29   "llvm_add_prune_eh"
     30 external add_ipsccp : [ | `Module ] Llvm.PassManager.t -> unit =
     31   "llvm_add_ipsccp"
     32 external add_internalize : [ | `Module ] Llvm.PassManager.t -> bool -> unit =
     33   "llvm_add_internalize"
     34 external add_strip_dead_prototypes :
     35   [ | `Module ] Llvm.PassManager.t -> unit = "llvm_add_strip_dead_prototypes"
     36 external add_strip_symbols : [ | `Module ] Llvm.PassManager.t -> unit =
     37   "llvm_add_strip_symbols"
     38