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
function.val set_opt_level : int -> t -> unit
llvm::PassManagerBuilder::OptLevel
function.val set_size_level : int -> t -> unit
llvm::PassManagerBuilder::SizeLevel
function.val set_disable_unit_at_a_time : bool -> t -> unit
llvm::PassManagerBuilder::DisableUnitAtATime
function.val set_disable_unroll_loops : bool -> t -> unit
llvm::PassManagerBuilder::DisableUnrollLoops
function.val use_inliner_with_threshold : int -> t -> unit
llvm::PassManagerBuilder::Inliner
function.val populate_function_pass_manager : [ `Function ] Llvm.PassManager.t -> t -> unit
llvm::PassManagerBuilder::populateFunctionPassManager
function.val populate_module_pass_manager : [ `Module ] Llvm.PassManager.t -> t -> unit
llvm::PassManagerBuilder::populateModulePassManager
function.val populate_lto_pass_manager : [ `Module ] Llvm.PassManager.t ->
internalize:bool -> run_inliner:bool -> t -> unit
llvm::PassManagerBuilder::populateLTOPassManager
function.