module Llvm_passmgr_builder:sig
..end
This interface provides an OCaml API for LLVM pass manager builder
from the LLVMCore
library.
type
t
val create : unit -> t
llvm::PassManagerBuilder
.val set_opt_level : int -> t -> unit
llvm::PassManagerBuilder::OptLevel
.val set_size_level : int -> t -> unit
llvm::PassManagerBuilder::SizeLevel
.val set_disable_unit_at_a_time : bool -> t -> unit
llvm::PassManagerBuilder::DisableUnitAtATime
.val set_disable_unroll_loops : bool -> t -> unit
llvm::PassManagerBuilder::DisableUnrollLoops
.val use_inliner_with_threshold : int -> t -> unit
llvm::PassManagerBuilder::Inliner
.val populate_function_pass_manager : [ `Function ] Llvm.PassManager.t -> t -> unit
llvm::PassManagerBuilder::populateFunctionPassManager
.val populate_module_pass_manager : [ `Module ] Llvm.PassManager.t -> t -> unit
llvm::PassManagerBuilder::populateModulePassManager
.val populate_lto_pass_manager : [ `Module ] Llvm.PassManager.t ->
internalize:bool -> run_inliner:bool -> t -> unit
llvm::PassManagerBuilder::populateLTOPassManager
.