Lines Matching refs:StringRef
42 StringRef SysRoot) const {
169 static StringRef getOSLibDir(const llvm::Triple &Triple, const ArgList &Args) {
172 StringRef CPUName;
173 StringRef ABIName;
243 StringRef::npos)
305 if (StringRef(D.Dir).startswith(SysRoot)) {
337 StringRef ABIName = tools::riscv::getRISCVABI(Args, Triple);
349 if (StringRef(D.Dir).startswith(SysRoot))
381 const StringRef ClangDir = getDriver().getInstalledDir();
394 const StringRef InstallDir = GCCInstallation.getInstallPath();
395 const StringRef TripleStr = GCCInstallation.getTriple().str();
509 StringRef ABIName = tools::riscv::getRISCVABI(Args, Triple);
515 StringRef ABIName = tools::riscv::getRISCVABI(Args, Triple);
576 StringRef CIncludeDirs(C_INCLUDE_DIRS);
578 SmallVector<StringRef, 5> dirs;
580 for (StringRef dir : dirs) {
581 StringRef Prefix =
582 llvm::sys::path::is_absolute(dir) ? "" : StringRef(SysRoot);
594 const StringRef X86_64MultiarchIncludeDirs[] = {
601 const StringRef X86MultiarchIncludeDirs[] = {
609 const StringRef AArch64MultiarchIncludeDirs[] = {
611 const StringRef ARMMultiarchIncludeDirs[] = {
613 const StringRef ARMHFMultiarchIncludeDirs[] = {
615 const StringRef ARMEBMultiarchIncludeDirs[] = {
617 const StringRef ARMEBHFMultiarchIncludeDirs[] = {
619 const StringRef MIPSMultiarchIncludeDirs[] = {"/usr/include/mips-linux-gnu"};
620 const StringRef MIPSELMultiarchIncludeDirs[] = {
622 const StringRef MIPS64MultiarchIncludeDirs[] = {
624 const StringRef MIPS64ELMultiarchIncludeDirs[] = {
626 const StringRef MIPSN32MultiarchIncludeDirs[] = {
628 const StringRef MIPSN32ELMultiarchIncludeDirs[] = {
630 const StringRef MIPSR6MultiarchIncludeDirs[] = {
632 const StringRef MIPSR6ELMultiarchIncludeDirs[] = {
634 const StringRef MIPS64R6MultiarchIncludeDirs[] = {
636 const StringRef MIPS64R6ELMultiarchIncludeDirs[] = {
638 const StringRef MIPSN32R6MultiarchIncludeDirs[] = {
640 const StringRef MIPSN32R6ELMultiarchIncludeDirs[] = {
642 const StringRef PPCMultiarchIncludeDirs[] = {
645 const StringRef PPC64MultiarchIncludeDirs[] = {
647 const StringRef PPC64LEMultiarchIncludeDirs[] = {
649 const StringRef SparcMultiarchIncludeDirs[] = {
651 const StringRef Sparc64MultiarchIncludeDirs[] = {
653 const StringRef SYSTEMZMultiarchIncludeDirs[] = {
655 ArrayRef<StringRef> MultiarchIncludeDirs;
740 const StringRef AndroidMultiarchIncludeDirs[] = {AndroidMultiarchIncludeDir};
744 for (StringRef Dir : MultiarchIncludeDirs) {
776 StringRef LibDir = GCCInstallation.getParentLibPath();
777 StringRef TripleStr = GCCInstallation.getTriple().str();