• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1(*===-- llvm_backend.mli.in - LLVM OCaml Interface ------------*- OCaml -*-===*
2 *
3 *                     The LLVM Compiler Infrastructure
4 *
5 * This file is distributed under the University of Illinois Open Source
6 * License. See LICENSE.TXT for details.
7 *
8 *===----------------------------------------------------------------------===*)
9
10(** @TARGET@ Initialization.
11
12    This interface provides an OCaml API for initialization of
13    the @TARGET@ LLVM target. By referencing this module, you will cause
14    OCaml to load or link in the LLVM libraries corresponding to the target.
15    By calling [initialize], you will register components of this target
16    in the target registry, which is necessary in order to emit assembly,
17    object files, and so on. *)
18
19external initialize : unit -> unit = "llvm_initialize_@TARGET@"