Module cranelift_codegen::ir::types

source ·
Expand description

Common types for the Cranelift code generator.

Structs

The type of an SSA value.

Constants

A boolean type with 1 bits.
A boolean type with 8 bits.
A SIMD vector with 8 lanes containing a b8 each.
A SIMD vector with 16 lanes containing a b8 each.
A SIMD vector with 32 lanes containing a b8 each.
A SIMD vector with 64 lanes containing a b8 each.
A boolean type with 16 bits.
A SIMD vector with 4 lanes containing a b16 each.
A SIMD vector with 8 lanes containing a b16 each.
A SIMD vector with 16 lanes containing a b16 each.
A SIMD vector with 32 lanes containing a b16 each.
A boolean type with 32 bits.
A SIMD vector with 2 lanes containing a b32 each.
A SIMD vector with 4 lanes containing a b32 each.
A SIMD vector with 8 lanes containing a b32 each.
A SIMD vector with 16 lanes containing a b32 each.
A boolean type with 64 bits.
A SIMD vector with 2 lanes containing a b64 each.
A SIMD vector with 4 lanes containing a b64 each.
A SIMD vector with 8 lanes containing a b64 each.
A boolean type with 128 bits.
A SIMD vector with 2 lanes containing a b128 each.
A SIMD vector with 4 lanes containing a b128 each.
A 32-bit floating point type represented in the IEEE 754-2008 binary32 interchange format. This corresponds to the :c:type:float type in most C implementations.
A SIMD vector with 2 lanes containing a f32 each.
A SIMD vector with 4 lanes containing a f32 each.
A SIMD vector with 8 lanes containing a f32 each.
A SIMD vector with 16 lanes containing a f32 each.
A 64-bit floating point type represented in the IEEE 754-2008 binary64 interchange format. This corresponds to the :c:type:double type in most C implementations.
A SIMD vector with 2 lanes containing a f64 each.
A SIMD vector with 4 lanes containing a f64 each.
A SIMD vector with 8 lanes containing a f64 each.
CPU flags representing the result of a floating point comparison. These flags can be tested with a :type:floatcc condition code.
An integer type with 8 bits. WARNING: arithmetic on 8bit integers is incomplete
A SIMD vector with 8 lanes containing a i8 each.
A SIMD vector with 16 lanes containing a i8 each.
A SIMD vector with 32 lanes containing a i8 each.
A SIMD vector with 64 lanes containing a i8 each.
An integer type with 16 bits. WARNING: arithmetic on 16bit integers is incomplete
A SIMD vector with 4 lanes containing a i16 each.
A SIMD vector with 8 lanes containing a i16 each.
A SIMD vector with 16 lanes containing a i16 each.
A SIMD vector with 32 lanes containing a i16 each.
An integer type with 32 bits.
A SIMD vector with 2 lanes containing a i32 each.
A SIMD vector with 4 lanes containing a i32 each.
A SIMD vector with 8 lanes containing a i32 each.
A SIMD vector with 16 lanes containing a i32 each.
An integer type with 64 bits.
A SIMD vector with 2 lanes containing a i64 each.
A SIMD vector with 4 lanes containing a i64 each.
A SIMD vector with 8 lanes containing a i64 each.
An integer type with 128 bits.
A SIMD vector with 2 lanes containing a i128 each.
A SIMD vector with 4 lanes containing a i128 each.
CPU flags representing the result of an integer comparison. These flags can be tested with an :type:intcc condition code.
Not a valid type. Can’t be loaded or stored. Can’t be part of a SIMD vector.
An opaque reference type with 32 bits.
An opaque reference type with 64 bits.