/netbsd/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/Arch/ |
H A D | Mips.cpp | 61 CPUName = A->getValue(); in getMipsCPUAndABI() 74 if (CPUName.empty() && ABIName.empty()) { in getMipsCPUAndABI() 80 CPUName = DefMips32CPU; in getMipsCPUAndABI() 84 CPUName = DefMips64CPU; in getMipsCPUAndABI() 121 if (CPUName.empty()) { in getMipsCPUAndABI() 134 StringRef CPUName, ABIName; in getMipsABILibSuffix() local 194 StringRef CPUName; in getMIPSTargetFeatures() local 196 getMipsCPUAndABI(Args, Triple, CPUName, ABIName); in getMIPSTargetFeatures() 396 << "hazard" << CPUName; in getMIPSTargetFeatures() 462 return llvm::StringSwitch<bool>(CPUName) in isFP64ADefault() [all …]
|
H A D | Mips.h | 35 const llvm::Triple &Triple, StringRef &CPUName, 48 bool isFP64ADefault(const llvm::Triple &Triple, StringRef CPUName); 49 bool isFPXXDefault(const llvm::Triple &Triple, StringRef CPUName, 52 StringRef CPUName, StringRef ABIName,
|
H A D | M68k.cpp | 31 StringRef CPUName = A->getValue(); in getM68kTargetCPU() local 33 if (CPUName == "native") { in getM68kTargetCPU() 39 if (CPUName == "common") in getM68kTargetCPU() 42 return llvm::StringSwitch<std::string>(CPUName) in getM68kTargetCPU() 49 .Default(CPUName.str()); in getM68kTargetCPU()
|
H A D | ARM.cpp | 121 (Split.second.size() && !DecodeARMFeatures(D, Split.second, CPUName, in checkARMArchName() 131 std::pair<StringRef, StringRef> Split = CPUName.split("+"); in checkARMCPUName() 133 std::string CPU = arm::getARMTargetCPU(CPUName, ArchName, Triple); in checkARMCPUName() 479 StringRef CPUName; in getARMTargetFeatures() local 488 CPUName = WaCPU->second; in getARMTargetFeatures() 491 CPUName = CPUArg->getValue(); in getARMTargetFeatures() 500 checkARMArchName(D, WaArch->first, Args, ArchName, CPUName, in getARMTargetFeatures() 511 if (CPUName == "native") { in getARMTargetFeatures() 517 } else if (!CPUName.empty()) { in getARMTargetFeatures() 522 DecodeARMFeaturesFromCPU(D, CPUName, Features); in getARMTargetFeatures() [all …]
|
H A D | SystemZ.cpp | 39 llvm::StringRef CPUName = A->getValue(); in getSystemZTargetCPU() local 41 if (CPUName == "native") { in getSystemZTargetCPU() 49 return std::string(CPUName); in getSystemZTargetCPU()
|
H A D | PPC.cpp | 26 StringRef CPUName = A->getValue(); in getPPCTargetCPU() local 28 if (CPUName == "native") { in getPPCTargetCPU() 36 return llvm::StringSwitch<const char *>(CPUName) in getPPCTargetCPU()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/Lanai/ |
H A D | LanaiSubtarget.cpp | 26 std::string CPUName = std::string(CPU); in initSubtargetFeatures() local 27 if (CPUName.empty()) in initSubtargetFeatures() 28 CPUName = "generic"; in initSubtargetFeatures() 30 ParseSubtargetFeatures(CPUName, /*TuneCPU*/ CPUName, FS); in initSubtargetFeatures()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/MSP430/ |
H A D | MSP430Subtarget.cpp | 46 StringRef CPUName = CPU; in initializeSubtargetDependencies() local 47 if (CPUName.empty()) in initializeSubtargetDependencies() 48 CPUName = "msp430"; in initializeSubtargetDependencies() 50 ParseSubtargetFeatures(CPUName, /*TuneCPU*/ CPUName, FS); in initializeSubtargetDependencies()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
H A D | PPCSubtarget.cpp | 146 std::string CPUName = std::string(CPU); in initSubtargetFeatures() local 147 if (CPUName.empty() || CPU == "generic") { in initSubtargetFeatures() 150 CPUName = "ppc64le"; in initSubtargetFeatures() 152 CPUName = "e500"; in initSubtargetFeatures() 154 CPUName = "generic"; in initSubtargetFeatures() 158 InstrItins = getInstrItineraryForCPU(CPUName); in initSubtargetFeatures() 161 ParseSubtargetFeatures(CPUName, /*TuneCPU*/ CPUName, FS); in initSubtargetFeatures()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/Sparc/ |
H A D | SparcSubtarget.cpp | 53 std::string CPUName = std::string(CPU); in initializeSubtargetDependencies() local 54 if (CPUName.empty()) in initializeSubtargetDependencies() 55 CPUName = (Is64Bit) ? "v9" : "v8"; in initializeSubtargetDependencies() 58 ParseSubtargetFeatures(CPUName, /*TuneCPU*/ CPUName, FS); in initializeSubtargetDependencies()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/CSKY/MCTargetDesc/ |
H A D | CSKYMCTargetDesc.cpp | 69 std::string CPUName = std::string(CPU); in createCSKYMCSubtargetInfo() local 70 if (CPUName.empty()) in createCSKYMCSubtargetInfo() 71 CPUName = "generic"; in createCSKYMCSubtargetInfo() 72 return createCSKYMCSubtargetInfoImpl(TT, CPUName, /*TuneCPU=*/CPUName, FS); in createCSKYMCSubtargetInfo()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/ |
H A D | SystemZSubtarget.cpp | 32 StringRef CPUName = CPU; in initializeSubtargetDependencies() local 33 if (CPUName.empty()) in initializeSubtargetDependencies() 34 CPUName = "generic"; in initializeSubtargetDependencies() 36 ParseSubtargetFeatures(CPUName, /*TuneCPU*/ CPUName, FS); in initializeSubtargetDependencies()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/VE/ |
H A D | VESubtarget.cpp | 34 std::string CPUName = std::string(CPU); in initializeSubtargetDependencies() local 35 if (CPUName.empty()) in initializeSubtargetDependencies() 36 CPUName = "generic"; in initializeSubtargetDependencies() 39 ParseSubtargetFeatures(CPUName, /*TuneCPU=*/CPU, FS); in initializeSubtargetDependencies()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/Lanai/MCTargetDesc/ |
H A D | LanaiMCTargetDesc.cpp | 55 std::string CPUName = std::string(CPU); in createLanaiMCSubtargetInfo() local 56 if (CPUName.empty()) in createLanaiMCSubtargetInfo() 57 CPUName = "generic"; in createLanaiMCSubtargetInfo() 59 return createLanaiMCSubtargetInfoImpl(TT, CPUName, /*TuneCPU*/ CPUName, FS); in createLanaiMCSubtargetInfo()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/M68k/ |
H A D | M68kSubtarget.cpp | 66 std::string CPUName = selectM68kCPU(TT, CPU).str(); in initializeSubtargetDependencies() local 69 ParseSubtargetFeatures(CPUName, CPUName, FS); in initializeSubtargetDependencies() 72 InstrItins = getInstrItineraryForCPU(CPUName); in initializeSubtargetDependencies()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/ |
H A D | HexagonMCTargetDesc.cpp | 480 StringRef CPUName = Features.first; in createHexagonMCSubtargetInfo() local 484 TT, CPUName, /*TuneCPU*/ CPUName, ArchFS); in createHexagonMCSubtargetInfo() 485 if (X != nullptr && (CPUName == "hexagonv67t")) in createHexagonMCSubtargetInfo() 491 if (!isCPUValid(CPUName.str())) { in createHexagonMCSubtargetInfo() 492 errs() << "error: invalid CPU \"" << CPUName.str().c_str() in createHexagonMCSubtargetInfo() 508 (CPUName == "hexagonv67") || (CPUName == "hexagonv66"); in createHexagonMCSubtargetInfo()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/Mips/ |
H A D | MipsSubtarget.cpp | 240 StringRef CPUName = MIPS_MC::selectMipsCPU(TM.getTargetTriple(), CPU); in initializeSubtargetDependencies() local 243 ParseSubtargetFeatures(CPUName, /*TuneCPU*/ CPUName, FS); in initializeSubtargetDependencies() 245 InstrItins = getInstrItineraryForCPU(CPUName); in initializeSubtargetDependencies()
|
/netbsd/external/apache2/llvm/dist/clang/lib/Basic/Targets/ |
H A D | BPF.h | 112 StringRef CPUName(Name); in setCPU() 113 return isValidCPUName(CPUName); in setCPU()
|
/netbsd/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/ |
H A D | Gnu.cpp | 841 StringRef CPUName; in ConstructJob() local 847 CmdArgs.push_back(CPUName.data()); in ConstructJob() 923 std::string CPUName = systemz::getSystemZTargetCPU(Args); in ConstructJob() local 1453 StringRef CPUName; in findMIPSMultilibs() local 1463 addMultilibFlag(CPUName == "mips32", "march=mips32", Flags); in findMIPSMultilibs() 1464 addMultilibFlag(CPUName == "mips32r2" || CPUName == "mips32r3" || in findMIPSMultilibs() 1465 CPUName == "mips32r5" || CPUName == "p5600", in findMIPSMultilibs() 1468 addMultilibFlag(CPUName == "mips64", "march=mips64", Flags); in findMIPSMultilibs() 1469 addMultilibFlag(CPUName == "mips64r2" || CPUName == "mips64r3" || in findMIPSMultilibs() 1470 CPUName == "mips64r5" || CPUName == "octeon" || in findMIPSMultilibs() [all …]
|
H A D | Linux.cpp | 140 StringRef CPUName; in getOSLibDir() local 142 tools::mips::getMipsCPUAndABI(Args, Triple, CPUName, ABIName); in getOSLibDir() 143 if (CPUName == "mips32r6") in getOSLibDir() 145 if (CPUName == "mips32r2") in getOSLibDir()
|
H A D | FreeBSD.cpp | 52 StringRef CPUName; in ConstructJob() local 54 mips::getMipsCPUAndABI(Args, getToolChain().getTriple(), CPUName, ABIName); in ConstructJob() 57 CmdArgs.push_back(CPUName.data()); in ConstructJob()
|
H A D | NetBSD.cpp | 57 StringRef CPUName; in ConstructJob() local 59 mips::getMipsCPUAndABI(Args, getToolChain().getTriple(), CPUName, ABIName); in ConstructJob() 62 CmdArgs.push_back(CPUName.data()); in ConstructJob()
|
H A D | OpenBSD.cpp | 56 StringRef CPUName; in ConstructJob() local 58 mips::getMipsCPUAndABI(Args, getToolChain().getTriple(), CPUName, ABIName); in ConstructJob()
|
/netbsd/external/apache2/llvm/dist/clang/lib/Basic/ |
H A D | Targets.h | 38 void defineCPUMacros(clang::MacroBuilder &Builder, llvm::StringRef CPUName,
|
H A D | Targets.cpp | 72 void defineCPUMacros(MacroBuilder &Builder, StringRef CPUName, bool Tuning) { in defineCPUMacros() argument 73 Builder.defineMacro("__" + CPUName); in defineCPUMacros() 74 Builder.defineMacro("__" + CPUName + "__"); in defineCPUMacros() 76 Builder.defineMacro("__tune_" + CPUName + "__"); in defineCPUMacros()
|