Searched refs:CPUName (Results 1 – 9 of 9) sorted by relevance
/external/llvm/lib/Target/MBlaze/ |
D | MBlazeSubtarget.cpp | 34 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/ |
D | SparcSubtarget.cpp | 35 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/ |
D | PPCSubtarget.cpp | 84 std::string CPUName = CPU; in PPCSubtarget() local 85 if (CPUName.empty()) in PPCSubtarget() 86 CPUName = "generic"; in PPCSubtarget() 88 if (CPUName == "generic") in PPCSubtarget() 89 CPUName = GetCurrentPowerPCCPU(); in PPCSubtarget() 93 ParseSubtargetFeatures(CPUName, FS); in PPCSubtarget() 96 InstrItins = getInstrItineraryForCPU(CPUName); in PPCSubtarget()
|
/external/llvm/lib/Target/Mips/ |
D | MipsSubtarget.cpp | 35 std::string CPUName = CPU; in MipsSubtarget() local 36 if (CPUName.empty()) in MipsSubtarget() 37 CPUName = "mips32"; in MipsSubtarget() 40 ParseSubtargetFeatures(CPUName, FS); in MipsSubtarget() 43 InstrItins = getInstrItineraryForCPU(CPUName); in MipsSubtarget()
|
/external/llvm/lib/Target/X86/ |
D | X86Subtarget.cpp | 351 std::string CPUName = CPU; in X86Subtarget() local 353 if (CPUName.empty()) { in X86Subtarget() 356 CPUName = sys::getHostCPUName(); in X86Subtarget() 358 CPUName = "generic"; in X86Subtarget() 373 ParseSubtargetFeatures(CPUName, FullFS); in X86Subtarget() 375 if (CPUName.empty()) { in X86Subtarget() 377 CPUName = sys::getHostCPUName(); in X86Subtarget() 379 CPUName = "generic"; in X86Subtarget() 400 InstrItins = getInstrItineraryForCPU(CPUName); in X86Subtarget()
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430Subtarget.cpp | 30 std::string CPUName = "generic"; in MSP430Subtarget() local 33 ParseSubtargetFeatures(CPUName, FS); in MSP430Subtarget()
|
/external/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MCTargetDesc.cpp | 337 std::string CPUName = CPU; in createX86MCSubtargetInfo() local 338 if (CPUName.empty()) { in createX86MCSubtargetInfo() 341 CPUName = sys::getHostCPUName(); in createX86MCSubtargetInfo() 343 CPUName = "generic"; in createX86MCSubtargetInfo() 348 InitX86MCSubtargetInfo(X, TT, CPUName, ArchFS); in createX86MCSubtargetInfo()
|
/external/clang/lib/Driver/ |
D | Tools.cpp | 761 static const char* getMipsArchFromCPU(StringRef CPUName) { in getMipsArchFromCPU() argument 762 if (CPUName == "mips32" || CPUName == "mips32r2") in getMipsArchFromCPU() 765 assert((CPUName == "mips64" || CPUName == "mips64r2") && in getMipsArchFromCPU() 804 StringRef &CPUName, in getMipsCPUAndABI() argument 810 CPUName = A->getValue(Args); in getMipsCPUAndABI() 811 ArchName = getMipsArchFromCPU(CPUName); in getMipsCPUAndABI() 818 CPUName = getMipsCPUFromArch(ArchName); in getMipsCPUAndABI() 831 StringRef CPUName; in AddMIPSTargetArgs() local 833 getMipsCPUAndABI(Args, getToolChain(), CPUName, ABIName); in AddMIPSTargetArgs() 836 CmdArgs.push_back(CPUName.data()); in AddMIPSTargetArgs() [all …]
|
/external/clang/lib/Basic/ |
D | Targets.cpp | 57 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()
|