package ollvm

  1. Overview
  2. Docs
type t = {
  1. local : int Stdlib.ref * (int, int) Stdlib.Hashtbl.t;
  2. global : int Stdlib.ref * (int, int) Stdlib.Hashtbl.t;
}
val empty_env : unit -> t
val find_env : (int Stdlib.ref * (int, int) Stdlib.Hashtbl.t) -> string -> int
val find_local : t -> string -> int
val find_global : t -> string -> int
val reset_local : t -> t
val pp_sep : string -> Stdlib.Format.formatter -> unit -> unit
val pp_space : Stdlib.Format.formatter -> unit -> unit
val pp_comma_space : Stdlib.Format.formatter -> unit -> unit
val linkage : Stdlib.Format.formatter -> Ollvm_ast.linkage -> unit
val dll_storage : Stdlib.Format.formatter -> Ollvm_ast.dll_storage -> unit
val visibility : Stdlib.Format.formatter -> Ollvm_ast.visibility -> unit
val cconv : Stdlib.Format.formatter -> Ollvm_ast.cconv -> unit
val param_attr : Stdlib.Format.formatter -> Ollvm_ast.param_attr -> unit
val fn_attr : Stdlib.Format.formatter -> Ollvm_ast.fn_attr -> unit
val ident : t -> Stdlib.Format.formatter -> Ollvm_ast.ident -> unit
val typ : Stdlib.Format.formatter -> Ollvm_ast.typ -> unit
val icmp : Stdlib.Format.formatter -> Ollvm_ast.icmp -> unit
val fcmp : Stdlib.Format.formatter -> Ollvm_ast.fcmp -> unit
val ibinop : Stdlib.Format.formatter -> Ollvm_ast.ibinop -> unit
val fbinop : Stdlib.Format.formatter -> Ollvm_ast.fbinop -> unit
val fast_math : Stdlib.Format.formatter -> Ollvm_ast.fast_math -> unit
val conversion_type : Stdlib.Format.formatter -> Ollvm_ast.conversion_type -> unit
val instr : t -> Stdlib.Format.formatter -> Ollvm_ast.instr -> unit
val value : t -> Stdlib.Format.formatter -> Ollvm_ast.value -> unit
val tvalue : t -> Stdlib.Format.formatter -> Ollvm_ast.tvalue -> unit
val tident : t -> Stdlib.Format.formatter -> Ollvm_ast.tident -> unit
val toplevelentries : t -> Stdlib.Format.formatter -> Ollvm_ast.toplevelentries -> unit
val toplevelentry : t -> Stdlib.Format.formatter -> Ollvm_ast.toplevelentry -> unit
val metadata : t -> Stdlib.Format.formatter -> Ollvm_ast.metadata -> unit
val global : t -> Stdlib.Format.formatter -> Ollvm_ast.global -> unit
val declaration : t -> Stdlib.Format.formatter -> Ollvm_ast.declaration -> unit
val definition : t -> Stdlib.Format.formatter -> Ollvm_ast.definition -> unit
val block : t -> Stdlib.Format.formatter -> Ollvm_ast.block -> unit
val modul : t -> Stdlib.Format.formatter -> Ollvm_ast.modul -> unit