Searched refs:CPUName (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiSubtarget.cpp26 std::string CPUName = std::string(CPU); local
27 if (CPUName.empty())
28 CPUName = "generic";
30 ParseSubtargetFeatures(CPUName, FS);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430Subtarget.cpp46 StringRef CPUName = CPU; local
47 if (CPUName.empty())
48 CPUName = "msp430";
50 ParseSubtargetFeatures(CPUName, FS);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/VE/
H A DVESubtarget.cpp31 std::string CPUName = std::string(CPU); local
32 if (CPUName.empty())
33 CPUName = "ve";
36 ParseSubtargetFeatures(CPUName, FS);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVSubtarget.cpp36 std::string CPUName = std::string(CPU); local
37 if (CPUName.empty())
38 CPUName = Is64Bit ? "generic-rv64" : "generic-rv32";
39 ParseSubtargetFeatures(CPUName, FS);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcSubtarget.cpp53 std::string CPUName = std::string(CPU); local
54 if (CPUName.empty())
55 CPUName = (Is64Bit) ? "v9" : "v8";
58 ParseSubtargetFeatures(CPUName, FS);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZSubtarget.cpp32 StringRef CPUName = CPU; local
33 if (CPUName.empty())
34 CPUName = "generic";
36 ParseSubtargetFeatures(CPUName, FS);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/
H A DMips.h35 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 DMips.cpp25 StringRef &CPUName, StringRef &ABIName) {
61 CPUName = A->getValue();
74 if (CPUName.empty() && ABIName.empty()) {
80 CPUName = DefMips32CPU;
84 CPUName = DefMips64CPU;
95 ABIName = llvm::StringSwitch<const char *>(CPUName)
121 if (CPUName.empty()) {
123 CPUName = llvm::StringSwitch<const char *>(ABIName)
134 StringRef CPUName, ABIName; local
135 tools::mips::getMipsCPUAndABI(Args, Triple, CPUName, ABINam
24 getMipsCPUAndABI(const ArgList &Args, const llvm::Triple &Triple, StringRef &CPUName, StringRef &ABIName) argument
194 StringRef CPUName; local
459 isFP64ADefault(const llvm::Triple &Triple, StringRef CPUName) argument
469 isFPXXDefault(const llvm::Triple &Triple, StringRef CPUName, StringRef ABIName, mips::FloatABI FloatABI) argument
491 shouldUseFPXX(const ArgList &Args, const llvm::Triple &Triple, StringRef CPUName, StringRef ABIName, mips::FloatABI FloatABI) argument
[all...]
H A DSystemZ.cpp39 llvm::StringRef CPUName = A->getValue(); local
41 if (CPUName == "native") {
49 return std::string(CPUName);
H A DPPC.cpp26 StringRef CPUName = A->getValue(); local
28 if (CPUName == "native") {
36 return llvm::StringSwitch<const char *>(CPUName)
H A DARM.cpp103 llvm::StringRef ArchName, llvm::StringRef CPUName,
112 D, Split.second, CPUName, ArchKind, Features)))
118 llvm::StringRef CPUName, llvm::StringRef ArchName,
121 std::pair<StringRef, StringRef> Split = CPUName.split("+");
123 std::string CPU = arm::getARMTargetCPU(CPUName, ArchName, Triple);
349 StringRef CPUName; local
356 CPUName = StringRef(WaCPU->getValue()).substr(6);
359 CPUName = CPUArg->getValue();
367 checkARMArchName(D, WaArch, Args, ArchName, CPUName,
373 checkARMArchName(D, ArchArg, Args, ArchName, CPUName,
102 checkARMArchName(const Driver &D, const Arg *A, const ArgList &Args, llvm::StringRef ArchName, llvm::StringRef CPUName, std::vector<StringRef> &Features, const llvm::Triple &Triple) argument
117 checkARMCPUName(const Driver &D, const Arg *A, const ArgList &Args, llvm::StringRef CPUName, llvm::StringRef ArchName, std::vector<StringRef> &Features, const llvm::Triple &Triple) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCSubtarget.cpp132 std::string CPUName = std::string(CPU); local
133 if (CPUName.empty() || CPU == "generic") {
136 CPUName = "ppc64le";
138 CPUName = "e500";
140 CPUName = "generic";
144 InstrItins = getInstrItineraryForCPU(CPUName);
147 ParseSubtargetFeatures(CPUName, FS);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Basic/
H A DTargets.h38 void defineCPUMacros(clang::MacroBuilder &Builder, llvm::StringRef CPUName,
H A DTargets.cpp71 void defineCPUMacros(MacroBuilder &Builder, StringRef CPUName, bool Tuning) { argument
72 Builder.defineMacro("__" + CPUName);
73 Builder.defineMacro("__" + CPUName + "__");
75 Builder.defineMacro("__tune_" + CPUName + "__");
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiMCTargetDesc.cpp55 std::string CPUName = std::string(CPU); local
56 if (CPUName.empty())
57 CPUName = "generic";
59 return createLanaiMCSubtargetInfoImpl(TT, CPUName, FS);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMCTargetDesc.cpp68 std::string CPUName = std::string(CPU); local
69 if (CPUName.empty())
70 CPUName = TT.isArch64Bit() ? "generic-rv64" : "generic-rv32";
71 return createRISCVMCSubtargetInfoImpl(TT, CPUName, FS);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Basic/Targets/
H A DBPF.h96 StringRef CPUName(Name);
97 return isValidCPUName(CPUName);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86Subtarget.cpp231 std::string CPUName = std::string(CPU); local
232 if (CPUName.empty())
233 CPUName = "generic";
245 if (CPUName == "generic") {
262 ParseSubtargetFeatures(CPUName, FullFS);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsSubtarget.cpp240 StringRef CPUName = MIPS_MC::selectMipsCPU(TM.getTargetTriple(), CPU); local
243 ParseSubtargetFeatures(CPUName, FS);
245 InstrItins = getInstrItineraryForCPU(CPUName);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCTargetDesc.cpp468 StringRef CPUName = Features.first; local
471 MCSubtargetInfo *X = createHexagonMCSubtargetInfoImpl(TT, CPUName, ArchFS);
472 if (X != nullptr && (CPUName == "hexagonv67t"))
478 if (!isCPUValid(CPUName.str())) {
479 errs() << "error: invalid CPU \"" << CPUName.str().c_str()
495 (CPUName == "hexagonv67") || (CPUName == "hexagonv66");
/freebsd-13-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DOpenBSD.cpp56 StringRef CPUName; local
58 mips::getMipsCPUAndABI(Args, getToolChain().getTriple(), CPUName, ABIName);
H A DGnu.cpp831 StringRef CPUName; local
833 mips::getMipsCPUAndABI(Args, getToolChain().getTriple(), CPUName, ABIName);
837 CmdArgs.push_back(CPUName.data());
868 Args, getToolChain().getTriple(), CPUName, ABIName,
913 std::string CPUName = systemz::getSystemZTargetCPU(Args); local
914 CmdArgs.push_back(Args.MakeArgString("-march=" + CPUName));
1442 StringRef CPUName; local
1444 tools::mips::getMipsCPUAndABI(Args, TargetTriple, CPUName, ABIName);
1452 addMultilibFlag(CPUName == "mips32", "march=mips32", Flags);
1453 addMultilibFlag(CPUName
[all...]
H A DFreeBSD.cpp51 StringRef CPUName; local
53 mips::getMipsCPUAndABI(Args, getToolChain().getTriple(), CPUName, ABIName);
56 CmdArgs.push_back(CPUName.data());
H A DNetBSD.cpp57 StringRef CPUName; local
59 mips::getMipsCPUAndABI(Args, getToolChain().getTriple(), CPUName, ABIName);
62 CmdArgs.push_back(CPUName.data());
H A DLinux.cpp172 StringRef CPUName; local
174 tools::mips::getMipsCPUAndABI(Args, Triple, CPUName, ABIName);
175 if (CPUName == "mips32r6")
177 if (CPUName == "mips32r2")

Completed in 126 milliseconds

12