|
LLVM 22.0.0git
|
#include "llvm/TargetParser/RISCVISAInfo.h"#include "llvm/ADT/STLExtras.h"#include "llvm/ADT/StringExtras.h"#include "llvm/ADT/StringRef.h"#include "llvm/Support/Errc.h"#include "llvm/Support/Error.h"#include "llvm/Support/raw_ostream.h"#include <atomic>#include <optional>#include <string>#include <vector>#include "llvm/TargetParser/RISCVTargetParserDef.inc"Go to the source code of this file.
Classes | |
| struct | ImpliedExtsEntry |
| struct | RISCVExtBit |
| struct | RISCVExtensionBitmask |
Macros | |
| #define | GET_SUPPORTED_EXTENSIONS |
| #define | GET_SUPPORTED_PROFILES |
| #define | GET_IMPLIED_EXTENSIONS |
| #define | GET_RISCVExtensionBitmaskTable_IMPL |
Variables | |
| static const char * | RISCVGImplications [] = {"i", "m", "a", "f", "d"} |
| static const char * | RISCVGImplicationsZi [] = {"zicsr", "zifencei"} |
| static constexpr StringLiteral | CombineIntoExts [] |
| #define GET_IMPLIED_EXTENSIONS |
Definition at line 832 of file RISCVISAInfo.cpp.
| #define GET_RISCVExtensionBitmaskTable_IMPL |
Definition at line 1072 of file RISCVISAInfo.cpp.
| #define GET_SUPPORTED_EXTENSIONS |
Definition at line 50 of file RISCVISAInfo.cpp.
| #define GET_SUPPORTED_PROFILES |
Definition at line 53 of file RISCVISAInfo.cpp.
|
static |
Definition at line 193 of file RISCVISAInfo.cpp.
References llvm::ArrayRef(), I, and llvm::lower_bound().
Referenced by getExtensionVersion(), and llvm::RISCVISAInfo::parseArchString().
|
static |
Definition at line 166 of file RISCVISAInfo.cpp.
References assert(), and llvm::isDigit().
Referenced by llvm::RISCVISAInfo::getTargetFeatureForExtension(), llvm::RISCVISAInfo::isSupportedExtensionWithVersion(), and llvm::RISCVISAInfo::parseArchString().
Definition at line 314 of file RISCVISAInfo.cpp.
References llvm::createStringError(), and llvm::invalid_argument.
Referenced by getErrorForInvalidExt(), getExtensionRequiresError(), getExtensionVersion(), getIncompatibleError(), llvm::RISCVISAInfo::parseArchString(), and llvm::RISCVISAInfo::parseNormalizedArchString().
Definition at line 318 of file RISCVISAInfo.cpp.
References getError(), getExtensionTypeDesc(), and llvm::StringRef::size().
Referenced by getExtensionVersion(), and llvm::RISCVISAInfo::parseArchString().
Definition at line 733 of file RISCVISAInfo.cpp.
References getError().
Definition at line 218 of file RISCVISAInfo.cpp.
Referenced by llvm::RISCVISAInfo::parseArchString(), and performMemPairCombine().
Definition at line 208 of file RISCVISAInfo.cpp.
Referenced by getErrorForInvalidExt(), and llvm::RISCVISAInfo::parseArchString().
|
static |
Definition at line 332 of file RISCVISAInfo.cpp.
References llvm::StringRef::empty(), findDefaultVersion(), llvm::StringRef::getAsInteger(), getError(), getErrorForInvalidExt(), llvm::isDigit(), isExperimentalExtension(), llvm::RISCVISAInfo::isSupportedExtension(), llvm::StringRef::size(), llvm::StringRef::str(), llvm::Error::success(), and llvm::utostr().
Referenced by llvm::RISCVISAInfo::isSupportedExtensionWithVersion(), and llvm::RISCVISAInfo::parseArchString().
Definition at line 728 of file RISCVISAInfo.cpp.
References getError().
|
static |
Definition at line 229 of file RISCVISAInfo.cpp.
References I, and llvm::lower_bound().
Referenced by getExtensionVersion(), llvm::RISCVISAInfo::getTargetFeatureForExtension(), and llvm::RISCVISAInfo::toFeatures().
|
static |
Definition at line 824 of file RISCVISAInfo.cpp.
|
static |
Definition at line 828 of file RISCVISAInfo.cpp.
Definition at line 73 of file RISCVISAInfo.cpp.
References llvm::StringRef::empty(), llvm::raw_ostream::indent(), llvm::left_justify(), and llvm::outs().
Referenced by llvm::RISCVISAInfo::printEnabledExtensions(), and llvm::RISCVISAInfo::printSupportedExtensions().
Definition at line 155 of file RISCVISAInfo.cpp.
Referenced by llvm::RISCVISAInfo::hasExtension(), llvm::RISCVISAInfo::isSupportedExtensionFeature(), and llvm::RISCVISAInfo::parseFeatures().
|
static |
Definition at line 56 of file RISCVISAInfo.cpp.
References assert(), and llvm::is_sorted().
|
staticconstexpr |
Definition at line 894 of file RISCVISAInfo.cpp.
Definition at line 47 of file RISCVISAInfo.cpp.
Referenced by llvm::RISCVISAInfo::parseArchString().
Definition at line 48 of file RISCVISAInfo.cpp.
Referenced by llvm::RISCVISAInfo::parseArchString().