Lines Matching defs:AK
98 static ARM::ProfileKind getProfileKind(ARM::ArchKind AK) {
99 switch (AK) {
271 ARM::FPUKind ARM::getDefaultFPU(StringRef CPU, ARM::ArchKind AK) {
273 return ARM::ARMArchNames[static_cast<unsigned>(AK)].DefaultFPU;
282 uint64_t ARM::getDefaultExtensions(StringRef CPU, ARM::ArchKind AK) {
284 return ARM::ARMArchNames[static_cast<unsigned>(AK)].ArchBaseExtensions;
330 StringRef ARM::getArchName(ARM::ArchKind AK) {
331 return ARMArchNames[static_cast<unsigned>(AK)].Name;
334 StringRef ARM::getCPUAttr(ARM::ArchKind AK) {
335 return ARMArchNames[static_cast<unsigned>(AK)].CPUAttr;
338 StringRef ARM::getSubArch(ARM::ArchKind AK) {
339 return ARMArchNames[static_cast<unsigned>(AK)].getSubArch();
342 unsigned ARM::getArchAttr(ARM::ArchKind AK) {
343 return ARMArchNames[static_cast<unsigned>(AK)].ArchAttr;
422 bool ARM::appendArchExtFeatures(StringRef CPU, ARM::ArchKind AK,
448 const ARM::FPUKind DefaultFPU = getDefaultFPU(CPU, AK);
481 ARM::ArchKind ARM::convertV9toV8(ARM::ArchKind AK) {
482 if (getProfileKind(AK) != ProfileKind::A)
484 if (AK < ARM::ArchKind::ARMV9A || AK > ARM::ArchKind::ARMV9_3A)
487 AK_v8 += static_cast<unsigned>(AK) -
493 ArchKind AK = parseArch(Arch);
494 if (AK == ArchKind::INVALID)
497 // Look for multiple AKs to find the default for pair AK+Name.
499 if (CPU.ArchID == AK && CPU.Default)