|
LLVM 24.0.0git
|
Go to the source code of this file.
Enumerations | |
| enum | RankFlags { RF_BASE_I = 0 , RF_BASE_E = 1 , RF_BASE_Y = 2 , RF_NUM_BASES = 3 , RF_Z_EXTENSION = 1 << 6 , RF_S_EXTENSION = 2 << 6 , RF_X_EXTENSION = 3 << 6 , RF_UNKNOWN_MULTILETTER_EXTENSION = 4 << 6 } |
Functions | |
| static unsigned | singleLetterExtensionRank (char Ext) |
| static unsigned | getExtensionRank (const std::string &ExtName) |
| enum RankFlags |
| Enumerator | |
|---|---|
| RF_BASE_I | |
| RF_BASE_E | |
| RF_BASE_Y | |
| RF_NUM_BASES | |
| RF_Z_EXTENSION | |
| RF_S_EXTENSION | |
| RF_X_EXTENSION | |
| RF_UNKNOWN_MULTILETTER_EXTENSION | |
Definition at line 31 of file RISCVISAUtils.cpp.
|
static |
Definition at line 66 of file RISCVISAUtils.cpp.
References assert(), RF_S_EXTENSION, RF_UNKNOWN_MULTILETTER_EXTENSION, RF_X_EXTENSION, RF_Z_EXTENSION, and singleLetterExtensionRank().
Referenced by llvm::RISCVISAUtils::compareExtension().
Definition at line 44 of file RISCVISAUtils.cpp.
References llvm::RISCVISAUtils::AllStdExts, assert(), llvm::isLower(), llvm::StringRef::npos, RF_BASE_E, RF_BASE_I, RF_BASE_Y, and RF_NUM_BASES.
Referenced by getExtensionRank().