Lines Matching refs:CPU
22 /// InitMCProcessorInfo - Set or change the CPU (optionally supplemented
25 MCSubtargetInfo::InitMCProcessorInfo(StringRef CPU, StringRef FS) {
27 FeatureBits = Features.getFeatureBits(CPU, ProcDesc, NumProcs,
30 InitCPUSchedModel(CPU);
34 MCSubtargetInfo::InitCPUSchedModel(StringRef CPU) {
35 if (!CPU.empty())
36 CPUSchedModel = getSchedModelForCPU(CPU);
42 MCSubtargetInfo::InitMCSubtargetInfo(StringRef TT, StringRef CPU, StringRef FS,
67 InitMCProcessorInfo(CPU, FS);
88 MCSubtargetInfo::getSchedModelForCPU(StringRef CPU) const {
100 std::lower_bound(ProcSchedModels, ProcSchedModels+NumProcs, CPU);
101 if (Found == ProcSchedModels+NumProcs || StringRef(Found->Key) != CPU) {
102 errs() << "'" << CPU
112 MCSubtargetInfo::getInstrItineraryForCPU(StringRef CPU) const {
113 const MCSchedModel *SchedModel = getSchedModelForCPU(CPU);