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