clang 22.0.0git
clang::NeonTypeFlags Class Reference

Flags to identify the types for overloaded Neon builtins. More...

#include "clang/Basic/TargetBuiltins.h"

Public Types

enum  EltType {
  Int8 , Int16 , Int32 , Int64 ,
  Poly8 , Poly16 , Poly64 , Poly128 ,
  Float16 , Float32 , Float64 , BFloat16 ,
  MFloat8
}

Public Member Functions

 NeonTypeFlags (unsigned F)
 NeonTypeFlags (EltType ET, bool IsUnsigned, bool IsQuad)
EltType getEltType () const
bool isPoly () const
bool isFloatingPoint () const
bool isUnsigned () const
bool isQuad () const
unsigned getEltSizeInBits () const

Detailed Description

Flags to identify the types for overloaded Neon builtins.

These must be kept in sync with the flags in utils/TableGen/NeonEmitter.h.

Definition at line 252 of file TargetBuiltins.h.

Member Enumeration Documentation

◆ EltType

Enumerator
Int8 
Int16 
Int32 
Int64 
Poly8 
Poly16 
Poly64 
Poly128 
Float16 
Float32 
Float64 
BFloat16 
MFloat8 

Definition at line 261 of file TargetBuiltins.h.

Constructor & Destructor Documentation

◆ NeonTypeFlags() [1/2]

clang::NeonTypeFlags::NeonTypeFlags ( unsigned F)
inline

Definition at line 277 of file TargetBuiltins.h.

◆ NeonTypeFlags() [2/2]

clang::NeonTypeFlags::NeonTypeFlags ( EltType ET,
bool IsUnsigned,
bool IsQuad )
inline

Definition at line 278 of file TargetBuiltins.h.

Member Function Documentation

◆ getEltSizeInBits()

unsigned clang::NeonTypeFlags::getEltSizeInBits ( ) const
inline

◆ getEltType()

EltType clang::NeonTypeFlags::getEltType ( ) const
inline

◆ isFloatingPoint()

bool clang::NeonTypeFlags::isFloatingPoint ( ) const
inline

Definition at line 290 of file TargetBuiltins.h.

References BFloat16, Float16, Float32, Float64, and getEltType().

◆ isPoly()

bool clang::NeonTypeFlags::isPoly ( ) const
inline

Definition at line 286 of file TargetBuiltins.h.

References getEltType(), Poly16, Poly64, and Poly8.

◆ isQuad()

bool clang::NeonTypeFlags::isQuad ( ) const
inline

Definition at line 295 of file TargetBuiltins.h.

Referenced by GetFloatNeonType(), and GetNeonType().

◆ isUnsigned()

bool clang::NeonTypeFlags::isUnsigned ( ) const
inline

Definition at line 294 of file TargetBuiltins.h.

Referenced by clang::getNeonEltType().


The documentation for this class was generated from the following file: