Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCSubtarget.cpp125 std::string CPUName = CPU; in initSubtargetFeatures() local
126 if (CPUName.empty() || CPU == "generic") { in initSubtargetFeatures()
129 CPUName = "ppc64le"; in initSubtargetFeatures()
131 CPUName = "e500"; in initSubtargetFeatures()
133 CPUName = "generic"; in initSubtargetFeatures()
137 InstrItins = getInstrItineraryForCPU(CPUName); in initSubtargetFeatures()
140 ParseSubtargetFeatures(CPUName, FS); in initSubtargetFeatures()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiSubtarget.cpp26 std::string CPUName = CPU; in initSubtargetFeatures() local
27 if (CPUName.empty()) in initSubtargetFeatures()
28 CPUName = "generic"; in initSubtargetFeatures()
30 ParseSubtargetFeatures(CPUName, FS); in initSubtargetFeatures()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/VE/
DVESubtarget.cpp31 std::string CPUName = CPU; in initializeSubtargetDependencies() local
32 if (CPUName.empty()) in initializeSubtargetDependencies()
33 CPUName = "ve"; in initializeSubtargetDependencies()
36 ParseSubtargetFeatures(CPUName, FS); in initializeSubtargetDependencies()
/external/llvm/lib/Target/Lanai/
DLanaiSubtarget.cpp27 std::string CPUName = CPU; in initSubtargetFeatures() local
28 if (CPUName.empty()) in initSubtargetFeatures()
29 CPUName = "generic"; in initSubtargetFeatures()
31 ParseSubtargetFeatures(CPUName, FS); in initSubtargetFeatures()
/external/llvm/lib/Target/SystemZ/
DSystemZSubtarget.cpp27 std::string CPUName = CPU; in initializeSubtargetDependencies() local
28 if (CPUName.empty()) in initializeSubtargetDependencies()
29 CPUName = "generic"; in initializeSubtargetDependencies()
31 ParseSubtargetFeatures(CPUName, FS); in initializeSubtargetDependencies()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430Subtarget.cpp46 std::string CPUName = CPU; in initializeSubtargetDependencies() local
47 if (CPUName.empty()) in initializeSubtargetDependencies()
48 CPUName = "msp430"; in initializeSubtargetDependencies()
50 ParseSubtargetFeatures(CPUName, FS); in initializeSubtargetDependencies()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcSubtarget.cpp53 std::string CPUName = CPU; in initializeSubtargetDependencies() local
54 if (CPUName.empty()) in initializeSubtargetDependencies()
55 CPUName = (Is64Bit) ? "v9" : "v8"; in initializeSubtargetDependencies()
58 ParseSubtargetFeatures(CPUName, FS); in initializeSubtargetDependencies()
/external/llvm/lib/Target/Sparc/
DSparcSubtarget.cpp55 std::string CPUName = CPU; in initializeSubtargetDependencies() local
56 if (CPUName.empty()) in initializeSubtargetDependencies()
57 CPUName = (Is64Bit) ? "v9" : "v8"; in initializeSubtargetDependencies()
60 ParseSubtargetFeatures(CPUName, FS); in initializeSubtargetDependencies()
/external/llvm/lib/Target/PowerPC/
DPPCSubtarget.cpp114 std::string CPUName = CPU; in initSubtargetFeatures() local
115 if (CPUName.empty() || CPU == "generic") { in initSubtargetFeatures()
118 CPUName = "ppc64le"; in initSubtargetFeatures()
120 CPUName = "generic"; in initSubtargetFeatures()
124 InstrItins = getInstrItineraryForCPU(CPUName); in initSubtargetFeatures()
127 ParseSubtargetFeatures(CPUName, FS); in initSubtargetFeatures()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZSubtarget.cpp31 std::string CPUName = CPU; in initializeSubtargetDependencies() local
32 if (CPUName.empty()) in initializeSubtargetDependencies()
33 CPUName = "generic"; in initializeSubtargetDependencies()
35 ParseSubtargetFeatures(CPUName, FS); in initializeSubtargetDependencies()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVSubtarget.cpp36 std::string CPUName = CPU; in initializeSubtargetDependencies() local
37 if (CPUName.empty()) in initializeSubtargetDependencies()
38 CPUName = Is64Bit ? "generic-rv64" : "generic-rv32"; in initializeSubtargetDependencies()
39 ParseSubtargetFeatures(CPUName, FS); in initializeSubtargetDependencies()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/MCTargetDesc/
DRISCVMCTargetDesc.cpp67 std::string CPUName = CPU; in createRISCVMCSubtargetInfo() local
68 if (CPUName.empty()) in createRISCVMCSubtargetInfo()
69 CPUName = TT.isArch64Bit() ? "generic-rv64" : "generic-rv32"; in createRISCVMCSubtargetInfo()
70 return createRISCVMCSubtargetInfoImpl(TT, CPUName, FS); in createRISCVMCSubtargetInfo()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/MCTargetDesc/
DLanaiMCTargetDesc.cpp55 std::string CPUName = CPU; in createLanaiMCSubtargetInfo() local
56 if (CPUName.empty()) in createLanaiMCSubtargetInfo()
57 CPUName = "generic"; in createLanaiMCSubtargetInfo()
59 return createLanaiMCSubtargetInfoImpl(TT, CPUName, FS); in createLanaiMCSubtargetInfo()
/external/llvm/lib/Target/Lanai/MCTargetDesc/
DLanaiMCTargetDesc.cpp50 std::string CPUName = CPU; in createLanaiMCSubtargetInfo() local
51 if (CPUName.empty()) in createLanaiMCSubtargetInfo()
52 CPUName = "generic"; in createLanaiMCSubtargetInfo()
54 return createLanaiMCSubtargetInfoImpl(TT, CPUName, FS); in createLanaiMCSubtargetInfo()
/external/llvm/lib/Target/X86/
DX86Subtarget.cpp172 std::string CPUName = CPU; in initSubtargetFeatures() local
173 if (CPUName.empty()) in initSubtargetFeatures()
174 CPUName = "generic"; in initSubtargetFeatures()
196 ParseSubtargetFeatures(CPUName, FullFS); in initSubtargetFeatures()
205 InstrItins = getInstrItineraryForCPU(CPUName); in initSubtargetFeatures()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86Subtarget.cpp230 std::string CPUName = CPU; in initSubtargetFeatures() local
231 if (CPUName.empty()) in initSubtargetFeatures()
232 CPUName = "generic"; in initSubtargetFeatures()
244 if (CPUName == "generic") { in initSubtargetFeatures()
261 ParseSubtargetFeatures(CPUName, FullFS); in initSubtargetFeatures()
/external/llvm/lib/Target/Mips/
DMipsSubtarget.cpp149 std::string CPUName = MIPS_MC::selectMipsCPU(TM.getTargetTriple(), CPU); in initializeSubtargetDependencies() local
152 ParseSubtargetFeatures(CPUName, FS); in initializeSubtargetDependencies()
154 InstrItins = getInstrItineraryForCPU(CPUName); in initializeSubtargetDependencies()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsSubtarget.cpp240 std::string CPUName = MIPS_MC::selectMipsCPU(TM.getTargetTriple(), CPU); in initializeSubtargetDependencies() local
243 ParseSubtargetFeatures(CPUName, FS); in initializeSubtargetDependencies()
245 InstrItins = getInstrItineraryForCPU(CPUName); in initializeSubtargetDependencies()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCTargetDesc.cpp389 StringRef CPUName = Features.first; in createHexagonMCSubtargetInfo() local
392 if (!isCPUValid(CPUName.str())) { in createHexagonMCSubtargetInfo()
393 errs() << "error: invalid CPU \"" << CPUName.str().c_str() in createHexagonMCSubtargetInfo()
398 MCSubtargetInfo *X = createHexagonMCSubtargetInfoImpl(TT, CPUName, ArchFS); in createHexagonMCSubtargetInfo()
/external/clang/lib/Driver/
DTools.cpp725 llvm::StringRef CPUName, llvm::StringRef ArchName, in checkARMCPUName() argument
728 std::pair<StringRef, StringRef> Split = CPUName.split("+"); in checkARMCPUName()
730 std::string CPU = arm::getARMTargetCPU(CPUName, ArchName, Triple); in checkARMCPUName()
916 StringRef CPUName; in getARMTargetFeatures() local
921 CPUName = StringRef(WaCPU->getValue()).substr(6); in getARMTargetFeatures()
922 checkARMCPUName(D, WaCPU, Args, CPUName, ArchName, Features, Triple); in getARMTargetFeatures()
924 CPUName = CPUArg->getValue(); in getARMTargetFeatures()
925 checkARMCPUName(D, CPUArg, Args, CPUName, ArchName, Features, Triple); in getARMTargetFeatures()
929 if (CPUName == "native") { in getARMTargetFeatures()
1198 StringRef &CPUName, StringRef &ABIName) { in getMipsCPUAndABI() argument
[all …]
DToolChains.cpp2355 StringRef CPUName; in findMIPSMultilibs() local
2357 tools::mips::getMipsCPUAndABI(Args, TargetTriple, CPUName, ABIName); in findMIPSMultilibs()
2365 addMultilibFlag(CPUName == "mips32", "march=mips32", Flags); in findMIPSMultilibs()
2366 addMultilibFlag(CPUName == "mips32r2" || CPUName == "mips32r3" || in findMIPSMultilibs()
2367 CPUName == "mips32r5" || CPUName == "p5600", in findMIPSMultilibs()
2369 addMultilibFlag(CPUName == "mips32r6", "march=mips32r6", Flags); in findMIPSMultilibs()
2370 addMultilibFlag(CPUName == "mips64", "march=mips64", Flags); in findMIPSMultilibs()
2371 addMultilibFlag(CPUName == "mips64r2" || CPUName == "mips64r3" || in findMIPSMultilibs()
2372 CPUName == "mips64r5" || CPUName == "octeon", in findMIPSMultilibs()
2374 addMultilibFlag(CPUName == "mips64r6", "march=mips64r6", Flags); in findMIPSMultilibs()
[all …]
DTools.h296 const llvm::Triple &Triple, StringRef &CPUName,
303 bool isFP64ADefault(const llvm::Triple &Triple, StringRef CPUName);
304 bool isFPXXDefault(const llvm::Triple &Triple, StringRef CPUName,
307 StringRef CPUName, StringRef ABIName,
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MCTargetDesc.cpp133 std::string CPUName = CPU; in createX86MCSubtargetInfo() local
134 if (CPUName.empty()) in createX86MCSubtargetInfo()
135 CPUName = "generic"; in createX86MCSubtargetInfo()
137 return createX86MCSubtargetInfoImpl(TT, CPUName, ArchFS); in createX86MCSubtargetInfo()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
DX86MCTargetDesc.cpp297 std::string CPUName = CPU; in createX86MCSubtargetInfo() local
298 if (CPUName.empty()) in createX86MCSubtargetInfo()
299 CPUName = "generic"; in createX86MCSubtargetInfo()
301 return createX86MCSubtargetInfoImpl(TT, CPUName, ArchFS); in createX86MCSubtargetInfo()
/external/clang/lib/Basic/
DTargets.cpp61 static void defineCPUMacros(MacroBuilder &Builder, StringRef CPUName, in defineCPUMacros() argument
63 Builder.defineMacro("__" + CPUName); in defineCPUMacros()
64 Builder.defineMacro("__" + CPUName + "__"); in defineCPUMacros()
66 Builder.defineMacro("__tune_" + CPUName + "__"); in defineCPUMacros()