Lines Matching refs:CPU
37 static const CPUInfo *getCPUInfoByName(StringRef CPU) { in getCPUInfoByName() argument
39 if (C.Name == CPU) in getCPUInfoByName()
88 bool isValidCPU(StringRef CPU) { in isValidCPU() argument
89 const CPUInfo *Info = getCPUInfoByName(CPU); in isValidCPU()
98 StringRef CPU = sys::getHostCPUName(); in getNormalizedPPCTargetCPU() local
99 if (!CPU.empty() && CPU != "generic") in getNormalizedPPCTargetCPU()
100 return CPU; in getNormalizedPPCTargetCPU()
103 StringRef CPU = normalizeCPUName(CPUName); in getNormalizedPPCTargetCPU() local
104 if (CPU != "generic" && CPU != "native") in getNormalizedPPCTargetCPU()
105 return CPU; in getNormalizedPPCTargetCPU()
125 StringRef CPU) { in getPPCDefaultTargetFeatures() argument
127 getCPUDefaultTargetFeatures(CPU, BasicPPCSubTypeKV, BasicPPCFeatureKV); in getPPCDefaultTargetFeatures()
136 if (CPU == "8548") in getPPCDefaultTargetFeatures()