Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/
DRISCVSubtarget.cpp33 std::string CPUName = CPU; in initializeSubtargetDependencies() local
34 if (CPUName.empty()) in initializeSubtargetDependencies()
35 CPUName = Is64Bit ? "generic-rv64" : "generic-rv32"; 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-7.0/llvm/lib/Target/MSP430/
DMSP430Subtarget.cpp47 std::string CPUName = CPU; in initializeSubtargetDependencies() local
48 if (CPUName.empty()) in initializeSubtargetDependencies()
49 CPUName = "msp430"; in initializeSubtargetDependencies()
51 ParseSubtargetFeatures(CPUName, FS); in initializeSubtargetDependencies()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/
DSparcSubtarget.cpp52 std::string CPUName = CPU; in initializeSubtargetDependencies() local
53 if (CPUName.empty()) in initializeSubtargetDependencies()
54 CPUName = (Is64Bit) ? "v9" : "v8"; in initializeSubtargetDependencies()
57 ParseSubtargetFeatures(CPUName, FS); in initializeSubtargetDependencies()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCSubtarget.cpp117 std::string CPUName = CPU; in initSubtargetFeatures() local
118 if (CPUName.empty() || CPU == "generic") { in initSubtargetFeatures()
121 CPUName = "ppc64le"; in initSubtargetFeatures()
123 CPUName = "generic"; in initSubtargetFeatures()
127 InstrItins = getInstrItineraryForCPU(CPUName); in initSubtargetFeatures()
130 ParseSubtargetFeatures(CPUName, FS); in initSubtargetFeatures()
/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/swiftshader/third_party/llvm-7.0/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/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-7.0/llvm/lib/Target/RISCV/MCTargetDesc/
DRISCVMCTargetDesc.cpp58 std::string CPUName = CPU; in createRISCVMCSubtargetInfo() local
59 if (CPUName.empty()) in createRISCVMCSubtargetInfo()
60 CPUName = TT.isArch64Bit() ? "generic-rv64" : "generic-rv32"; in createRISCVMCSubtargetInfo()
61 return createRISCVMCSubtargetInfoImpl(TT, CPUName, FS); in createRISCVMCSubtargetInfo()
/external/swiftshader/third_party/llvm-7.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-7.0/llvm/lib/Target/X86/
DX86Subtarget.cpp219 std::string CPUName = CPU; in initSubtargetFeatures() local
220 if (CPUName.empty()) in initSubtargetFeatures()
221 CPUName = "generic"; in initSubtargetFeatures()
242 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-7.0/llvm/lib/Target/Mips/
DMipsSubtarget.cpp229 std::string CPUName = MIPS_MC::selectMipsCPU(TM.getTargetTriple(), CPU); in initializeSubtargetDependencies() local
232 ParseSubtargetFeatures(CPUName, FS); in initializeSubtargetDependencies()
234 InstrItins = getInstrItineraryForCPU(CPUName); in initializeSubtargetDependencies()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DTargetParserTest.cpp33 bool testARMCPU(StringRef CPUName, StringRef ExpectedArch, in testARMCPU() argument
36 ARM::ArchKind AK = ARM::parseCPUArch(CPUName); in testARMCPU()
38 unsigned FPUKind = ARM::getDefaultFPU(CPUName, AK); in testARMCPU()
41 unsigned ExtKind = ARM::getDefaultExtensions(CPUName, AK); in testARMCPU()
412 bool testARMExtension(StringRef CPUName,ARM::ArchKind ArchKind, StringRef ArchExt) { in testARMExtension() argument
413 return ARM::getDefaultExtensions(CPUName, ArchKind) & in testARMExtension()
661 bool testAArch64CPU(StringRef CPUName, StringRef ExpectedArch, in testAArch64CPU() argument
664 AArch64::ArchKind AK = AArch64::parseCPUArch(CPUName); in testAArch64CPU()
666 unsigned FPUKind = AArch64::getDefaultFPU(CPUName, AK); in testAArch64CPU()
669 unsigned ExtKind = AArch64::getDefaultExtensions(CPUName, AK); in testAArch64CPU()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCTargetDesc.cpp384 StringRef CPUName = Features.first; in createHexagonMCSubtargetInfo() local
387 if (!isCPUValid(CPUName.str())) { in createHexagonMCSubtargetInfo()
388 errs() << "error: invalid CPU \"" << CPUName.str().c_str() in createHexagonMCSubtargetInfo()
393 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-7.0/llvm/lib/Target/X86/MCTargetDesc/
DX86MCTargetDesc.cpp213 std::string CPUName = CPU; in createX86MCSubtargetInfo() local
214 if (CPUName.empty()) in createX86MCSubtargetInfo()
215 CPUName = "generic"; in createX86MCSubtargetInfo()
217 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()