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 | 49 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/ |
D | MipsSubtarget.cpp | 38 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/ |
D | X86Subtarget.cpp | 346 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/ |
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 | 230 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/ |
D | Tools.cpp | 704 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/ |
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()
|