jon.recoil.org

Module type Stack_class_utils.T

Definition of stack classes for a given backend.

The number of stack slot classes may differ from the number of register classes. On x86, we use the same register class for floating point and SIMD vector registers, but they take up different amounts of space on the stack.

type t

The "enum" representing the different classes.

val all : t list

The list of all classes.

val frame_order : t array

The order of the stack classes in the frame.

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