LLVM 20.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 |
Macros | |
#define | GET_SUPPORTED_EXTENSIONS |
#define | GET_SUPPORTED_PROFILES |
#define | GET_IMPLIED_EXTENSIONS |
Variables | |
static const char * | RISCVGImplications [] |
static constexpr StringLiteral | CombineIntoExts [] |
static constexpr RISCVExtBit | RISCVBitPositions [] |
#define GET_IMPLIED_EXTENSIONS |
Definition at line 800 of file RISCVISAInfo.cpp.
#define GET_SUPPORTED_EXTENSIONS |
Definition at line 52 of file RISCVISAInfo.cpp.
#define GET_SUPPORTED_PROFILES |
Definition at line 55 of file RISCVISAInfo.cpp.
|
static |
Definition at line 195 of file RISCVISAInfo.cpp.
References I, and llvm::lower_bound().
Referenced by getExtensionVersion(), and llvm::RISCVISAInfo::parseArchString().
|
static |
Definition at line 168 of file RISCVISAInfo.cpp.
References assert(), and isDigit().
Referenced by llvm::RISCVISAInfo::getTargetFeatureForExtension(), llvm::RISCVISAInfo::isSupportedExtensionWithVersion(), and llvm::RISCVISAInfo::parseArchString().
Definition at line 321 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 325 of file RISCVISAInfo.cpp.
References getError(), getExtensionTypeDesc(), and llvm::StringRef::size().
Referenced by getExtensionVersion(), and llvm::RISCVISAInfo::parseArchString().
Definition at line 729 of file RISCVISAInfo.cpp.
References getError().
Definition at line 220 of file RISCVISAInfo.cpp.
Referenced by llvm::RISCVISAInfo::parseArchString(), and performMemPairCombine().
Definition at line 210 of file RISCVISAInfo.cpp.
Referenced by getErrorForInvalidExt(), and llvm::RISCVISAInfo::parseArchString().
|
static |
Definition at line 339 of file RISCVISAInfo.cpp.
References llvm::StringRef::empty(), findDefaultVersion(), llvm::StringRef::getAsInteger(), getError(), getErrorForInvalidExt(), isDigit(), isExperimentalExtension(), llvm::RISCVISAInfo::isSupportedExtension(), llvm::StringRef::size(), llvm::StringRef::str(), and llvm::Error::success().
Referenced by llvm::RISCVISAInfo::isSupportedExtensionWithVersion(), and llvm::RISCVISAInfo::parseArchString().
Definition at line 724 of file RISCVISAInfo.cpp.
References getError().
|
static |
Definition at line 231 of file RISCVISAInfo.cpp.
References I, and llvm::lower_bound().
Referenced by getExtensionVersion(), llvm::RISCVISAInfo::getTargetFeatureForExtension(), and llvm::RISCVISAInfo::toFeatures().
|
static |
Definition at line 792 of file RISCVISAInfo.cpp.
|
static |
Definition at line 796 of file RISCVISAInfo.cpp.
Definition at line 75 of file RISCVISAInfo.cpp.
References llvm::StringRef::empty(), llvm::raw_ostream::indent(), llvm::left_justify(), Name, and llvm::outs().
Referenced by llvm::RISCVISAInfo::printEnabledExtensions(), and llvm::RISCVISAInfo::printSupportedExtensions().
Definition at line 157 of file RISCVISAInfo.cpp.
Referenced by llvm::RISCVISAInfo::hasExtension(), llvm::RISCVISAInfo::isSupportedExtensionFeature(), and llvm::RISCVISAInfo::parseFeatures().
|
static |
Definition at line 58 of file RISCVISAInfo.cpp.
References assert(), and llvm::is_sorted().
|
staticconstexpr |
Definition at line 848 of file RISCVISAInfo.cpp.
|
staticconstexpr |
Definition at line 1019 of file RISCVISAInfo.cpp.
Referenced by llvm::RISCVISAInfo::getRISCVFeaturesBitsInfo().
Definition at line 48 of file RISCVISAInfo.cpp.
Referenced by llvm::RISCVISAInfo::parseArchString().