• Home
  • Raw
  • Download

Lines Matching refs:ArchKind

75 ArchNames<ARM::ArchKind> ARCHNames[] = {
82 ArchNames<AArch64::ArchKind> AArch64ARCHNames[] = {
85 sizeof(SUB_ARCH) - 1, ARCH_FPU, ARCH_BASE_EXT, AArch64::ArchKind::ID, ARCH_ATTR},
138 CpuNames<ARM::ArchKind> CPUNames[] = {
144 CpuNames<AArch64::ArchKind> AArch64CPUNames[] = {
146 { NAME, sizeof(NAME) - 1, AArch64::ArchKind::ID, IS_DEFAULT, DEFAULT_EXT },
180 unsigned llvm::ARM::getDefaultFPU(StringRef CPU, unsigned ArchKind) { in getDefaultFPU() argument
182 return ARCHNames[ArchKind].DefaultFPU; in getDefaultFPU()
191 unsigned llvm::ARM::getDefaultExtensions(StringRef CPU, unsigned ArchKind) { in getDefaultExtensions() argument
193 return ARCHNames[ArchKind].ArchBaseExtensions; in getDefaultExtensions()
322 StringRef llvm::ARM::getArchName(unsigned ArchKind) { in getArchName() argument
323 if (ArchKind >= ARM::AK_LAST) in getArchName()
325 return ARCHNames[ArchKind].getName(); in getArchName()
328 StringRef llvm::ARM::getCPUAttr(unsigned ArchKind) { in getCPUAttr() argument
329 if (ArchKind == ARM::AK_INVALID || ArchKind >= ARM::AK_LAST) in getCPUAttr()
331 return ARCHNames[ArchKind].getCPUAttr(); in getCPUAttr()
334 StringRef llvm::ARM::getSubArch(unsigned ArchKind) { in getSubArch() argument
335 if (ArchKind == ARM::AK_INVALID || ArchKind >= ARM::AK_LAST) in getSubArch()
337 return ARCHNames[ArchKind].getSubArch(); in getSubArch()
340 unsigned llvm::ARM::getArchAttr(unsigned ArchKind) { in getArchAttr() argument
341 if (ArchKind >= ARM::AK_LAST) in getArchAttr()
343 return ARCHNames[ArchKind].ArchAttr; in getArchAttr()
409 unsigned llvm::AArch64::getDefaultFPU(StringRef CPU, unsigned ArchKind) { in getDefaultFPU() argument
411 return AArch64ARCHNames[ArchKind].DefaultFPU; in getDefaultFPU()
420 unsigned llvm::AArch64::getDefaultExtensions(StringRef CPU, unsigned ArchKind) { in getDefaultExtensions() argument
422 return AArch64ARCHNames[ArchKind].ArchBaseExtensions; in getDefaultExtensions()
460 bool llvm::AArch64::getArchFeatures(unsigned ArchKind, in getArchFeatures() argument
462 if (ArchKind == static_cast<unsigned>(AArch64::ArchKind::AK_ARMV8_1A)) in getArchFeatures()
464 if (ArchKind == static_cast<unsigned>(AArch64::ArchKind::AK_ARMV8_2A)) in getArchFeatures()
467 return ArchKind > static_cast<unsigned>(AArch64::ArchKind::AK_INVALID) && in getArchFeatures()
468 ArchKind < static_cast<unsigned>(AArch64::ArchKind::AK_LAST); in getArchFeatures()
471 StringRef llvm::AArch64::getArchName(unsigned ArchKind) { in getArchName() argument
472 if (ArchKind >= static_cast<unsigned>(AArch64::ArchKind::AK_LAST)) in getArchName()
474 return AArch64ARCHNames[ArchKind].getName(); in getArchName()
477 StringRef llvm::AArch64::getCPUAttr(unsigned ArchKind) { in getCPUAttr() argument
478 if (ArchKind == static_cast<unsigned>(AArch64::ArchKind::AK_INVALID) || in getCPUAttr()
479 ArchKind >= static_cast<unsigned>(AArch64::ArchKind::AK_LAST)) in getCPUAttr()
481 return AArch64ARCHNames[ArchKind].getCPUAttr(); in getCPUAttr()
484 StringRef llvm::AArch64::getSubArch(unsigned ArchKind) { in getSubArch() argument
485 if (ArchKind == static_cast<unsigned>(AArch64::ArchKind::AK_INVALID) || in getSubArch()
486 ArchKind >= static_cast<unsigned>(AArch64::ArchKind::AK_LAST)) in getSubArch()
488 return AArch64ARCHNames[ArchKind].getSubArch(); in getSubArch()
491 unsigned llvm::AArch64::getArchAttr(unsigned ArchKind) { in getArchAttr() argument
492 if (ArchKind >= static_cast<unsigned>(AArch64::ArchKind::AK_LAST)) in getArchAttr()
494 return AArch64ARCHNames[ArchKind].ArchAttr; in getArchAttr()
521 if (AK == static_cast<unsigned>(AArch64::ArchKind::AK_INVALID)) in getDefaultCPU()
790 return static_cast<unsigned>(AArch64::ArchKind::AK_INVALID); in parseArch()
797 return static_cast<unsigned>(AArch64::ArchKind::AK_INVALID); in parseArch()
813 return static_cast<unsigned>(AArch64::ArchKind::AK_INVALID); in parseCPUArch()