LLVM 19.0.0git
|
#include "llvm/TargetParser/RISCVISAInfo.h"
#include "llvm/ADT/MapVector.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SetVector.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 |
Macros | |
#define | GET_SUPPORTED_EXTENSIONS |
#define | GET_SUPPORTED_PROFILES |
#define | GET_IMPLIED_EXTENSIONS |
Variables | |
static const char * | RISCVGImplications [] |
static constexpr StringLiteral | CombineIntoExts [] |
#define GET_IMPLIED_EXTENSIONS |
Definition at line 872 of file RISCVISAInfo.cpp.
#define GET_SUPPORTED_EXTENSIONS |
Definition at line 54 of file RISCVISAInfo.cpp.
#define GET_SUPPORTED_PROFILES |
Definition at line 57 of file RISCVISAInfo.cpp.
|
static |
Definition at line 159 of file RISCVISAInfo.cpp.
References I, and llvm::lower_bound().
Referenced by getExtensionVersion(), and llvm::RISCVISAInfo::parseArchString().
|
static |
Definition at line 132 of file RISCVISAInfo.cpp.
References assert(), and isDigit().
Referenced by llvm::RISCVISAInfo::getTargetFeatureForExtension(), llvm::RISCVISAInfo::isSupportedExtensionWithVersion(), and processMultiLetterExtension().
Definition at line 189 of file RISCVISAInfo.cpp.
Referenced by performMemPairCombine(), and processMultiLetterExtension().
Definition at line 179 of file RISCVISAInfo.cpp.
Referenced by getStringErrorForInvalidExt(), and processMultiLetterExtension().
|
static |
Definition at line 306 of file RISCVISAInfo.cpp.
References llvm::createStringError(), llvm::StringRef::empty(), findDefaultVersion(), llvm::StringRef::getAsInteger(), getStringErrorForInvalidExt(), llvm::invalid_argument, isDigit(), isExperimentalExtension(), llvm::RISCVISAInfo::isSupportedExtension(), llvm::StringRef::size(), llvm::StringRef::str(), and llvm::Error::success().
Referenced by llvm::RISCVISAInfo::isSupportedExtensionWithVersion(), llvm::RISCVISAInfo::parseArchString(), processMultiLetterExtension(), and processSingleLetterExtension().
|
static |
Definition at line 290 of file RISCVISAInfo.cpp.
References llvm::createStringError(), getExtensionTypeDesc(), and llvm::invalid_argument.
Referenced by getExtensionVersion(), and llvm::RISCVISAInfo::parseArchString().
|
static |
Definition at line 200 of file RISCVISAInfo.cpp.
References I, and llvm::lower_bound().
Referenced by getExtensionVersion(), llvm::RISCVISAInfo::getTargetFeatureForExtension(), and llvm::RISCVISAInfo::toFeatures().
|
static |
Definition at line 864 of file RISCVISAInfo.cpp.
|
static |
Definition at line 868 of file RISCVISAInfo.cpp.
Definition at line 77 of file RISCVISAInfo.cpp.
References llvm::StringRef::empty(), llvm::raw_ostream::indent(), llvm::left_justify(), Name, and llvm::outs().
Referenced by llvm::riscvExtensionsHelp().
|
static |
Definition at line 524 of file RISCVISAInfo.cpp.
References llvm::consumeError(), llvm::createStringError(), findLastNonVersionCharacter(), getExtensionType(), getExtensionTypeDesc(), getExtensionVersion(), llvm::invalid_argument, llvm::RISCVISAInfo::isSupportedExtension(), Name, llvm::StringRef::substr(), and llvm::Error::success().
Referenced by llvm::RISCVISAInfo::parseArchString().
|
static |
Definition at line 570 of file RISCVISAInfo.cpp.
References llvm::StringRef::consume_front(), llvm::consumeError(), llvm::createStringError(), getExtensionVersion(), llvm::invalid_argument, llvm::RISCVISAInfo::isSupportedExtension(), Name, llvm::StringRef::substr(), llvm::Error::success(), and llvm::StringRef::take_front().
Referenced by llvm::RISCVISAInfo::parseArchString().
Definition at line 121 of file RISCVISAInfo.cpp.
Referenced by llvm::RISCVISAInfo::hasExtension(), llvm::RISCVISAInfo::isSupportedExtensionFeature(), and llvm::RISCVISAInfo::parseFeatures().
|
static |
Definition at line 60 of file RISCVISAInfo.cpp.
References assert(), and llvm::is_sorted().
|
staticconstexpr |
Definition at line 922 of file RISCVISAInfo.cpp.
Definition at line 50 of file RISCVISAInfo.cpp.
Referenced by llvm::RISCVISAInfo::parseArchString().