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