aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/ocaml/transforms/utils/llvm_transform_utils.mli
blob: 1c2b07c34613bdec3293abbf2d2ae032da55f5ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
(*===-- llvm_transform_utils.mli - LLVM OCaml Interface -------*- OCaml -*-===*
 *
 *                     The LLVM Compiler Infrastructure
 *
 * This file is distributed under the University of Illinois Open Source
 * License. See LICENSE.TXT for details.
 *
 *===----------------------------------------------------------------------===*)

(** Transform Utilities.

    This interface provides an OCaml API for LLVM transform utilities, the
    classes in the [LLVMTransformUtils] library. *)

(** [clone_module m] returns an exact copy of module [m].
    See the [llvm::CloneModule] function. *)
external clone_module : Llvm.llmodule -> Llvm.llmodule = "llvm_clone_module"