LLVM 22.0.0git
llvm::RISCV::CPUModel Struct Reference

#include "llvm/TargetParser/RISCVTargetParser.h"

Public Member Functions

bool isValid () const
bool operator== (const CPUModel &Other) const

Public Attributes

uint32_t MVendorID
uint64_t MArchID
uint64_t MImpID

Detailed Description

Definition at line 28 of file RISCVTargetParser.h.

Member Function Documentation

◆ isValid()

bool llvm::RISCV::CPUModel::isValid ( ) const
inline

Definition at line 33 of file RISCVTargetParser.h.

References MArchID, MImpID, and MVendorID.

Referenced by llvm::RISCV::hasValidCPUModel().

◆ operator==()

bool llvm::RISCV::CPUModel::operator== ( const CPUModel & Other) const
inline

Definition at line 35 of file RISCVTargetParser.h.

References MArchID, MImpID, MVendorID, and llvm::Other.

Member Data Documentation

◆ MArchID

uint64_t llvm::RISCV::CPUModel::MArchID

Definition at line 30 of file RISCVTargetParser.h.

Referenced by isValid(), and operator==().

◆ MImpID

uint64_t llvm::RISCV::CPUModel::MImpID

Definition at line 31 of file RISCVTargetParser.h.

Referenced by isValid(), and operator==().

◆ MVendorID

uint32_t llvm::RISCV::CPUModel::MVendorID

Definition at line 29 of file RISCVTargetParser.h.

Referenced by isValid(), and operator==().


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