clang 17.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
clang::RISCV::PrototypeDescriptor Struct Reference

#include "clang/Support/RISCVVIntrinsicUtils.h"

Collaboration diagram for clang::RISCV::PrototypeDescriptor:
Collaboration graph
[legend]

Public Member Functions

constexpr PrototypeDescriptor ()=default
 
constexpr PrototypeDescriptor (BaseTypeModifier PT, VectorTypeModifier VTM=VectorTypeModifier::NoModifier, TypeModifier TM=TypeModifier::NoModifier)
 
constexpr PrototypeDescriptor (uint8_t PT, uint8_t VTM, uint8_t TM)
 
bool operator!= (const PrototypeDescriptor &PD) const
 
bool operator== (const PrototypeDescriptor &PD) const
 
bool operator< (const PrototypeDescriptor &PD) const
 

Static Public Member Functions

static std::optional< PrototypeDescriptorparsePrototypeDescriptor (llvm::StringRef PrototypeStr)
 

Public Attributes

uint8_t PT = static_cast<uint8_t>(BaseTypeModifier::Invalid)
 
uint8_t VTM = static_cast<uint8_t>(VectorTypeModifier::NoModifier)
 
uint8_t TM = static_cast<uint8_t>(TypeModifier::NoModifier)
 

Static Public Attributes

static const PrototypeDescriptor Mask
 
static const PrototypeDescriptor Vector
 
static const PrototypeDescriptor VL
 

Detailed Description

Definition at line 154 of file RISCVVIntrinsicUtils.h.

Constructor & Destructor Documentation

◆ PrototypeDescriptor() [1/3]

constexpr clang::RISCV::PrototypeDescriptor::PrototypeDescriptor ( )
constexprdefault

◆ PrototypeDescriptor() [2/3]

constexpr clang::RISCV::PrototypeDescriptor::PrototypeDescriptor ( BaseTypeModifier  PT,
VectorTypeModifier  VTM = VectorTypeModifier::NoModifier,
TypeModifier  TM = TypeModifier::NoModifier 
)
inlineconstexpr

Definition at line 156 of file RISCVVIntrinsicUtils.h.

◆ PrototypeDescriptor() [3/3]

constexpr clang::RISCV::PrototypeDescriptor::PrototypeDescriptor ( uint8_t  PT,
uint8_t  VTM,
uint8_t  TM 
)
inlineconstexpr

Definition at line 162 of file RISCVVIntrinsicUtils.h.

Member Function Documentation

◆ operator!=()

bool clang::RISCV::PrototypeDescriptor::operator!= ( const PrototypeDescriptor PD) const
inline

Definition at line 169 of file RISCVVIntrinsicUtils.h.

◆ operator<()

bool clang::RISCV::PrototypeDescriptor::operator< ( const PrototypeDescriptor PD) const
inline

Definition at line 175 of file RISCVVIntrinsicUtils.h.

References PT, TM, and VTM.

◆ operator==()

bool clang::RISCV::PrototypeDescriptor::operator== ( const PrototypeDescriptor PD) const
inline

Definition at line 172 of file RISCVVIntrinsicUtils.h.

References PT, TM, and VTM.

◆ parsePrototypeDescriptor()

std::optional< PrototypeDescriptor > clang::RISCV::PrototypeDescriptor::parsePrototypeDescriptor ( llvm::StringRef  PrototypeStr)
static

Member Data Documentation

◆ Mask

const PrototypeDescriptor clang::RISCV::PrototypeDescriptor::Mask
static

◆ PT

uint8_t clang::RISCV::PrototypeDescriptor::PT = static_cast<uint8_t>(BaseTypeModifier::Invalid)

◆ TM

uint8_t clang::RISCV::PrototypeDescriptor::TM = static_cast<uint8_t>(TypeModifier::NoModifier)

◆ Vector

const PrototypeDescriptor clang::RISCV::PrototypeDescriptor::Vector
static
Initial value:

Definition at line 179 of file RISCVVIntrinsicUtils.h.

◆ VL

const PrototypeDescriptor clang::RISCV::PrototypeDescriptor::VL
static

◆ VTM

uint8_t clang::RISCV::PrototypeDescriptor::VTM = static_cast<uint8_t>(VectorTypeModifier::NoModifier)

The documentation for this struct was generated from the following files: