jon.recoil.org

Module type Reg_class_utils.T

type t

The "enum" representing the different classes.

val all : t list

The list of all classes.

val first_available_register : t -> int
val num_available_registers : t -> int
val num_registers : t -> int
val dwarf_register_numbers : t -> int array

For a given register class, the DWARF register numbering for that class. Given an allocated register with location Reg n and class reg_class, the returned array contains the corresponding DWARF register number at index n - first_available_register reg_class.

val register_name : Cmm.machtype_component -> int -> string
val equal : t -> t -> bool
val hash : t -> int
val print : Stdlib.Format.formatter -> t -> unit
val of_machtype : Cmm.machtype_component -> t