clang 20.0.0git
Public Types | Public Member Functions | List of all members
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
}
 

Public Member Functions

 NeonTypeFlags (unsigned F)
 
 NeonTypeFlags (EltType ET, bool IsUnsigned, bool IsQuad)
 
EltType getEltType () const
 
bool isPoly () 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 182 of file TargetBuiltins.h.

Member Enumeration Documentation

◆ EltType

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

Definition at line 191 of file TargetBuiltins.h.

Constructor & Destructor Documentation

◆ NeonTypeFlags() [1/2]

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

Definition at line 206 of file TargetBuiltins.h.

◆ NeonTypeFlags() [2/2]

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

Definition at line 207 of file TargetBuiltins.h.

Member Function Documentation

◆ getEltSizeInBits()

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

◆ getEltType()

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

◆ isPoly()

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

Definition at line 215 of file TargetBuiltins.h.

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

◆ isQuad()

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

Definition at line 220 of file TargetBuiltins.h.

Referenced by GetFloatNeonType(), and GetNeonType().

◆ isUnsigned()

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

Definition at line 219 of file TargetBuiltins.h.

Referenced by clang::getNeonEltType().


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