Lines Matching refs:TuneCPU
151 static FeatureBitset getFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS, in getFeatures() argument
182 if (!TuneCPU.empty()) { in getFeatures()
183 const SubtargetSubTypeKV *CPUEntry = Find(TuneCPU, ProcDesc); in getFeatures()
189 } else if (TuneCPU != CPU) { in getFeatures()
190 errs() << "'" << TuneCPU << "' is not a recognized processor for this " in getFeatures()
209 void MCSubtargetInfo::InitMCProcessorInfo(StringRef CPU, StringRef TuneCPU, in InitMCProcessorInfo() argument
211 FeatureBits = getFeatures(CPU, TuneCPU, FS, ProcDesc, ProcFeatures); in InitMCProcessorInfo()
214 if (!TuneCPU.empty()) in InitMCProcessorInfo()
215 CPUSchedModel = &getSchedModelForCPU(TuneCPU); in InitMCProcessorInfo()
220 void MCSubtargetInfo::setDefaultFeatures(StringRef CPU, StringRef TuneCPU, in setDefaultFeatures() argument
222 FeatureBits = getFeatures(CPU, TuneCPU, FS, ProcDesc, ProcFeatures); in setDefaultFeatures()
234 : TargetTriple(TT), CPU(std::string(C)), TuneCPU(std::string(TC)), in MCSubtargetInfo()
238 InitMCProcessorInfo(CPU, TuneCPU, FS); in MCSubtargetInfo()