Lines Matching refs:AK
27 unsigned AArch64::getDefaultFPU(StringRef CPU, AArch64::ArchKind AK) { in getDefaultFPU() argument
29 return AArch64ARCHNames[static_cast<unsigned>(AK)].DefaultFPU; in getDefaultFPU()
38 uint64_t AArch64::getDefaultExtensions(StringRef CPU, AArch64::ArchKind AK) { in getDefaultExtensions() argument
40 return AArch64ARCHNames[static_cast<unsigned>(AK)].ArchBaseExtensions; in getDefaultExtensions()
107 bool AArch64::getArchFeatures(AArch64::ArchKind AK, in getArchFeatures() argument
109 if (AK == ArchKind::ARMV8_1A) in getArchFeatures()
111 if (AK == ArchKind::ARMV8_2A) in getArchFeatures()
113 if (AK == ArchKind::ARMV8_3A) in getArchFeatures()
115 if (AK == ArchKind::ARMV8_4A) in getArchFeatures()
117 if (AK == ArchKind::ARMV8_5A) in getArchFeatures()
119 if (AK == AArch64::ArchKind::ARMV8_6A) in getArchFeatures()
121 if(AK == AArch64::ArchKind::ARMV8R) in getArchFeatures()
124 return AK != ArchKind::INVALID; in getArchFeatures()
127 StringRef AArch64::getArchName(AArch64::ArchKind AK) { in getArchName() argument
128 return AArch64ARCHNames[static_cast<unsigned>(AK)].getName(); in getArchName()
131 StringRef AArch64::getCPUAttr(AArch64::ArchKind AK) { in getCPUAttr() argument
132 return AArch64ARCHNames[static_cast<unsigned>(AK)].getCPUAttr(); in getCPUAttr()
135 StringRef AArch64::getSubArch(AArch64::ArchKind AK) { in getSubArch() argument
136 return AArch64ARCHNames[static_cast<unsigned>(AK)].getSubArch(); in getSubArch()
139 unsigned AArch64::getArchAttr(AArch64::ArchKind AK) { in getArchAttr() argument
140 return AArch64ARCHNames[static_cast<unsigned>(AK)].ArchAttr; in getArchAttr()
166 ArchKind AK = parseArch(Arch); in getDefaultCPU() local
167 if (AK == ArchKind::INVALID) in getDefaultCPU()
172 if (CPU.ArchID == AK && CPU.Default) in getDefaultCPU()