Displaying 3 results from an estimated 3 matches for "add_memory_to_register_promot".
2008 Mar 28
0
[LLVMdev] Python bindings?
...he helper functions and
methods so the api can be kept a little smaller. They also might be
named differently and the semantics can be changed. For instance, the
function "createPromoteMemoryToRegisterPass" creates a Pass object
that we can add to a PassManager, but in ocaml we have
"add_memory_to_register_promotion" which takes a PassManager as an
argument and adds it inside the binding. This makes memory management
a bit simpler.
2008 Mar 28
2
[LLVMdev] Python bindings?
> Note that C bindings have been introduced since 2005, so there may be
> a different route available than was taken then. Look in include/llvm-
> c. The intent of the C bindings is to enable high-level language
> bindings. The current focus is on enabling front-end compilers. Ocaml
> and Haskell bindings have been developed atop them, the former being
> in the LLVM source
2009 Feb 19
6
[LLVMdev] Improving performance with optimization passes
...t; optimizations and bit-twiddling optzn. *)
add_instruction_combining pm;
(* reassociate expressions. *)
add_reassociation pm;
(* Eliminate Common SubExpressions. *)
add_gvn pm;
(* Simplify the control flow graph (deleting unreachable blocks, etc). *)
add_cfg_simplification pm;
add_memory_to_register_promotion pm;
and then I apply "PassManager.run_function" to every function after it is
validated.
Any idea what I might be doing wrong? Has anyone else got this functionality
giving performance boosts from OCaml?
--
Dr Jon Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/...