1 (*===-- llvm_scalar_opts.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_constant_propagation : [<Llvm.PassManager.any] Llvm.PassManager.t 11 -> unit 12 = "llvm_add_constant_propagation" 13 external add_sccp : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit 14 = "llvm_add_sccp" 15 external add_dead_store_elimination : [<Llvm.PassManager.any] Llvm.PassManager.t 16 -> unit 17 = "llvm_add_dead_store_elimination" 18 external add_aggressive_dce : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit 19 = "llvm_add_aggressive_dce" 20 external 21 add_scalar_repl_aggregation : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit 22 = "llvm_add_scalar_repl_aggregation" 23 24 external 25 add_scalar_repl_aggregation_ssa : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit 26 = "llvm_add_scalar_repl_aggregation_ssa" 27 28 external 29 add_scalar_repl_aggregation_with_threshold : int -> [<Llvm.PassManager.any] Llvm.PassManager.t 30 -> unit 31 = "llvm_add_scalar_repl_aggregation_with_threshold" 32 external add_ind_var_simplification : [<Llvm.PassManager.any] Llvm.PassManager.t 33 -> unit 34 = "llvm_add_ind_var_simplification" 35 external 36 add_instruction_combination : [<Llvm.PassManager.any] Llvm.PassManager.t 37 -> unit 38 = "llvm_add_instruction_combination" 39 external add_licm : [<Llvm.PassManager.any] Llvm.PassManager.t 40 -> unit 41 = "llvm_add_licm" 42 external add_loop_unswitch : [<Llvm.PassManager.any] Llvm.PassManager.t 43 -> unit 44 = "llvm_add_loop_unswitch" 45 external add_loop_unroll : [<Llvm.PassManager.any] Llvm.PassManager.t 46 -> unit 47 = "llvm_add_loop_unroll" 48 external add_loop_rotation : [<Llvm.PassManager.any] Llvm.PassManager.t 49 -> unit 50 = "llvm_add_loop_rotation" 51 external 52 add_memory_to_register_promotion : [<Llvm.PassManager.any] Llvm.PassManager.t 53 -> unit 54 = "llvm_add_memory_to_register_promotion" 55 external 56 add_memory_to_register_demotion : [<Llvm.PassManager.any] Llvm.PassManager.t 57 -> unit 58 = "llvm_add_memory_to_register_demotion" 59 external add_reassociation : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit 60 = "llvm_add_reassociation" 61 external add_jump_threading : [<Llvm.PassManager.any] Llvm.PassManager.t 62 -> unit 63 = "llvm_add_jump_threading" 64 external add_cfg_simplification : [<Llvm.PassManager.any] Llvm.PassManager.t 65 -> unit 66 = "llvm_add_cfg_simplification" 67 external 68 add_tail_call_elimination : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit 69 = "llvm_add_tail_call_elimination" 70 external add_gvn : [<Llvm.PassManager.any] Llvm.PassManager.t 71 -> unit 72 = "llvm_add_gvn" 73 external add_memcpy_opt : [<Llvm.PassManager.any] Llvm.PassManager.t 74 -> unit 75 = "llvm_add_memcpy_opt" 76 external add_loop_deletion : [<Llvm.PassManager.any] Llvm.PassManager.t 77 -> unit 78 = "llvm_add_loop_deletion" 79 80 external add_loop_idiom : [<Llvm.PassManager.any] Llvm.PassManager.t 81 -> unit 82 = "llvm_add_loop_idiom" 83 84 external 85 add_lib_call_simplification : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit 86 = "llvm_add_lib_call_simplification" 87 88 external 89 add_verifier : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit 90 = "llvm_add_verifier" 91 92 external 93 add_correlated_value_propagation : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit 94 = "llvm_add_correlated_value_propagation" 95 96 external 97 add_early_cse : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit 98 = "llvm_add_early_cse" 99 100 external 101 add_lower_expect_intrinsic : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit 102 = "llvm_add_lower_expect_intrinsic" 103 104 external 105 add_type_based_alias_analysis : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit 106 = "llvm_add_type_based_alias_analysis" 107 108 external 109 add_basic_alias_analysis : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit 110 = "llvm_add_basic_alias_analysis" 111 112