1 (*===-- llvm_scalar_opts.ml - LLVM Ocaml Interface -------------*- OCaml -*-===*
3 * The LLVM Compiler Infrastructure
5 * This file is distributed under the University of Illinois Open Source
6 * License. See LICENSE.TXT for details.
8 *===----------------------------------------------------------------------===*)
10 external add_constant_propagation
: [<Llvm.PassManager.any
] Llvm.PassManager.t
12 = "llvm_add_constant_propagation"
13 external add_sccp
: [<Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
15 external add_dead_store_elimination
: [<Llvm.PassManager.any
] Llvm.PassManager.t
17 = "llvm_add_dead_store_elimination"
18 external add_aggressive_dce
: [<Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
19 = "llvm_add_aggressive_dce"
21 add_scalar_repl_aggregation
: [<Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
22 = "llvm_add_scalar_repl_aggregation"
23 external add_ind_var_simplification
: [<Llvm.PassManager.any
] Llvm.PassManager.t
25 = "llvm_add_ind_var_simplification"
27 add_instruction_combination
: [<Llvm.PassManager.any
] Llvm.PassManager.t
29 = "llvm_add_instruction_combination"
30 external add_licm
: [<Llvm.PassManager.any
] Llvm.PassManager.t
33 external add_loop_unswitch
: [<Llvm.PassManager.any
] Llvm.PassManager.t
35 = "llvm_add_loop_unswitch"
36 external add_loop_unroll
: [<Llvm.PassManager.any
] Llvm.PassManager.t
38 = "llvm_add_loop_unroll"
39 external add_loop_rotation
: [<Llvm.PassManager.any
] Llvm.PassManager.t
41 = "llvm_add_loop_rotation"
43 add_memory_to_register_promotion
: [<Llvm.PassManager.any
] Llvm.PassManager.t
45 = "llvm_add_memory_to_register_promotion"
47 add_memory_to_register_demotion
: [<Llvm.PassManager.any
] Llvm.PassManager.t
49 = "llvm_add_memory_to_register_demotion"
50 external add_reassociation
: [<Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
51 = "llvm_add_reassociation"
52 external add_jump_threading
: [<Llvm.PassManager.any
] Llvm.PassManager.t
54 = "llvm_add_jump_threading"
55 external add_cfg_simplification
: [<Llvm.PassManager.any
] Llvm.PassManager.t
57 = "llvm_add_cfg_simplification"
59 add_tail_call_elimination
: [<Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
60 = "llvm_add_tail_call_elimination"
61 external add_gvn
: [<Llvm.PassManager.any
] Llvm.PassManager.t
64 external add_memcpy_opt
: [<Llvm.PassManager.any
] Llvm.PassManager.t
66 = "llvm_add_memcpy_opt"
67 external add_loop_deletion
: [<Llvm.PassManager.any
] Llvm.PassManager.t
69 = "llvm_add_loop_deletion"
71 add_lib_call_simplification
: [<Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
72 = "llvm_add_lib_call_simplification"