clang: clang::NeonTypeFlags Class Reference (original) (raw)

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

#include "[clang/Basic/TargetBuiltins.h](TargetBuiltins%5F8h%5Fsource.html)"

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

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 190 of file TargetBuiltins.h.

EltType

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

Definition at line 199 of file TargetBuiltins.h.

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

NeonTypeFlags() [2/2]

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

getEltSizeInBits()

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

Definition at line 229 of file TargetBuiltins.h.

References BFloat16, Float16, Float32, Float64, getEltType(), Int16, Int32, Int64, Int8, Poly128, Poly16, Poly64, and Poly8.

Referenced by clang::SemaARM::PerformNeonImmChecks().

getEltType()

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

isPoly()

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

isQuad()

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

isUnsigned()

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

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