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

/external/llvm/lib/Target/Sparc/
H A DSparcSubtarget.cpp35 std::string CPUName = CPU; local
36 if (CPUName.empty()) {
38 CPUName = "v9";
40 CPUName = "v8";
42 IsV9 = CPUName == "v9";
45 ParseSubtargetFeatures(CPUName, FS);
/external/llvm/lib/Target/MBlaze/
H A DMBlazeSubtarget.cpp34 std::string CPUName = CPU; local
35 if (CPUName.empty())
36 CPUName = "mblaze";
37 ParseSubtargetFeatures(CPUName, FS);
41 HasItin = CPUName != "mblaze";
42 DEBUG(dbgs() << "CPU " << CPUName << "(" << HasItin << ")\n");
45 InstrItins = getInstrItineraryForCPU(CPUName);
/external/llvm/lib/Target/MSP430/
H A DMSP430Subtarget.cpp30 std::string CPUName = "generic"; local
33 ParseSubtargetFeatures(CPUName, FS);
/external/llvm/lib/Target/PowerPC/
H A DPPCSubtarget.cpp48 std::string CPUName = CPU; local
49 if (CPUName.empty())
50 CPUName = "generic";
53 if (CPUName == "generic")
54 CPUName = sys::getHostCPUName();
58 ParseSubtargetFeatures(CPUName, FS);
61 InstrItins = getInstrItineraryForCPU(CPUName);
/external/llvm/lib/Target/Mips/
H A DMipsSubtarget.cpp36 std::string CPUName = CPU; local
37 if (CPUName.empty())
38 CPUName = "mips32";
41 ParseSubtargetFeatures(CPUName, FS);
44 InstrItins = getInstrItineraryForCPU(CPUName);
/external/llvm/lib/Target/X86/
H A DX86Subtarget.cpp357 std::string CPUName = CPU; local
359 if (CPUName.empty()) {
362 CPUName = sys::getHostCPUName();
364 CPUName = "generic";
379 ParseSubtargetFeatures(CPUName, FullFS);
381 if (CPUName.empty()) {
383 CPUName = sys::getHostCPUName();
385 CPUName = "generic";
407 InstrItins = getInstrItineraryForCPU(CPUName);
/external/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCTargetDesc.cpp337 std::string CPUName = CPU; local
338 if (CPUName.empty()) {
341 CPUName = sys::getHostCPUName();
343 CPUName = "generic";
348 InitX86MCSubtargetInfo(X, TT, CPUName, ArchFS);
/external/clang/lib/Driver/
H A DTools.cpp784 StringRef &CPUName,
791 CPUName = A->getValue(Args);
797 if (CPUName.empty() && ABIName.empty()) {
803 CPUName = DefMips32CPU;
807 CPUName = DefMips64CPU;
814 CPUName = llvm::StringSwitch<const char *>(ABIName)
819 else if (!CPUName.empty()) {
821 ABIName = llvm::StringSwitch<const char *>(CPUName)
880 StringRef CPUName; local
882 getMipsCPUAndABI(Args, getToolChain(), CPUName, ABINam
782 getMipsCPUAndABI(const ArgList &Args, const ToolChain &TC, StringRef &CPUName, StringRef &ABIName) argument
938 StringRef CPUName = A->getValue(Args); local
1058 const char *CPUName = 0; local
5124 StringRef CPUName; local
5538 StringRef CPUName; local
[all...]
/external/clang/lib/Basic/
H A DTargets.cpp57 static void defineCPUMacros(MacroBuilder &Builder, StringRef CPUName, argument
59 Builder.defineMacro("__" + CPUName);
60 Builder.defineMacro("__" + CPUName + "__");
62 Builder.defineMacro("__tune_" + CPUName + "__");

Completed in 3004 milliseconds