Lines Matching refs:ARM
23 using namespace ARM;
35 ARM::FPUKind ID;
36 ARM::FPUVersion FPUVersion;
37 ARM::NeonSupportLevel NeonSupport;
38 ARM::FPURestriction Restriction;
64 ARM::ArchKind ID;
128 ARM::ArchKind ArchID;
149 StringRef llvm::ARM::getFPUName(unsigned FPUKind) { in getFPUName()
150 if (FPUKind >= ARM::FK_LAST) in getFPUName()
155 unsigned llvm::ARM::getFPUVersion(unsigned FPUKind) { in getFPUVersion()
156 if (FPUKind >= ARM::FK_LAST) in getFPUVersion()
161 unsigned llvm::ARM::getFPUNeonSupportLevel(unsigned FPUKind) { in getFPUNeonSupportLevel()
162 if (FPUKind >= ARM::FK_LAST) in getFPUNeonSupportLevel()
167 unsigned llvm::ARM::getFPURestriction(unsigned FPUKind) { in getFPURestriction()
168 if (FPUKind >= ARM::FK_LAST) in getFPURestriction()
173 unsigned llvm::ARM::getDefaultFPU(StringRef CPU, unsigned ArchKind) { in getDefaultFPU()
181 .Default(ARM::FK_INVALID); in getDefaultFPU()
184 unsigned llvm::ARM::getDefaultExtensions(StringRef CPU, unsigned ArchKind) { in getDefaultExtensions()
192 .Default(ARM::AEK_INVALID); in getDefaultExtensions()
195 bool llvm::ARM::getHWDivFeatures(unsigned HWDivKind, in getHWDivFeatures()
198 if (HWDivKind == ARM::AEK_INVALID) in getHWDivFeatures()
201 if (HWDivKind & ARM::AEK_HWDIVARM) in getHWDivFeatures()
206 if (HWDivKind & ARM::AEK_HWDIV) in getHWDivFeatures()
214 bool llvm::ARM::getExtensionFeatures(unsigned Extensions, in getExtensionFeatures()
217 if (Extensions == ARM::AEK_INVALID) in getExtensionFeatures()
220 if (Extensions & ARM::AEK_CRC) in getExtensionFeatures()
225 if (Extensions & ARM::AEK_DSP) in getExtensionFeatures()
233 bool llvm::ARM::getFPUFeatures(unsigned FPUKind, in getFPUFeatures()
236 if (FPUKind >= ARM::FK_LAST || FPUKind == ARM::FK_INVALID) in getFPUFeatures()
242 case ARM::FR_SP_D16: in getFPUFeatures()
246 case ARM::FR_D16: in getFPUFeatures()
250 case ARM::FR_None: in getFPUFeatures()
261 case ARM::FV_VFPV5: in getFPUFeatures()
264 case ARM::FV_VFPV4: in getFPUFeatures()
268 case ARM::FV_VFPV3_FP16: in getFPUFeatures()
274 case ARM::FV_VFPV3: in getFPUFeatures()
280 case ARM::FV_VFPV2: in getFPUFeatures()
287 case ARM::FV_NONE: in getFPUFeatures()
298 case ARM::NS_Crypto: in getFPUFeatures()
302 case ARM::NS_Neon: in getFPUFeatures()
306 case ARM::NS_None: in getFPUFeatures()
315 StringRef llvm::ARM::getArchName(unsigned ArchKind) { in getArchName()
316 if (ArchKind >= ARM::AK_LAST) in getArchName()
321 StringRef llvm::ARM::getCPUAttr(unsigned ArchKind) { in getCPUAttr()
322 if (ArchKind == ARM::AK_INVALID || ArchKind >= ARM::AK_LAST) in getCPUAttr()
327 StringRef llvm::ARM::getSubArch(unsigned ArchKind) { in getSubArch()
328 if (ArchKind == ARM::AK_INVALID || ArchKind >= ARM::AK_LAST) in getSubArch()
333 unsigned llvm::ARM::getArchAttr(unsigned ArchKind) { in getArchAttr()
334 if (ArchKind >= ARM::AK_LAST) in getArchAttr()
339 StringRef llvm::ARM::getArchExtName(unsigned ArchExtKind) { in getArchExtName()
347 const char *llvm::ARM::getArchExtFeature(StringRef ArchExt) { in getArchExtFeature()
363 StringRef llvm::ARM::getHWDivName(unsigned HWDivKind) { in getHWDivName()
371 StringRef llvm::ARM::getDefaultCPU(StringRef Arch) { in getDefaultCPU()
373 if (AK == ARM::AK_INVALID) in getDefaultCPU()
387 return ARM::getFPUName(FPUKind); in getFPUName()
391 return ARM::getFPUVersion(FPUKind); in getFPUVersion()
395 return ARM::getFPUNeonSupportLevel( FPUKind); in getFPUNeonSupportLevel()
399 return ARM::getFPURestriction(FPUKind); in getFPURestriction()
410 .Default(ARM::FK_INVALID); in getDefaultFPU()
450 return ARM::getFPUFeatures(FPUKind, Features); in getFPUFeatures()
455 if (ArchKind == ARM::AK_INVALID || ArchKind >= ARM::AK_LAST) in getArchFeatures()
458 if (ArchKind == ARM::AK_ARMV8_1A) in getArchFeatures()
460 if (ArchKind == ARM::AK_ARMV8_2A) in getArchFeatures()
518 if (AK == ARM::AK_INVALID) in getDefaultCPU()
587 StringRef llvm::ARM::getCanonicalArchName(StringRef Arch) { in getCanonicalArchName()
636 unsigned llvm::ARM::parseHWDiv(StringRef HWDiv) { in parseHWDiv()
642 return ARM::AEK_INVALID; in parseHWDiv()
645 unsigned llvm::ARM::parseFPU(StringRef FPU) { in parseFPU()
651 return ARM::FK_INVALID; in parseFPU()
655 unsigned llvm::ARM::parseArch(StringRef Arch) { in parseArch()
662 return ARM::AK_INVALID; in parseArch()
665 unsigned llvm::ARM::parseArchExt(StringRef ArchExt) { in parseArchExt()
670 return ARM::AEK_INVALID; in parseArchExt()
673 unsigned llvm::ARM::parseCPUArch(StringRef CPU) { in parseCPUArch()
678 return ARM::AK_INVALID; in parseCPUArch()
682 unsigned llvm::ARM::parseArchISA(StringRef Arch) { in parseArchISA()
684 .StartsWith("aarch64", ARM::IK_AARCH64) in parseArchISA()
685 .StartsWith("arm64", ARM::IK_AARCH64) in parseArchISA()
686 .StartsWith("thumb", ARM::IK_THUMB) in parseArchISA()
687 .StartsWith("arm", ARM::IK_ARM) in parseArchISA()
688 .Default(ARM::EK_INVALID); in parseArchISA()
692 unsigned llvm::ARM::parseArchEndian(StringRef Arch) { in parseArchEndian()
695 return ARM::EK_BIG; in parseArchEndian()
699 return ARM::EK_BIG; in parseArchEndian()
701 return ARM::EK_LITTLE; in parseArchEndian()
705 return ARM::EK_LITTLE; in parseArchEndian()
707 return ARM::EK_INVALID; in parseArchEndian()
711 unsigned llvm::ARM::parseArchProfile(StringRef Arch) { in parseArchProfile()
714 case ARM::AK_ARMV6M: in parseArchProfile()
715 case ARM::AK_ARMV7M: in parseArchProfile()
716 case ARM::AK_ARMV7EM: in parseArchProfile()
717 case ARM::AK_ARMV8MMainline: in parseArchProfile()
718 case ARM::AK_ARMV8MBaseline: in parseArchProfile()
719 return ARM::PK_M; in parseArchProfile()
720 case ARM::AK_ARMV7R: in parseArchProfile()
721 return ARM::PK_R; in parseArchProfile()
722 case ARM::AK_ARMV7A: in parseArchProfile()
723 case ARM::AK_ARMV7K: in parseArchProfile()
724 case ARM::AK_ARMV8A: in parseArchProfile()
725 case ARM::AK_ARMV8_1A: in parseArchProfile()
726 case ARM::AK_ARMV8_2A: in parseArchProfile()
727 return ARM::PK_A; in parseArchProfile()
729 return ARM::PK_INVALID; in parseArchProfile()
733 unsigned llvm::ARM::parseArchVersion(StringRef Arch) { in parseArchVersion()
736 case ARM::AK_ARMV2: in parseArchVersion()
737 case ARM::AK_ARMV2A: in parseArchVersion()
739 case ARM::AK_ARMV3: in parseArchVersion()
740 case ARM::AK_ARMV3M: in parseArchVersion()
742 case ARM::AK_ARMV4: in parseArchVersion()
743 case ARM::AK_ARMV4T: in parseArchVersion()
745 case ARM::AK_ARMV5T: in parseArchVersion()
746 case ARM::AK_ARMV5TE: in parseArchVersion()
747 case ARM::AK_IWMMXT: in parseArchVersion()
748 case ARM::AK_IWMMXT2: in parseArchVersion()
749 case ARM::AK_XSCALE: in parseArchVersion()
750 case ARM::AK_ARMV5TEJ: in parseArchVersion()
752 case ARM::AK_ARMV6: in parseArchVersion()
753 case ARM::AK_ARMV6K: in parseArchVersion()
754 case ARM::AK_ARMV6T2: in parseArchVersion()
755 case ARM::AK_ARMV6KZ: in parseArchVersion()
756 case ARM::AK_ARMV6M: in parseArchVersion()
758 case ARM::AK_ARMV7A: in parseArchVersion()
759 case ARM::AK_ARMV7R: in parseArchVersion()
760 case ARM::AK_ARMV7M: in parseArchVersion()
761 case ARM::AK_ARMV7S: in parseArchVersion()
762 case ARM::AK_ARMV7EM: in parseArchVersion()
763 case ARM::AK_ARMV7K: in parseArchVersion()
765 case ARM::AK_ARMV8A: in parseArchVersion()
766 case ARM::AK_ARMV8_1A: in parseArchVersion()
767 case ARM::AK_ARMV8_2A: in parseArchVersion()
768 case ARM::AK_ARMV8MBaseline: in parseArchVersion()
769 case ARM::AK_ARMV8MMainline: in parseArchVersion()
776 return ARM::getCanonicalArchName(Arch); in getCanonicalArchName()
780 return ARM::parseFPU(FPU); in parseFPU()
787 return ARM::AK_INVALID; in parseArch()
794 return ARM::AK_INVALID; in parseArch()
810 return ARM::AK_INVALID; in parseCPUArch()
815 return ARM::parseArchISA(Arch); in parseArchISA()
820 return ARM::parseArchEndian(Arch); in parseArchEndian()
825 return ARM::parseArchProfile(Arch); in parseArchProfile()
830 return ARM::parseArchVersion(Arch); in parseArchVersion()