Lines Matching refs:TuneCPU
150 static FeatureBitset getFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS, in getFeatures() argument
181 if (!TuneCPU.empty()) { in getFeatures()
182 const SubtargetSubTypeKV *CPUEntry = Find(TuneCPU, ProcDesc); in getFeatures()
188 } else if (TuneCPU != CPU) { in getFeatures()
189 errs() << "'" << TuneCPU << "' is not a recognized processor for this " in getFeatures()
208 void MCSubtargetInfo::InitMCProcessorInfo(StringRef CPU, StringRef TuneCPU, in InitMCProcessorInfo() argument
210 FeatureBits = getFeatures(CPU, TuneCPU, FS, ProcDesc, ProcFeatures); in InitMCProcessorInfo()
211 if (!TuneCPU.empty()) in InitMCProcessorInfo()
212 CPUSchedModel = &getSchedModelForCPU(TuneCPU); in InitMCProcessorInfo()
217 void MCSubtargetInfo::setDefaultFeatures(StringRef CPU, StringRef TuneCPU, in setDefaultFeatures() argument
219 FeatureBits = getFeatures(CPU, TuneCPU, FS, ProcDesc, ProcFeatures); in setDefaultFeatures()
230 : TargetTriple(TT), CPU(std::string(C)), TuneCPU(std::string(TC)), in MCSubtargetInfo()
234 InitMCProcessorInfo(CPU, TuneCPU, FS); in MCSubtargetInfo()