LLVM 19.0.0git
Classes | Typedefs | Functions | Variables
llvm::RISCVISAUtils Namespace Reference

Classes

struct  ExtensionComparator
 Helper class for OrderedExtensionMap. More...
 
struct  ExtensionVersion
 Represents the major and version number components of a RISC-V extension. More...
 

Typedefs

typedef std::map< std::string, ExtensionVersion, ExtensionComparatorOrderedExtensionMap
 OrderedExtensionMap is std::map, it's specialized to keep entries in canonical order of extension.
 

Functions

bool compareExtension (const std::string &LHS, const std::string &RHS)
 

Variables

constexpr StringLiteral AllStdExts = "mafdqlcbkjtpvnh"
 

Typedef Documentation

◆ OrderedExtensionMap

OrderedExtensionMap is std::map, it's specialized to keep entries in canonical order of extension.

Definition at line 43 of file RISCVISAUtils.h.

Function Documentation

◆ compareExtension()

bool llvm::RISCVISAUtils::compareExtension ( const std::string &  LHS,
const std::string &  RHS 
)

Definition at line 77 of file RISCVISAUtils.cpp.

References getExtensionRank(), LHS, and RHS.

Referenced by llvm::RISCVISAUtils::ExtensionComparator::operator()().

Variable Documentation

◆ AllStdExts

constexpr StringLiteral llvm::RISCVISAUtils::AllStdExts = "mafdqlcbkjtpvnh"
constexpr