15 #ifndef LLVM_SUPPORT_AARCH64TARGETPARSERCOMMON_H 16 #define LLVM_SUPPORT_AARCH64TARGETPARSERCOMMON_H 56 #define AARCH64_ARCH(NAME, ID, CPU_ATTR, SUB_ARCH, ARCH_ATTR, ARCH_FPU, ARCH_BASE_EXT) ID, 57 #include "AArch64TargetParser.def" 61 #define AARCH64_ARCH(NAME, ID, CPU_ATTR, SUB_ARCH, ARCH_ATTR, ARCH_FPU, \ 66 sizeof(CPU_ATTR) - 1, \ 68 sizeof(SUB_ARCH) - 1, \ 69 ARM::FPUKind::ARCH_FPU, \ 71 AArch64::ArchKind::ID, \ 73 #include "AArch64TargetParser.def" 77 #define AARCH64_ARCH_EXT_NAME(NAME, ID, FEATURE, NEGFEATURE) \ 78 {NAME, sizeof(NAME) - 1, ID, FEATURE, NEGFEATURE}, 79 #include "AArch64TargetParser.def" 83 #define AARCH64_CPU_NAME(NAME, ID, DEFAULT_FPU, IS_DEFAULT, DEFAULT_EXT) \ 84 {NAME, sizeof(NAME) - 1, AArch64::ArchKind::ID, IS_DEFAULT, DEFAULT_EXT}, 85 #include "AArch64TargetParser.def" 89 #define AARCH64_ARCH(NAME, ID, CPU_ATTR, SUB_ARCH, ARCH_ATTR, ARCH_FPU, ARCH_BASE_EXT) \ 91 #include "AArch64TargetParser.def" unsigned getArchAttr(ArchKind AK)
This class represents lattice values for constants.
ArchKind getCPUArchKind(StringRef CPU)
const FeatureBitset Features
StringRef getCPUAttr(ArchKind AK)
ArchExtKind parseArchExt(StringRef ArchExt)
StringRef getArchExtName(unsigned ArchExtKind)
unsigned getDefaultFPU(StringRef CPU, ArchKind AK)
StringRef getArchExtFeature(StringRef ArchExt)
bool getExtensionFeatures(unsigned Extensions, std::vector< StringRef > &Features)
ArchKind parseArch(StringRef Arch)
StringRef getArchName(ArchKind AK)
bool isX18ReservedByDefault(const Triple &TT)
const ARM::ExtName AArch64ARCHExtNames[]
const ARM::CpuNames< ArchKind > AArch64CPUNames[]
static const struct @395 Extensions[]
Triple - Helper class for working with autoconf configuration names.
const ArchKind ArchKinds[]
void fillValidCPUArchList(SmallVectorImpl< StringRef > &Values)
const ARM::ArchNames< ArchKind > AArch64ARCHNames[]
ArchKind parseCPUArch(StringRef CPU)
StringRef getSubArch(ArchKind AK)
StringRef - Represent a constant reference to a string, i.e.
bool getArchFeatures(ArchKind AK, std::vector< StringRef > &Features)
StringRef getDefaultCPU(StringRef Arch)
unsigned getDefaultExtensions(StringRef CPU, ArchKind AK)