cranelift_codegen_meta::cdsl::typevar

Type Alias RangeBound

source
type RangeBound = u16;
Expand description

A set of types.

We don’t allow arbitrary subsets of types, but use a parametrized approach instead.

Objects of this class can be used as dictionary keys.

Parametrized type sets are specified in terms of ranges:

  • The permitted range of vector lanes, where 1 indicates a scalar type.
  • The permitted range of integer types.
  • The permitted range of floating point types, and
  • The permitted range of boolean types.

The ranges are inclusive from smallest bit-width to largest bit-width.