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