package llvm

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

Install

Dune Dependency

Authors

Maintainers

Sources

llvm-dune-full-minified-15.0.7+nnp-3.tar.gz
md5=c81299338fdd29961ec659f0239e6d8c
sha512=186c8b9f2b5ed61150214b7e8046f08f66bfbcad3af3dc946c4840ff57ca9fcbc0f15c32f8b062b9cc331bdb02a8315afaad6d3810a3b56d7348db2fd376699a

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.