package ollvm

  1. Overview
  2. Docs
module Local : sig ... end
type t = {
  1. m_module : Ollvm_ast.modul;
  2. m_env : Local.t;
}
val init : string -> (string * string * string) -> string -> t
val set_data_layout : t -> string -> t
val set_target_triple : t -> string -> string -> string -> t
val local : t -> Type.t -> string -> t * Value.t
val locals : t -> Type.t -> string list -> t * Value.t list
val batch_locals : t -> (Type.t * string) list -> t * Value.t list
val global : t -> Type.t -> string -> t * Value.t
val declaration : t -> Ollvm_ast.declaration -> t
val definition : t -> Ollvm_ast.definition -> t
val lookup_declaration : t -> string -> Ollvm_ast.declaration
val lookup_definition : t -> string -> Ollvm_ast.definition
OCaml

Innovation. Community. Security.