15 #ifndef LLVM_SUPPORT_ARMTARGETPARSER_H 16 #define LLVM_SUPPORT_ARMTARGETPARSER_H 70 #define ARM_ARCH_EXT_NAME(NAME, ID, FEATURE, NEGFEATURE) \ 71 {NAME, sizeof(NAME) - 1, ID, FEATURE, NEGFEATURE}, 72 #include "ARMTargetParser.def" 85 #define ARM_HW_DIV_NAME(NAME, ID) {NAME, sizeof(NAME) - 1, ID}, 86 #include "ARMTargetParser.def" 91 #define ARM_ARCH(NAME, ID, CPU_ATTR, SUB_ARCH, ARCH_ATTR, ARCH_FPU, ARCH_BASE_EXT) ID, 92 #include "ARMTargetParser.def" 111 #define ARM_CPU_NAME(NAME, ID, DEFAULT_FPU, IS_DEFAULT, DEFAULT_EXT) \ 112 {NAME, sizeof(NAME) - 1, ARM::ArchKind::ID, IS_DEFAULT, DEFAULT_EXT}, 113 #include "ARMTargetParser.def" 118 #define ARM_FPU(NAME, KIND, VERSION, NEON_SUPPORT, RESTRICTION) KIND, 119 #include "ARMTargetParser.def" 174 #define ARM_FPU(NAME, KIND, VERSION, NEON_SUPPORT, RESTRICTION) \ 175 {NAME, sizeof(NAME) - 1, KIND, VERSION, NEON_SUPPORT, RESTRICTION}, 176 #include "llvm/Support/ARMTargetParser.def" 209 #define ARM_ARCH(NAME, ID, CPU_ATTR, SUB_ARCH, ARCH_ATTR, ARCH_FPU, \ 211 {NAME, sizeof(NAME) - 1, \ 212 CPU_ATTR, sizeof(CPU_ATTR) - 1, \ 213 SUB_ARCH, sizeof(SUB_ARCH) - 1, \ 214 ARCH_FPU, ARCH_BASE_EXT, \ 215 ArchKind::ID, ARCH_ATTR}, 216 #include "llvm/Support/ARMTargetParser.def" 227 bool getHWDivFeatures(
unsigned HWDivKind, std::vector<StringRef> &Features);
229 std::vector<StringRef> &Features);
StringRef getName() const
ISAKind parseArchISA(StringRef Arch)
FPUVersion getFPUVersion(unsigned FPUKind)
This class represents lattice values for constants.
ARMBuildAttrs::CPUArch ArchAttr
StringRef getName() const
StringRef getArchExtFeature(StringRef ArchExt)
const FeatureBitset Features
StringRef getCPUAttr(ArchKind AK)
StringRef getCPUAttr() const
static const FPUName FPUNames[]
unsigned getDefaultFPU(StringRef CPU, ArchKind AK)
bool getHWDivFeatures(unsigned HWDivKind, std::vector< StringRef > &Features)
NeonSupportLevel NeonSupport
StringRef getArchName(ArchKind AK)
StringRef getCanonicalArchName(StringRef Arch)
StringRef getName() const
NeonSupportLevel getFPUNeonSupportLevel(unsigned FPUKind)
StringRef getDefaultCPU(StringRef Arch)
EndianKind parseArchEndian(StringRef Arch)
StringRef getName() const
static const struct @395 Extensions[]
unsigned ArchBaseExtensions
StringRef getSubArch() const
Only single-precision instructions, with 16 D registers.
StringRef getFPUSynonym(StringRef FPU)
unsigned parseArchVersion(StringRef Arch)
FPURestriction getFPURestriction(unsigned FPUKind)
Triple - Helper class for working with autoconf configuration names.
const struct llvm::ARM::@296 HWDivNames[]
static const ArchNames< ArchKind > ARCHNames[]
StringRef getArchSynonym(StringRef Arch)
StringRef computeDefaultTargetABI(const Triple &TT, StringRef CPU)
ArchKind parseArch(StringRef Arch)
StringRef getHWDivName(unsigned HWDivKind)
StringRef getArchExtName(unsigned ArchExtKind)
void fillValidCPUArchList(SmallVectorImpl< StringRef > &Values)
ProfileKind parseArchProfile(StringRef Arch)
bool getExtensionFeatures(unsigned Extensions, std::vector< StringRef > &Features)
ArchKind parseCPUArch(StringRef CPU)
FPURestriction Restriction
unsigned parseArchExt(StringRef ArchExt)
StringRef getFPUName(unsigned FPUKind)
unsigned getDefaultExtensions(StringRef CPU, ArchKind AK)
StringRef getSubArch(ArchKind AK)
bool getFPUFeatures(unsigned FPUKind, std::vector< StringRef > &Features)
const ExtName ARCHExtNames[]
unsigned parseHWDiv(StringRef HWDiv)
unsigned parseFPU(StringRef FPU)
StringRef - Represent a constant reference to a string, i.e.
unsigned DefaultExtensions
unsigned getArchAttr(ArchKind AK)
const CpuNames< ArchKind > CPUNames[]