Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/
DMBlazeSubtarget.cpp34 std::string CPUName = CPU; in MBlazeSubtarget() local
35 if (CPUName.empty()) in MBlazeSubtarget()
36 CPUName = "mblaze"; in MBlazeSubtarget()
37 ParseSubtargetFeatures(CPUName, FS); in MBlazeSubtarget()
41 HasItin = CPUName != "mblaze"; in MBlazeSubtarget()
42 DEBUG(dbgs() << "CPU " << CPUName << "(" << HasItin << ")\n"); in MBlazeSubtarget()
45 InstrItins = getInstrItineraryForCPU(CPUName); in MBlazeSubtarget()
/external/swiftshader/third_party/LLVM/lib/Target/Sparc/
DSparcSubtarget.cpp33 std::string CPUName = CPU; in SparcSubtarget() local
34 if (CPUName.empty()) { in SparcSubtarget()
36 CPUName = "v9"; in SparcSubtarget()
38 CPUName = "v8"; in SparcSubtarget()
40 IsV9 = CPUName == "v9"; in SparcSubtarget()
43 ParseSubtargetFeatures(CPUName, FS); in SparcSubtarget()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCSubtarget.cpp82 std::string CPUName = CPU; in PPCSubtarget() local
83 if (CPUName.empty()) in PPCSubtarget()
84 CPUName = "generic"; in PPCSubtarget()
86 if (CPUName == "generic") in PPCSubtarget()
87 CPUName = GetCurrentPowerPCCPU(); in PPCSubtarget()
91 ParseSubtargetFeatures(CPUName, FS); in PPCSubtarget()
94 InstrItins = getInstrItineraryForCPU(CPUName); in PPCSubtarget()
/external/swiftshader/third_party/LLVM/lib/Target/Alpha/
DAlphaSubtarget.cpp26 std::string CPUName = CPU; in AlphaSubtarget() local
27 if (CPUName.empty()) in AlphaSubtarget()
28 CPUName = "generic"; in AlphaSubtarget()
31 ParseSubtargetFeatures(CPUName, FS); in AlphaSubtarget()
34 InstrItins = getInstrItineraryForCPU(CPUName); in AlphaSubtarget()
/external/swiftshader/third_party/LLVM/lib/Target/Mips/
DMipsSubtarget.cpp32 std::string CPUName = CPU; in MipsSubtarget() local
33 if (CPUName.empty()) in MipsSubtarget()
34 CPUName = "mips32r1"; in MipsSubtarget()
37 ParseSubtargetFeatures(CPUName, FS); in MipsSubtarget()
40 InstrItins = getInstrItineraryForCPU(CPUName); in MipsSubtarget()
/external/swiftshader/third_party/LLVM/lib/Target/Blackfin/
DBlackfinSubtarget.cpp39 std::string CPUName = CPU; in BlackfinSubtarget() local
40 if (CPUName.empty()) in BlackfinSubtarget()
41 CPUName = "generic"; in BlackfinSubtarget()
43 ParseSubtargetFeatures(CPUName, FS); in BlackfinSubtarget()
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/
DSystemZSubtarget.cpp30 std::string CPUName = CPU; in SystemZSubtarget() local
31 if (CPUName.empty()) in SystemZSubtarget()
32 CPUName = "z9"; in SystemZSubtarget()
35 ParseSubtargetFeatures(CPUName, FS); in SystemZSubtarget()
/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/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/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/lib/Target/X86/
DX86Subtarget.cpp306 std::string CPUName = CPU; in X86Subtarget() local
307 if (CPUName.empty()) { in X86Subtarget()
309 CPUName = sys::getHostCPUName(); in X86Subtarget()
311 CPUName = "generic"; in X86Subtarget()
326 ParseSubtargetFeatures(CPUName, FullFS); in X86Subtarget()
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/
DMSP430Subtarget.cpp28 std::string CPUName = "generic"; in MSP430Subtarget() local
31 ParseSubtargetFeatures(CPUName, FS); in MSP430Subtarget()
/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/lib/Target/X86/MCTargetDesc/
DX86MCTargetDesc.cpp262 std::string CPUName = CPU; in createX86MCSubtargetInfo() local
263 if (CPUName.empty()) { in createX86MCSubtargetInfo()
265 CPUName = sys::getHostCPUName(); in createX86MCSubtargetInfo()
267 CPUName = "generic"; in createX86MCSubtargetInfo()
272 InitX86MCSubtargetInfo(X, TT, CPUName, ArchFS); in createX86MCSubtargetInfo()
/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()