Extended_Vector_Type¶
- class Extended_Vector_Type (concrete, logical)¶
Clang extension: extended vector types. Example:
typedef float float4 __attribute__((ext_vector_type(4)));- Direct parents:
inherits Fixed_Size_Vector_Type
- Ancestor classes and implemented interfaces:
Declarative_Node, Fixed_Size_Vector_Type, Logical_IR_Root, Symbol, Type, Unnamed_Type, Vector_Type
Field
Kind
Type
Description
Number_Of_Elements (from Fixed_Size_Vector_Type)
attribute
builtin Natural
Element_Type (from Vector_Type)
semantic
class Type
The type of the elements.
Size (from Type)
attribute
builtin Natural
Alignment_Log (from Type)
attribute
builtin Byte
log2 of the type’s alignment
Alignment (from Type)
attribute
builtin Natural
Alignment of the type (must be a power of 2)
Size_In_Bits (from Type)
attribute
builtin UInt64
Size of the type, in bits.
Parent (from Logical_IR_Root)
semantic
class Logical_IR_Root
Physical (from Logical_IR_Root)
semantic to physical
class Physical_IR_Root