LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::RISCV::CPUInfo Struct Reference

#include "llvm/TargetParser/RISCVTargetParser.h"

Public Member Functions

bool is64Bit () const
 

Public Attributes

StringLiteral Name
 
StringLiteral DefaultMarch
 
bool FastScalarUnalignedAccess
 
bool FastVectorUnalignedAccess
 
CPUModel Model
 

Detailed Description

Definition at line 41 of file RISCVTargetParser.h.

Member Function Documentation

◆ is64Bit()

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

Definition at line 47 of file RISCVTargetParser.h.

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

Member Data Documentation

◆ DefaultMarch

StringLiteral llvm::RISCV::CPUInfo::DefaultMarch

Definition at line 43 of file RISCVTargetParser.h.

Referenced by is64Bit().

◆ FastScalarUnalignedAccess

bool llvm::RISCV::CPUInfo::FastScalarUnalignedAccess

Definition at line 44 of file RISCVTargetParser.h.

◆ FastVectorUnalignedAccess

bool llvm::RISCV::CPUInfo::FastVectorUnalignedAccess

Definition at line 45 of file RISCVTargetParser.h.

◆ Model

CPUModel llvm::RISCV::CPUInfo::Model

Definition at line 46 of file RISCVTargetParser.h.

◆ Name

StringLiteral llvm::RISCV::CPUInfo::Name

Definition at line 42 of file RISCVTargetParser.h.


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