module Llvm_scalar_opts:sig
..end
This interface provides an OCaml API for LLVM scalar transforms, the
classes in the LLVMScalarOpts
library.
val add_aggressive_dce : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createAggressiveDCEPass
function.val add_alignment_from_assumptions : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createAlignmentFromAssumptionsPass
function.val add_cfg_simplification : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createCFGSimplificationPass
function.val add_dead_store_elimination : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createDeadStoreEliminationPass
function.val add_scalarizer : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createScalarizerPass
function.val add_merged_load_store_motion : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createMergedLoadStoreMotionPass
function.val add_gvn : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createGVNPass
function.val add_ind_var_simplification : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createIndVarSimplifyPass
function.val add_instruction_combination : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createInstructionCombiningPass
function.val add_jump_threading : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createJumpThreadingPass
function.val add_licm : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createLICMPass
function.val add_loop_deletion : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createLoopDeletionPass
function.val add_loop_idiom : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createLoopIdiomPass
function.val add_loop_rotation : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createLoopRotatePass
function.val add_loop_reroll : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createLoopRerollPass
function.val add_loop_unroll : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createLoopUnrollPass
function.val add_loop_unswitch : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createLoopUnswitchPass
function.val add_memcpy_opt : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createMemCpyOptPass
function.val add_partially_inline_lib_calls : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createPartiallyInlineLibCallsPass
function.val add_lower_switch : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createLowerSwitchPass
function.val add_memory_to_register_promotion : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createPromoteMemoryToRegisterPass
function.val add_reassociation : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createReassociatePass
function.val add_sccp : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createSCCPPass
function.val add_scalar_repl_aggregation : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createSROAPass
function.val add_scalar_repl_aggregation_ssa : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createSROAPass
function.val add_scalar_repl_aggregation_with_threshold : int -> [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createSROAPass
function.val add_lib_call_simplification : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createSimplifyLibCallsPass
function.val add_tail_call_elimination : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createTailCallEliminationPass
function.val add_constant_propagation : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createConstantPropagationPass
function.val add_memory_to_register_demotion : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createDemoteMemoryToRegisterPass
function.val add_verifier : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createVerifierPass
function.[< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
: llvm::createCorrelatedValuePropagationPass
function.val add_early_cse : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createEarlyCSE
function.val add_lower_expect_intrinsic : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createLowerExpectIntrinsicPass
function.val add_type_based_alias_analysis : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createTypeBasedAliasAnalysisPass
function.val add_scoped_no_alias_alias_analysis : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createScopedNoAliasAAPass
function.val add_basic_alias_analysis : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
llvm::createBasicAliasAnalysisPass
function.