Enum llvm_support::ty::TypeId[][src]

#[repr(u64)]
pub enum TypeId {
Show 20 variants Half, BFloat, Float, Double, X86Fp80, Fp128, PpcFp128, Void, Label, Metadata, X86Mmx, X86Amx, Token, Integer, Function, Pointer, Struct, Array, FixedVector, ScalableVector,
}
Expand description

The IDs of types known to LLVM.

These are not fully unique: all integer types share the Integer type ID, and similarly for pointers, arrays, etc.

Variants

Half

16-bit floating-points.

BFloat

16-bit floating-points (7-bit significand).

Float

32-bit floating-points.

Double

64-bit floating-points.

X86Fp80

80-bit floating-points (x87).

Fp128

128-bit floating-points (112-bit significand).

PpcFp128

128-bit floating-points (two 64-bits, PowerPC).

Void

The void type (a type with no size).

Label

Labels.

Metadata

Metadata.

X86Mmx

MMX vectors (64 bits, x86).

X86Amx

AMX vectors (8192 bits, x86).

Token

Tokens.

Integer

Arbitrary bit-width integers.

Function

Functions.

Pointer

Pointers.

Struct

Structures.

Array

Arrays.

FixedVector

Fixed-width SIMD vectors.

ScalableVector

Scalable SIMD vectors.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.