To focus the search input from anywhere on the page, press the 'S' key.
in-package search v0.1.0
-
bigarray
-
dynlink
-
ocamlbytecomp
-
ocamlcommon
-
ocamlmiddleend
-
ocamloptcomp
-
odoc_info
-
raw_spacetime_lib
-
-
stdlib
-
str
-
threads
-
unix
Library
Module
Module type
Parameter
Class
Class type
type label = Cmm.label
N.B. Backends vary in their treatment of call gc and checkbound points. If the positioning of any labels associated with these is important for some new feature in the compiler, the relevant backends' behaviour should be checked.
type integer_operation =
| Iadd
| Isub
| Imul
| Imulh
| Idiv
| Imod
| Iand
| Ior
| Ixor
| Ilsl
| Ilsr
| Iasr
| Icomp of integer_comparison
| Icheckbound of {
label_after_error : label option;
spacetime_index : int;
}
(*For Spacetime only,
*)Icheckbound
operations take two arguments, the second being the pointer to the trie node for the current function (and the first being as per non-Spacetime mode).
type float_comparison = Cmm.float_comparison
type test =
| Itruetest
| Ifalsetest
| Iinttest of integer_comparison
| Iinttest_imm of integer_comparison * int
| Ifloattest of float_comparison
| Ioddtest
| Ieventest
type operation =
| Imove
| Ispill
| Ireload
| Iconst_int of nativeint
| Iconst_float of int64
| Iconst_symbol of string
| Icall_ind of {
label_after : label;
}
| Icall_imm of {
func : string;
label_after : label;
}
| Itailcall_ind of {
label_after : label;
}
| Itailcall_imm of {
func : string;
label_after : label;
}
| Iextcall of {
func : string;
alloc : bool;
label_after : label;
}
| Istackoffset of int
| Iload of Cmm.memory_chunk * Arch.addressing_mode
| Istore of Cmm.memory_chunk * Arch.addressing_mode * bool
| Ialloc of {
bytes : int;
label_after_call_gc : label option;
dbginfo : Debuginfo.alloc_dbginfo;
spacetime_index : int;
}
(*For Spacetime only, Ialloc instructions take one argument, being the pointer to the trie node for the current function.
*)| Iintop of integer_operation
| Iintop_imm of integer_operation * int
| Inegf
| Iabsf
| Iaddf
| Isubf
| Imulf
| Idivf
| Ifloatofint
| Iintoffloat
| Ispecific of Arch.specific_operation
| Iname_for_debugger of {
ident : Backend_var.t;
which_parameter : int option;
provenance : unit option;
is_assignment : bool;
}
(*
*)Iname_for_debugger
has the following semantics: (a) The argument register(s) is/are deemed to contain the value of the given identifier. (b) Ifis_assignment
istrue
, any information about otherReg.t
s that have been previously deemed to hold the value of that identifier is forgotten.
type instruction = {
desc : instruction_desc;
next : instruction;
arg : Reg.t array;
res : Reg.t array;
dbg : Debuginfo.t;
mutable live : Reg.Set.t;
mutable available_before : Reg_availability_set.t;
mutable available_across : Reg_availability_set.t option;
}
and instruction_desc =
| Iend
| Iop of operation
| Ireturn
| Iifthenelse of test * instruction * instruction
| Iswitch of int array * instruction array
| Icatch of Cmm.rec_flag * (int * instruction) list * instruction
|