Home
last modified time | relevance | path

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

/external/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/llvm/lib/Target/Sparc/
DSparcSubtarget.cpp35 std::string CPUName = CPU; in SparcSubtarget() local
36 if (CPUName.empty()) { in SparcSubtarget()
38 CPUName = "v9"; in SparcSubtarget()
40 CPUName = "v8"; in SparcSubtarget()
42 IsV9 = CPUName == "v9"; in SparcSubtarget()
45 ParseSubtargetFeatures(CPUName, FS); in SparcSubtarget()
/external/llvm/lib/Target/PowerPC/
DPPCSubtarget.cpp49 std::string CPUName = CPU; in PPCSubtarget() local
50 if (CPUName.empty()) in PPCSubtarget()
51 CPUName = "generic"; in PPCSubtarget()
54 if (CPUName == "generic") in PPCSubtarget()
55 CPUName = sys::getHostCPUName(); in PPCSubtarget()
59 InstrItins = getInstrItineraryForCPU(CPUName); in PPCSubtarget()
76 ParseSubtargetFeatures(CPUName, FullFS); in PPCSubtarget()
/external/llvm/lib/Target/Mips/
DMipsSubtarget.cpp38 std::string CPUName = CPU; in MipsSubtarget() local
39 if (CPUName.empty()) in MipsSubtarget()
40 CPUName = "mips32"; in MipsSubtarget()
43 ParseSubtargetFeatures(CPUName, FS); in MipsSubtarget()
46 InstrItins = getInstrItineraryForCPU(CPUName); in MipsSubtarget()
/external/llvm/lib/Target/X86/
DX86Subtarget.cpp346 std::string CPUName = CPU; in resetSubtargetFeatures() local
348 if (CPUName.empty()) { in resetSubtargetFeatures()
351 CPUName = sys::getHostCPUName(); in resetSubtargetFeatures()
353 CPUName = "generic"; in resetSubtargetFeatures()
368 ParseSubtargetFeatures(CPUName, FullFS); in resetSubtargetFeatures()
370 if (CPUName.empty()) { in resetSubtargetFeatures()
372 CPUName = sys::getHostCPUName(); in resetSubtargetFeatures()
374 CPUName = "generic"; in resetSubtargetFeatures()
395 InitMCProcessorInfo(CPUName, FS); in resetSubtargetFeatures()
400 InstrItins = getInstrItineraryForCPU(CPUName); in resetSubtargetFeatures()
/external/llvm/lib/Target/MSP430/
DMSP430Subtarget.cpp30 std::string CPUName = "generic"; in MSP430Subtarget() local
33 ParseSubtargetFeatures(CPUName, FS); in MSP430Subtarget()
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MCTargetDesc.cpp230 std::string CPUName = CPU; in createX86MCSubtargetInfo() local
231 if (CPUName.empty()) { in createX86MCSubtargetInfo()
234 CPUName = sys::getHostCPUName(); in createX86MCSubtargetInfo()
236 CPUName = "generic"; in createX86MCSubtargetInfo()
241 InitX86MCSubtargetInfo(X, TT, CPUName, ArchFS); in createX86MCSubtargetInfo()
/external/clang/lib/Driver/
DTools.cpp704 std::string CPUName = getARMTargetCPU(Args, Triple); in AddARMTargetArgs() local
715 if (StringRef(CPUName).startswith("cortex-m")) { in AddARMTargetArgs()
740 CmdArgs.push_back(Args.MakeArgString(CPUName)); in AddARMTargetArgs()
840 StringRef &CPUName, in getMipsCPUAndABI() argument
849 CPUName = getMipsCPUFromAlias(*A); in getMipsCPUAndABI()
851 CPUName = A->getValue(); in getMipsCPUAndABI()
858 if (CPUName.empty() && ABIName.empty()) { in getMipsCPUAndABI()
864 CPUName = DefMips32CPU; in getMipsCPUAndABI()
868 CPUName = DefMips64CPU; in getMipsCPUAndABI()
875 CPUName = llvm::StringSwitch<const char *>(ABIName) in getMipsCPUAndABI()
[all …]
/external/clang/lib/Basic/
DTargets.cpp57 static void defineCPUMacros(MacroBuilder &Builder, StringRef CPUName, in defineCPUMacros() argument
59 Builder.defineMacro("__" + CPUName); in defineCPUMacros()
60 Builder.defineMacro("__" + CPUName + "__"); in defineCPUMacros()
62 Builder.defineMacro("__tune_" + CPUName + "__"); in defineCPUMacros()