package ocaml-base-compiler

  1. Overview
  2. Docs
Official 4.06.1 release

Install

Dune Dependency

Authors

Maintainers

Sources

4.06.1.tar.gz
sha256=fef12a65cab5f6d15ea22a72e328349530e179308f1005100e45e50a228d72c4
md5=d02eb67b828de22c3f97d94b3c46acba

doc/ocamloptcomp/Lift_code/index.html

Module Lift_code

val lift_lets : lifter

Lift let bindings to attempt to increase the length of scopes, as an aid to further optimizations. For example: let c = let b = <expr> in b, b in fst c would be transformed to: let b = <expr> in let c = b, b in fst c which is then clearly just: <expr>

val lift_lets_expr : Flambda.t -> toplevel:bool -> Flambda.t
val lifting_helper : Flambda.t list -> evaluation_order:[ `Left_to_right | `Right_to_left ] -> create_body:(Variable.t list -> Flambda.t) -> name:string -> Flambda.t
OCaml

Innovation. Community. Security.