Home | History | Annotate | Download | only in executionengine

Lines Matching full:llvm

1 (*===-- llvm_executionengine.mli - LLVM OCaml Interface ---------*- C++ -*-===*
3 * The LLVM Compiler Infrastructure
12 This interface provides an OCaml API for LLVM execution engine (JIT/
22 See the struct [llvm::GenericValue]. *)
27 [llvm::GenericValue::DoubleVal] and [llvm::GenericValue::FloatVal]. *)
28 val of_float : Llvm.lltype -> float -> t
31 field [llvm::GenericValue::PointerVal]. *)
35 [w]. See the field [llvm::GenericValue::IntVal]. *)
36 val of_int32 : Llvm.lltype -> int32 -> t
39 [w]. See the field [llvm::GenericValue::IntVal]. *)
40 val of_int : Llvm.lltype -> int -> t
43 bitwidth [w]. See the field [llvm::GenericValue::IntVal]. *)
44 val of_nativeint : Llvm.lltype -> nativeint -> t
47 [w]. See the field [llvm::GenericValue::IntVal]. *)
48 val of_int64 : Llvm.lltype -> int64 -> t
51 floating point type [fpty]. See the fields [llvm::GenericValue::DoubleVal]
52 and [llvm::GenericValue::FloatVal]. *)
53 val as_float : Llvm.lltype -> t -> float
56 field [llvm::GenericValue::PointerVal]. *)
61 [llvm::GenericValue::IntVal]. *)
67 [llvm::GenericValue::IntVal]. *)
72 [nativeint]. See the field [llvm::GenericValue::IntVal]. *)
77 [llvm::GenericValue::IntVal]. *)
84 directly loading an LLVM module and executing its functions without first
92 See the function [llvm::EngineBuilder::create]. *)
93 val create : Llvm.llmodule -> t
99 See the function [llvm::EngineBuilder::create]. *)
100 val create_interpreter : Llvm.llmodule -> t
106 See the function [llvm::EngineBuilder::create]. *)
107 val create_jit : Llvm.llmodule -> int -> t
114 val add_module : Llvm.llmodule -> t -> unit
119 val remove_module : Llvm.llmodule -> t -> Llvm.llmodule
124 val find_function : string -> t -> Llvm.llvalue option
128 val run_function : Llvm.llvalue -> GenericValue.t array -> t ->
143 val run_function_as_main : Llvm.llvalue -> string array ->
148 val free_machine_code : Llvm.llvalue -> t -> unit