|
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 <array>#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 833 of file RISCVISAInfo.cpp.
| #define GET_RISCVExtensionBitmaskTable_IMPL |
Definition at line 1073 of file RISCVISAInfo.cpp.
| #define GET_SUPPORTED_EXTENSIONS |
Definition at line 51 of file RISCVISAInfo.cpp.
| #define GET_SUPPORTED_PROFILES |
Definition at line 54 of file RISCVISAInfo.cpp.
|
static |
Definition at line 194 of file RISCVISAInfo.cpp.
References llvm::ArrayRef(), I, and llvm::lower_bound().
Referenced by getExtensionVersion(), and llvm::RISCVISAInfo::parseArchString().
|
static |
Definition at line 167 of file RISCVISAInfo.cpp.
References assert(), and llvm::isDigit().
Referenced by llvm::RISCVISAInfo::getTargetFeatureForExtension(), llvm::RISCVISAInfo::isSupportedExtensionWithVersion(), and llvm::RISCVISAInfo::parseArchString().
Definition at line 315 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 319 of file RISCVISAInfo.cpp.
References getError(), getExtensionTypeDesc(), and llvm::StringRef::size().
Referenced by getExtensionVersion(), and llvm::RISCVISAInfo::parseArchString().
Definition at line 734 of file RISCVISAInfo.cpp.
References getError().
Definition at line 219 of file RISCVISAInfo.cpp.
Referenced by llvm::RISCVISAInfo::parseArchString(), and performMemPairCombine().
Definition at line 209 of file RISCVISAInfo.cpp.
Referenced by getErrorForInvalidExt(), and llvm::RISCVISAInfo::parseArchString().
|
static |
Definition at line 333 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 729 of file RISCVISAInfo.cpp.
References getError().
|
static |
Definition at line 230 of file RISCVISAInfo.cpp.
References I, and llvm::lower_bound().
Referenced by getExtensionVersion(), llvm::RISCVISAInfo::getTargetFeatureForExtension(), and llvm::RISCVISAInfo::toFeatures().
|
static |
Definition at line 825 of file RISCVISAInfo.cpp.
|
static |
Definition at line 829 of file RISCVISAInfo.cpp.
Definition at line 74 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 156 of file RISCVISAInfo.cpp.
Referenced by llvm::RISCVISAInfo::hasExtension(), llvm::RISCVISAInfo::isSupportedExtensionFeature(), and llvm::RISCVISAInfo::parseFeatures().
|
static |
Definition at line 57 of file RISCVISAInfo.cpp.
References assert(), and llvm::is_sorted().
|
staticconstexpr |
Definition at line 895 of file RISCVISAInfo.cpp.
Definition at line 48 of file RISCVISAInfo.cpp.
Referenced by llvm::RISCVISAInfo::parseArchString().
Definition at line 49 of file RISCVISAInfo.cpp.
Referenced by llvm::RISCVISAInfo::parseArchString().