package llvm

  1. Overview
  2. Docs
The OCaml bindings distributed with LLVM

Install

Dune Dependency

Authors

Maintainers

Sources

llvm-dune-full-minified-16.0.6.tar.gz
md5=d2bf13c08c943c69f1a29ec5b830c143
sha512=6abc12221eeea6bb26f457dee5f8a077d945583a48891bef7249e6129b8125a5151b92dec0cefc09b124fe988cea8c521123c95d74dd4cd9d87a282c17865fe2

doc/llvm_passmgr_builder_static/Llvm_passmgr_builder/index.html

Module Llvm_passmgr_builderSource

Pass Manager Builder.

This interface provides an OCaml API for LLVM pass manager builder from the LLVMCore library.

Sourcetype t
Sourceval create : unit -> t

See the llvm::PassManagerBuilder function.

Sourceval set_opt_level : int -> t -> unit

See the llvm::PassManagerBuilder::OptLevel function.

Sourceval set_size_level : int -> t -> unit

See the llvm::PassManagerBuilder::SizeLevel function.

Sourceval set_disable_unit_at_a_time : bool -> t -> unit

See the llvm::PassManagerBuilder::DisableUnitAtATime function.

Sourceval set_disable_unroll_loops : bool -> t -> unit

See the llvm::PassManagerBuilder::DisableUnrollLoops function.

Sourceval use_inliner_with_threshold : int -> t -> unit

See the llvm::PassManagerBuilder::Inliner function.

Sourceval populate_function_pass_manager : [ `Function ] Llvm.PassManager.t -> t -> unit

See the llvm::PassManagerBuilder::populateFunctionPassManager function.

Sourceval populate_module_pass_manager : [ `Module ] Llvm.PassManager.t -> t -> unit

See the llvm::PassManagerBuilder::populateModulePassManager function.

OCaml

Innovation. Community. Security.