package llvm

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.