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

12

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiSubtarget.cpp26 std::string CPUName = CPU; local
27 if (CPUName.empty())
28 CPUName = "generic";
30 ParseSubtargetFeatures(CPUName, FS);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430Subtarget.cpp46 std::string CPUName = CPU; local
47 if (CPUName.empty())
48 CPUName = "msp430";
50 ParseSubtargetFeatures(CPUName, FS);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/VE/
H A DVESubtarget.cpp31 std::string CPUName = CPU; local
32 if (CPUName.empty())
33 CPUName = "ve";
36 ParseSubtargetFeatures(CPUName, FS);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVSubtarget.cpp36 std::string CPUName = CPU; local
37 if (CPUName.empty())
38 CPUName = Is64Bit ? "generic-rv64" : "generic-rv32";
39 ParseSubtargetFeatures(CPUName, FS);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcSubtarget.cpp53 std::string CPUName = CPU; local
54 if (CPUName.empty())
55 CPUName = (Is64Bit) ? "v9" : "v8";
58 ParseSubtargetFeatures(CPUName, FS);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZSubtarget.cpp31 std::string CPUName = CPU; local
32 if (CPUName.empty())
33 CPUName = "generic";
35 ParseSubtargetFeatures(CPUName, FS);
/freebsd-12-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 DSystemZ.cpp21 llvm::StringRef CPUName = A->getValue(); local
23 if (CPUName == "native") {
31 return CPUName;
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 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);
345 StringRef CPUName; local
352 CPUName = StringRef(WaCPU->getValue()).substr(6);
355 CPUName = CPUArg->getValue();
363 checkARMArchName(D, WaArch, Args, ArchName, CPUName,
369 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-12-stable/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMCTargetDesc.cpp67 std::string CPUName = CPU; local
68 if (CPUName.empty())
69 CPUName = TT.isArch64Bit() ? "generic-rv64" : "generic-rv32";
70 return createRISCVMCSubtargetInfoImpl(TT, CPUName, FS);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCSubtarget.cpp124 std::string CPUName = CPU; local
125 if (CPUName.empty() || CPU == "generic") {
128 CPUName = "ppc64le";
130 CPUName = "e500";
132 CPUName = "generic";
136 InstrItins = getInstrItineraryForCPU(CPUName);
139 ParseSubtargetFeatures(CPUName, FS);
/freebsd-12-stable/contrib/llvm-project/clang/lib/Basic/
H A DTargets.h38 void defineCPUMacros(clang::MacroBuilder &Builder, llvm::StringRef CPUName,
H A DTargets.cpp70 void defineCPUMacros(MacroBuilder &Builder, StringRef CPUName, bool Tuning) { argument
71 Builder.defineMacro("__" + CPUName);
72 Builder.defineMacro("__" + CPUName + "__");
74 Builder.defineMacro("__tune_" + CPUName + "__");
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiMCTargetDesc.cpp55 std::string CPUName = CPU; local
56 if (CPUName.empty())
57 CPUName = "generic";
59 return createLanaiMCSubtargetInfoImpl(TT, CPUName, FS);
/freebsd-12-stable/contrib/llvm-project/clang/lib/Basic/Targets/
H A DBPF.h96 StringRef CPUName(Name);
97 return isValidCPUName(CPUName);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86Subtarget.cpp230 std::string CPUName = CPU; local
231 if (CPUName.empty())
232 CPUName = "generic";
244 if (CPUName == "generic") {
261 ParseSubtargetFeatures(CPUName, FullFS);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsSubtarget.cpp240 std::string CPUName = MIPS_MC::selectMipsCPU(TM.getTargetTriple(), CPU); local
243 ParseSubtargetFeatures(CPUName, FS);
245 InstrItins = getInstrItineraryForCPU(CPUName);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCTargetDesc.cpp389 StringRef CPUName = Features.first; local
392 if (!isCPUValid(CPUName.str())) {
393 errs() << "error: invalid CPU \"" << CPUName.str().c_str()
398 MCSubtargetInfo *X = createHexagonMCSubtargetInfoImpl(TT, CPUName, ArchFS);
/freebsd-12-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DOpenBSD.cpp63 StringRef CPUName; local
65 mips::getMipsCPUAndABI(Args, getToolChain().getTriple(), CPUName, ABIName);
H A DGnu.cpp785 StringRef CPUName; local
787 mips::getMipsCPUAndABI(Args, getToolChain().getTriple(), CPUName, ABIName);
791 CmdArgs.push_back(CPUName.data());
822 Args, getToolChain().getTriple(), CPUName, ABIName,
867 std::string CPUName = systemz::getSystemZTargetCPU(Args); local
868 CmdArgs.push_back(Args.MakeArgString("-march=" + CPUName));
1392 StringRef CPUName; local
1394 tools::mips::getMipsCPUAndABI(Args, TargetTriple, CPUName, ABIName);
1402 addMultilibFlag(CPUName == "mips32", "march=mips32", Flags);
1403 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 279 milliseconds

12