LLVM 17.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::RISCV::CPUInfo Struct Reference
Collaboration diagram for llvm::RISCV::CPUInfo:
Collaboration graph
[legend]

Public Member Functions

bool isInvalid () const
 
bool is64Bit () const
 

Public Attributes

StringLiteral Name
 
CPUKind Kind
 
StringLiteral DefaultMarch
 

Detailed Description

Definition at line 21 of file RISCVTargetParser.cpp.

Member Function Documentation

◆ is64Bit()

bool llvm::RISCV::CPUInfo::is64Bit ( ) const
inline

Definition at line 26 of file RISCVTargetParser.cpp.

References DefaultMarch, and llvm::StringRef::starts_with().

◆ isInvalid()

bool llvm::RISCV::CPUInfo::isInvalid ( ) const
inline

Definition at line 25 of file RISCVTargetParser.cpp.

References DefaultMarch, and llvm::StringRef::empty().

Member Data Documentation

◆ DefaultMarch

StringLiteral llvm::RISCV::CPUInfo::DefaultMarch

Definition at line 24 of file RISCVTargetParser.cpp.

Referenced by is64Bit(), and isInvalid().

◆ Kind

CPUKind llvm::RISCV::CPUInfo::Kind

Definition at line 23 of file RISCVTargetParser.cpp.

◆ Name

StringLiteral llvm::RISCV::CPUInfo::Name

Definition at line 22 of file RISCVTargetParser.cpp.


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