1 (*===-- llvm_scalar_opts.ml - LLVM OCaml Interface ------------*- OCaml -*-===*
3 * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 * See https://llvm.org/LICENSE.txt for license information.
5 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 *===----------------------------------------------------------------------===*)
9 external add_aggressive_dce
10 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
11 = "llvm_add_aggressive_dce"
12 external add_alignment_from_assumptions
13 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
14 = "llvm_add_alignment_from_assumptions"
15 external add_cfg_simplification
16 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
17 = "llvm_add_cfg_simplification"
18 external add_dead_store_elimination
19 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
20 = "llvm_add_dead_store_elimination"
21 external add_scalarizer
22 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
23 = "llvm_add_scalarizer"
24 external add_merged_load_store_motion
25 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
26 = "llvm_add_merged_load_store_motion"
28 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
30 external add_ind_var_simplification
31 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
32 = "llvm_add_ind_var_simplify"
33 external add_instruction_combination
34 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
35 = "llvm_add_instruction_combining"
36 external add_jump_threading
37 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
38 = "llvm_add_jump_threading"
40 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
42 external add_loop_deletion
43 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
44 = "llvm_add_loop_deletion"
45 external add_loop_idiom
46 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
47 = "llvm_add_loop_idiom"
48 external add_loop_rotation
49 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
50 = "llvm_add_loop_rotate"
51 external add_loop_reroll
52 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
53 = "llvm_add_loop_reroll"
54 external add_loop_unroll
55 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
56 = "llvm_add_loop_unroll"
57 external add_loop_unswitch
58 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
59 = "llvm_add_loop_unswitch"
60 external add_memcpy_opt
61 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
62 = "llvm_add_memcpy_opt"
63 external add_partially_inline_lib_calls
64 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
65 = "llvm_add_partially_inline_lib_calls"
66 external add_lower_atomic
67 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
68 = "llvm_add_lower_atomic"
69 external add_lower_switch
70 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
71 = "llvm_add_lower_switch"
72 external add_memory_to_register_promotion
73 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
74 = "llvm_add_promote_memory_to_register"
75 external add_reassociation
76 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
77 = "llvm_add_reassociation"
79 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
81 external add_scalar_repl_aggregation
82 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
83 = "llvm_add_scalar_repl_aggregates"
84 external add_scalar_repl_aggregation_ssa
85 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
86 = "llvm_add_scalar_repl_aggregates_ssa"
87 external add_scalar_repl_aggregation_with_threshold
88 : int -> [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
89 = "llvm_add_scalar_repl_aggregates_with_threshold"
90 external add_lib_call_simplification
91 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
92 = "llvm_add_simplify_lib_calls"
93 external add_tail_call_elimination
94 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
95 = "llvm_add_tail_call_elimination"
96 external add_constant_propagation
97 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
98 = "llvm_add_constant_propagation"
99 external add_memory_to_register_demotion
100 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
101 = "llvm_add_demote_memory_to_register"
102 external add_verifier
103 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
104 = "llvm_add_verifier"
105 external add_correlated_value_propagation
106 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
107 = "llvm_add_correlated_value_propagation"
108 external add_early_cse
109 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
110 = "llvm_add_early_cse"
111 external add_lower_expect_intrinsic
112 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
113 = "llvm_add_lower_expect_intrinsic"
114 external add_type_based_alias_analysis
115 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
116 = "llvm_add_type_based_alias_analysis"
117 external add_scoped_no_alias_alias_analysis
118 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
119 = "llvm_add_scoped_no_alias_aa"
120 external add_basic_alias_analysis
121 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
122 = "llvm_add_basic_alias_analysis"
123 external add_unify_function_exit_nodes
124 : [< Llvm.PassManager.any
] Llvm.PassManager.t
-> unit
125 = "llvm_add_unify_function_exit_nodes"