Lines Matching refs:StringRef
40 StringRef getName() const { return StringRef(NameCStr, NameLength); } in getName()
67 StringRef getName() const { return StringRef(NameCStr, NameLength); } in getName()
70 StringRef getCPUAttr() const { return StringRef(CPUAttrCStr, CPUAttrLength); } in getCPUAttr()
73 StringRef getSubArch() const { return StringRef(SubArchCStr, SubArchLength); } in getSubArch()
99 StringRef getName() const { return StringRef(NameCStr, NameLength); } in getName()
118 StringRef getName() const { return StringRef(NameCStr, NameLength); } in getName()
136 StringRef getName() const { return StringRef(NameCStr, NameLength); } in getName()
156 StringRef llvm::ARM::getFPUName(unsigned FPUKind) { in getFPUName()
158 return StringRef(); in getFPUName()
180 unsigned llvm::ARM::getDefaultFPU(StringRef CPU, unsigned ArchKind) { in getDefaultFPU()
191 unsigned llvm::ARM::getDefaultExtensions(StringRef CPU, unsigned ArchKind) { in getDefaultExtensions()
322 StringRef llvm::ARM::getArchName(unsigned ArchKind) { in getArchName()
324 return StringRef(); in getArchName()
328 StringRef llvm::ARM::getCPUAttr(unsigned ArchKind) { in getCPUAttr()
330 return StringRef(); in getCPUAttr()
334 StringRef llvm::ARM::getSubArch(unsigned ArchKind) { in getSubArch()
336 return StringRef(); in getSubArch()
346 StringRef llvm::ARM::getArchExtName(unsigned ArchExtKind) { in getArchExtName()
351 return StringRef(); in getArchExtName()
354 const char *llvm::ARM::getArchExtFeature(StringRef ArchExt) { in getArchExtFeature()
356 StringRef ArchExtBase(ArchExt.substr(2)); in getArchExtFeature()
370 StringRef llvm::ARM::getHWDivName(unsigned HWDivKind) { in getHWDivName()
375 return StringRef(); in getHWDivName()
378 StringRef llvm::ARM::getDefaultCPU(StringRef Arch) { in getDefaultCPU()
381 return StringRef(); in getDefaultCPU()
393 StringRef llvm::AArch64::getFPUName(unsigned FPUKind) { in getFPUName()
409 unsigned llvm::AArch64::getDefaultFPU(StringRef CPU, unsigned ArchKind) { in getDefaultFPU()
420 unsigned llvm::AArch64::getDefaultExtensions(StringRef CPU, unsigned ArchKind) { in getDefaultExtensions()
471 StringRef llvm::AArch64::getArchName(unsigned ArchKind) { in getArchName()
473 return StringRef(); in getArchName()
477 StringRef llvm::AArch64::getCPUAttr(unsigned ArchKind) { in getCPUAttr()
480 return StringRef(); in getCPUAttr()
484 StringRef llvm::AArch64::getSubArch(unsigned ArchKind) { in getSubArch()
487 return StringRef(); in getSubArch()
497 StringRef llvm::AArch64::getArchExtName(unsigned ArchExtKind) { in getArchExtName()
501 return StringRef(); in getArchExtName()
504 const char *llvm::AArch64::getArchExtFeature(StringRef ArchExt) { in getArchExtFeature()
506 StringRef ArchExtBase(ArchExt.substr(2)); in getArchExtFeature()
519 StringRef llvm::AArch64::getDefaultCPU(StringRef Arch) { in getDefaultCPU()
522 return StringRef(); in getDefaultCPU()
533 unsigned llvm::AArch64::checkArchVersion(StringRef Arch) { in checkArchVersion()
543 static StringRef getHWDivSynonym(StringRef HWDiv) { in getHWDivSynonym()
544 return StringSwitch<StringRef>(HWDiv) in getHWDivSynonym()
549 static StringRef getFPUSynonym(StringRef FPU) { in getFPUSynonym()
550 return StringSwitch<StringRef>(FPU) in getFPUSynonym()
566 static StringRef getArchSynonym(StringRef Arch) { in getArchSynonym()
567 return StringSwitch<StringRef>(Arch) in getArchSynonym()
590 StringRef llvm::ARM::getCanonicalArchName(StringRef Arch) { in getCanonicalArchName()
591 size_t offset = StringRef::npos; in getCanonicalArchName()
592 StringRef A = Arch; in getCanonicalArchName()
593 StringRef Error = ""; in getCanonicalArchName()
605 if (A.find("eb") != StringRef::npos) in getCanonicalArchName()
612 if (offset != StringRef::npos && A.substr(offset, 2) == "eb") in getCanonicalArchName()
618 if (offset != StringRef::npos) in getCanonicalArchName()
626 if (offset != StringRef::npos) { in getCanonicalArchName()
631 if (A.find("eb") != StringRef::npos) in getCanonicalArchName()
639 unsigned llvm::ARM::parseHWDiv(StringRef HWDiv) { in parseHWDiv()
640 StringRef Syn = getHWDivSynonym(HWDiv); in parseHWDiv()
648 unsigned llvm::ARM::parseFPU(StringRef FPU) { in parseFPU()
649 StringRef Syn = getFPUSynonym(FPU); in parseFPU()
658 unsigned llvm::ARM::parseArch(StringRef Arch) { in parseArch()
660 StringRef Syn = getArchSynonym(Arch); in parseArch()
668 unsigned llvm::ARM::parseArchExt(StringRef ArchExt) { in parseArchExt()
676 unsigned llvm::ARM::parseCPUArch(StringRef CPU) { in parseCPUArch()
685 unsigned llvm::ARM::parseArchISA(StringRef Arch) { in parseArchISA()
695 unsigned llvm::ARM::parseArchEndian(StringRef Arch) { in parseArchEndian()
714 unsigned llvm::ARM::parseArchProfile(StringRef Arch) { in parseArchProfile()
736 unsigned llvm::ARM::parseArchVersion(StringRef Arch) { in parseArchVersion()
778 StringRef llvm::AArch64::getCanonicalArchName(StringRef Arch) { in getCanonicalArchName()
782 unsigned llvm::AArch64::parseFPU(StringRef FPU) { in parseFPU()
787 unsigned llvm::AArch64::parseArch(StringRef Arch) { in parseArch()
792 StringRef Syn = getArchSynonym(Arch); in parseArch()
800 unsigned llvm::AArch64::parseArchExt(StringRef ArchExt) { in parseArchExt()
808 unsigned llvm::AArch64::parseCPUArch(StringRef CPU) { in parseCPUArch()
817 unsigned llvm::AArch64::parseArchISA(StringRef Arch) { in parseArchISA()
822 unsigned llvm::AArch64::parseArchEndian(StringRef Arch) { in parseArchEndian()
827 unsigned llvm::AArch64::parseArchProfile(StringRef Arch) { in parseArchProfile()
832 unsigned llvm::AArch64::parseArchVersion(StringRef Arch) { in parseArchVersion()