13 #ifndef LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVBASEINFO_H 14 #define LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVBASEINFO_H 90 namespace RISCVFenceField {
100 namespace RISCVFPRndMode {
156 namespace RISCVSysReg {
174 if (isRV32Only && ActiveFeatures[RISCV::Feature64Bit])
177 if (FeaturesRequired.
none())
179 return (FeaturesRequired & ActiveFeatures) == FeaturesRequired;
183 #define GET_SysRegsList_DECL 184 #include "RISCVGenSystemOperands.inc" 212 namespace RISCVFeatures {
static bool isValidRoundingMode(unsigned Mode)
static ARMBaseTargetMachine::ARMABI computeTargetABI(const Triple &TT, StringRef CPU, const TargetOptions &Options)
This class represents lattice values for constants.
static RoundingMode stringToRoundingMode(StringRef Str)
bool haveRequiredFeatures(FeatureBitset ActiveFeatures) const
StringSwitch & Case(StringLiteral S, T Value)
LLVM_NODISCARD R Default(T Value)
FeatureBitset FeaturesRequired
A switch()-like statement whose cases are string literals.
Container class for subtarget features.
ABI getTargetABI(StringRef ABIName)
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
Triple - Helper class for working with autoconf configuration names.
static StringRef roundingModeToString(RoundingMode RndMode)
StringRef - Represent a constant reference to a string, i.e.
void validate(const Triple &TT, const FeatureBitset &FeatureBits)
Wrapper class representing virtual and physical registers.