17 #ifndef LLVM_LIB_TARGET_ARM_UTILS_ARMBASEINFO_H 18 #define LLVM_LIB_TARGET_ARM_UTILS_ARMBASEINFO_H 114 namespace ARMSysReg {
124 return (FeaturesRequired & ActiveFeatures) == FeaturesRequired;
129 return (FeaturesRequired & TestFeatures) == TestFeatures;
133 #define GET_MCLASSSYSREG_DECL 134 #include "ARMGenSystemRegister.inc" 150 namespace ARMBankedReg {
155 #define GET_BANKEDREG_DECL 156 #include "ARMGenSystemRegister.inc" 161 #endif // LLVM_LIB_TARGET_ARM_UTILS_ARMBASEINFO_H
This class represents lattice values for constants.
const MClassSysReg * lookupMClassSysRegBy8bitSYSmValue(unsigned SYSm)
LLVM_NODISCARD LLVM_ATTRIBUTE_ALWAYS_INLINE R Default(T Value)
A switch()-like statement whose cases are string literals.
bool hasRequiredFeatures(FeatureBitset ActiveFeatures) const
Container class for subtarget features.
const MClassSysReg * lookupMClassSysRegAPSRNonDeprecated(unsigned SYSm)
const MClassSysReg * lookupMClassSysRegBy12bitSYSmValue(unsigned SYSm)
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
static const char * ARMCondCodeToString(ARMCC::CondCodes CC)
FeatureBitset FeaturesRequired
bool isInRequiredFeatures(FeatureBitset TestFeatures) const
LLVM_ATTRIBUTE_ALWAYS_INLINE StringSwitch & Case(StringLiteral S, T Value)
static unsigned ARMCondCodeFromString(StringRef CC)
static CondCodes getOppositeCondition(CondCodes CC)
LLVM_NODISCARD std::string lower() const
StringRef - Represent a constant reference to a string, i.e.