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
     11   : [ `Module ] Llvm.PassManager.t -> unit
     12   = "llvm_add_argument_promotion"
     13 external add_constant_merge
     14   : [ `Module ] Llvm.PassManager.t -> unit
     15   = "llvm_add_constant_merge"
     16 external add_dead_arg_elimination
     17   : [ `Module ] Llvm.PassManager.t -> unit
     18   = "llvm_add_dead_arg_elimination"
     19 external add_function_attrs
     20   : [ `Module ] Llvm.PassManager.t -> unit
     21   = "llvm_add_function_attrs"
     22 external add_function_inlining
     23   : [ `Module ] Llvm.PassManager.t -> unit
     24   = "llvm_add_function_inlining"
     25 external add_always_inliner
     26   : [ `Module ] Llvm.PassManager.t -> unit
     27   = "llvm_add_always_inliner"
     28 external add_global_dce
     29   : [ `Module ] Llvm.PassManager.t -> unit
     30   = "llvm_add_global_dce"
     31 external add_global_optimizer
     32   : [ `Module ] Llvm.PassManager.t -> unit
     33   = "llvm_add_global_optimizer"
     34 external add_ipc_propagation
     35   : [ `Module ] Llvm.PassManager.t -> unit
     36   = "llvm_add_ip_constant_propagation"
     37 external add_prune_eh
     38   : [ `Module ] Llvm.PassManager.t -> unit
     39   = "llvm_add_prune_eh"
     40 external add_ipsccp
     41   : [ `Module ] Llvm.PassManager.t -> unit
     42   = "llvm_add_ipsccp"
     43 external add_internalize
     44   : [ `Module ] Llvm.PassManager.t -> all_but_main:bool -> unit
     45   = "llvm_add_internalize"
     46 external add_strip_dead_prototypes
     47   : [ `Module ] Llvm.PassManager.t -> unit
     48   = "llvm_add_strip_dead_prototypes"
     49 external add_strip_symbols
     50   : [ `Module ] Llvm.PassManager.t -> unit
     51   = "llvm_add_strip_symbols"
     52