14 #ifndef LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVBASEINFO_H 15 #define LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVBASEINFO_H 59 namespace RISCVFenceField {
69 namespace RISCVFPRndMode {
125 namespace RISCVSysReg {
143 if (isRV32Only && ActiveFeatures[RISCV::Feature64Bit])
146 if (FeaturesRequired.none())
148 return (FeaturesRequired & ActiveFeatures) == FeaturesRequired;
152 #define GET_SysRegsList_DECL 153 #include "RISCVGenSystemOperands.inc"
static bool isValidRoundingMode(unsigned Mode)
This class represents lattice values for constants.
static RoundingMode stringToRoundingMode(StringRef Str)
bool haveRequiredFeatures(FeatureBitset ActiveFeatures) const
LLVM_NODISCARD LLVM_ATTRIBUTE_ALWAYS_INLINE R Default(T Value)
FeatureBitset FeaturesRequired
A switch()-like statement whose cases are string literals.
Container class for subtarget features.
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
LLVM_ATTRIBUTE_ALWAYS_INLINE StringSwitch & Case(StringLiteral S, T Value)
static StringRef roundingModeToString(RoundingMode RndMode)
StringRef - Represent a constant reference to a string, i.e.