package llvm

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

Install

Dune Dependency

Authors

Maintainers

Sources

llvm-dune-full-minified-16.0.6.tar.gz
md5=d2bf13c08c943c69f1a29ec5b830c143
sha512=6abc12221eeea6bb26f457dee5f8a077d945583a48891bef7249e6129b8125a5151b92dec0cefc09b124fe988cea8c521123c95d74dd4cd9d87a282c17865fe2

doc/llvm_ipo_static/Llvm_ipo/index.html

Module Llvm_ipoSource

IPO Transforms.

This interface provides an OCaml API for LLVM interprocedural optimizations, the classes in the LLVMIPO library.

Sourceval add_constant_merge : [ `Module ] Llvm.PassManager.t -> unit

See the llvm::createConstantMergePass function.

Sourceval add_merge_functions : [ `Module ] Llvm.PassManager.t -> unit

See the llvm::createMergeFunctionsPass function.

Sourceval add_dead_arg_elimination : [ `Module ] Llvm.PassManager.t -> unit

See the llvm::createDeadArgEliminationPass function.

Sourceval add_function_attrs : [ `Module ] Llvm.PassManager.t -> unit

See the llvm::createFunctionAttrsPass function.

Sourceval add_function_inlining : [ `Module ] Llvm.PassManager.t -> unit

See the llvm::createFunctionInliningPass function.

Sourceval add_always_inliner : [ `Module ] Llvm.PassManager.t -> unit

See the llvm::createAlwaysInlinerPass function.

Sourceval add_global_dce : [ `Module ] Llvm.PassManager.t -> unit

See the llvm::createGlobalDCEPass function.

Sourceval add_global_optimizer : [ `Module ] Llvm.PassManager.t -> unit

See the llvm::createGlobalOptimizerPass function.

Sourceval add_ipsccp : [ `Module ] Llvm.PassManager.t -> unit

See the llvm::createIPSCCPPass function.

Sourceval add_internalize : [ `Module ] Llvm.PassManager.t -> all_but_main:bool -> unit

See the llvm::createInternalizePass function.

Sourceval add_strip_dead_prototypes : [ `Module ] Llvm.PassManager.t -> unit

See the llvm::createStripDeadPrototypesPass function.

Sourceval add_strip_symbols : [ `Module ] Llvm.PassManager.t -> unit

See the llvm::createStripSymbolsPass function.

OCaml

Innovation. Community. Security.