aboutsummaryrefslogtreecommitdiffstats
path: root/test/Bindings/Ocaml/scalar_opts.ml
diff options
context:
space:
mode:
authorTorok Edwin <edwintorok@gmail.com>2011-10-14 20:38:33 +0000
committerTorok Edwin <edwintorok@gmail.com>2011-10-14 20:38:33 +0000
commitff616cb440d696b2663d55494e0a5aedfab20726 (patch)
tree0ea5a0b2564ba93558d120cfd276bb535104083c /test/Bindings/Ocaml/scalar_opts.ml
parent0be167bab219cb178f7a6e91186c700ad48aa047 (diff)
downloadexternal_llvm-ff616cb440d696b2663d55494e0a5aedfab20726.zip
external_llvm-ff616cb440d696b2663d55494e0a5aedfab20726.tar.gz
external_llvm-ff616cb440d696b2663d55494e0a5aedfab20726.tar.bz2
OCaml bindings: add some missing functions and testcases.
The C bindings exposed some APIs that weren't covered by the OCaml bindings git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141997 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Bindings/Ocaml/scalar_opts.ml')
-rw-r--r--test/Bindings/Ocaml/scalar_opts.ml10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Bindings/Ocaml/scalar_opts.ml b/test/Bindings/Ocaml/scalar_opts.ml
index 1ea9785..34a7a6a 100644
--- a/test/Bindings/Ocaml/scalar_opts.ml
+++ b/test/Bindings/Ocaml/scalar_opts.ml
@@ -42,11 +42,14 @@ let test_transforms () =
ignore (PassManager.create_function m
++ TargetData.add td
+ ++ add_verifier
++ add_constant_propagation
++ add_sccp
++ add_dead_store_elimination
++ add_aggressive_dce
++ add_scalar_repl_aggregation
+ ++ add_scalar_repl_aggregation_ssa
+ ++ add_scalar_repl_aggregation_with_threshold 4
++ add_ind_var_simplification
++ add_instruction_combination
++ add_licm
@@ -62,7 +65,14 @@ let test_transforms () =
++ add_gvn
++ add_memcpy_opt
++ add_loop_deletion
+ ++ add_loop_idiom
++ add_lib_call_simplification
+ ++ add_correlated_value_propagation
+ ++ add_early_cse
+ ++ add_lower_expect_intrinsic
+ ++ add_type_based_alias_analysis
+ ++ add_basic_alias_analysis
+ ++ add_verifier
++ PassManager.initialize
++ PassManager.run_function fn
++ PassManager.finalize