18 lines · plain
1(*===-- llvm_backend.mli.in - LLVM OCaml Interface ------------*- OCaml -*-===*2 *3 * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4 * See https://llvm.org/LICENSE.txt for license information.5 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6 *7 *===----------------------------------------------------------------------===*)8 9(** @TARGET@ Initialization.10 11 This interface provides an OCaml API for initialization of12 the @TARGET@ LLVM target. By referencing this module, you will cause13 OCaml to load or link in the LLVM libraries corresponding to the target.14 By calling [initialize], you will register components of this target15 in the target registry, which is necessary in order to emit assembly,16 object files, and so on. *)17 18external initialize : unit -> unit = "llvm_initialize_@TARGET@"