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"

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 155 of file RISCVVIntrinsicUtils.h.

Constructor & Destructor Documentation

◆ PrototypeDescriptor() [1/3]

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

◆ PrototypeDescriptor() [2/3]

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

Definition at line 157 of file RISCVVIntrinsicUtils.h.

◆ PrototypeDescriptor() [3/3]

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

Definition at line 163 of file RISCVVIntrinsicUtils.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 170 of file RISCVVIntrinsicUtils.h.

◆ operator<()

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

Definition at line 176 of file RISCVVIntrinsicUtils.h.

References PT, TM, and VTM.

◆ operator==()

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

Definition at line 173 of file RISCVVIntrinsicUtils.h.

References PT, TM, and VTM.

◆ parsePrototypeDescriptor()

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

Member Data Documentation

◆ Mask

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

◆ 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
Initial value:

Definition at line 180 of file RISCVVIntrinsicUtils.h.

◆ VL

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


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

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