diff options
author | Erick Tryzelaar <idadesub@users.sourceforge.net> | 2010-03-03 23:51:34 +0000 |
---|---|---|
committer | Erick Tryzelaar <idadesub@users.sourceforge.net> | 2010-03-03 23:51:34 +0000 |
commit | 7eb4beb4cd545c78e911add2c4497c0d1b4cf1ee (patch) | |
tree | dd72f8fd1d28bf7cd35ef8181e01bfcb40c355d6 /test | |
parent | 9c7c566efe4b942ed8597156bf66e9abf98c79b5 (diff) | |
download | external_llvm-7eb4beb4cd545c78e911add2c4497c0d1b4cf1ee.zip external_llvm-7eb4beb4cd545c78e911add2c4497c0d1b4cf1ee.tar.gz external_llvm-7eb4beb4cd545c78e911add2c4497c0d1b4cf1ee.tar.bz2 |
Expose the rest of the llvm-c scalar opts to ocaml.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97685 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Bindings/Ocaml/scalar_opts.ml | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/test/Bindings/Ocaml/scalar_opts.ml b/test/Bindings/Ocaml/scalar_opts.ml index 1b488c5..f28eff2 100644 --- a/test/Bindings/Ocaml/scalar_opts.ml +++ b/test/Bindings/Ocaml/scalar_opts.ml @@ -37,11 +37,28 @@ let test_transforms () = ignore (PassManager.create_function m ++ TargetData.add td - ++ add_instruction_combining + ++ add_constant_propagation + ++ add_sccp + ++ add_dead_store_elimination + ++ add_aggressive_dce + ++ add_scalar_repl_aggregation + ++ add_ind_var_simplification + ++ add_instruction_combination + ++ add_licm + ++ add_loop_unswitch + ++ add_loop_unroll + ++ add_loop_rotation + ++ add_loop_index_split + ++ add_memory_to_register_promotion + ++ add_memory_to_register_demotion ++ add_reassociation - ++ add_gvn + ++ add_jump_threading ++ add_cfg_simplification - ++ add_constant_propagation + ++ add_tail_call_elimination + ++ add_gvn + ++ add_memcpy_opt + ++ add_loop_deletion + ++ add_lib_call_simplification ++ PassManager.initialize ++ PassManager.run_function fn ++ PassManager.finalize |