Lines Matching refs:SchedModels
62 CodeGenSchedModels &SchedModels; member in __anonec51d5e80111::SubtargetEmitter
104 Records(R), SchedModels(TGT.getSchedModels()), Target(TGT.getName()) {} in SubtargetEmitter()
373 for (CodeGenSchedModels::ProcIter PI = SchedModels.procModelBegin(), in EmitStageAndOperandCycleData()
374 PE = SchedModels.procModelEnd(); PI != PE; ++PI) { in EmitStageAndOperandCycleData()
427 for (CodeGenSchedModels::ProcIter PI = SchedModels.procModelBegin(), in EmitStageAndOperandCycleData()
428 PE = SchedModels.procModelEnd(); PI != PE; ++PI) { in EmitStageAndOperandCycleData()
442 ItinList.resize(SchedModels.numInstrSchedClasses()); in EmitStageAndOperandCycleData()
551 for (CodeGenSchedModels::ProcIter PI = SchedModels.procModelBegin(), in EmitItineraries()
552 PE = SchedModels.procModelEnd(); PI != PE; ++PI, ++ProcItinListsIter) { in EmitItineraries()
588 ", // " << j << " " << SchedModels.getSchedClass(j).Name << "\n"; in EmitItineraries()
636 SuperDef = SchedModels.findProcResUnits( in EmitProcessorResources()
671 SchedModels.getSchedRW((*AI)->getValueAsDef("AliasRW")); in FindWriteResources()
674 if (&SchedModels.getProcModel(ModelDef) != &ProcModel) in FindWriteResources()
725 SchedModels.getSchedRW((*AI)->getValueAsDef("AliasRW")); in FindReadAdvance()
728 if (&SchedModels.getProcModel(ModelDef) != &ProcModel) in FindReadAdvance()
780 PRDef = SchedModels.findProcResUnits(PRVec[i], PM); in ExpandProcResources()
789 SchedModels.findProcResUnits(SubDef->getValueAsDef("Super"), PM); in ExpandProcResources()
825 for (CodeGenSchedModels::SchedClassIter SCI = SchedModels.schedClassBegin(), in GenSchedClassTables()
826 SCE = SchedModels.schedClassEnd(); SCI != SCE; ++SCI) { in GenSchedClassTables()
827 DEBUG(SCI->dump(&SchedModels)); in GenSchedClassTables()
879 if (&ProcModel == &SchedModels.getProcModel(RWModelDef)) { in GenSchedClassTables()
887 SchedModels.findRWs(RWDef->getValueAsListOfDefs("OperandReadWrites"), in GenSchedClassTables()
898 SchedModels.findRWs((*II)->getValueAsListOfDefs("OperandReadWrites"), in GenSchedClassTables()
915 SchedModels.expandRWSeqForProc(*WI, WriteSeq, /*IsRead=*/false, in GenSchedClassTables()
922 WriterNames.push_back(SchedModels.getSchedWrite(WriteID).Name); in GenSchedClassTables()
925 if (!SchedModels.hasReadOfWrite( in GenSchedClassTables()
926 SchedModels.getSchedWrite(WriteID).TheDef)) { in GenSchedClassTables()
935 FindWriteResources(SchedModels.getSchedWrite(*WSI), ProcModel); in GenSchedClassTables()
983 FindReadAdvance(SchedModels.getSchedRead(Reads[UseIdx]), ProcModel); in GenSchedClassTables()
999 WriteIDs.push_back(SchedModels.getSchedRWIdx(*VWI, /*IsRead=*/false)); in GenSchedClassTables()
1127 for (CodeGenSchedModels::ProcIter PI = SchedModels.procModelBegin(), in EmitSchedClassTables()
1128 PE = SchedModels.procModelEnd(); PI != PE; ++PI) { in EmitSchedClassTables()
1133 SchedTables.ProcSchedClasses[1 + (PI - SchedModels.procModelBegin())]; in EmitSchedClassTables()
1142 assert(SchedModels.getSchedClass(0).Name == "NoInstrModel" in EmitSchedClassTables()
1150 const CodeGenSchedClass &SchedClass = SchedModels.getSchedClass(SCIdx); in EmitSchedClassTables()
1172 for (CodeGenSchedModels::ProcIter PI = SchedModels.procModelBegin(), in EmitProcessorModels()
1173 PE = SchedModels.procModelEnd(); PI != PE; ++PI) { in EmitProcessorModels()
1204 << " " << (SchedModels.schedClassEnd() in EmitProcessorModels()
1205 - SchedModels.schedClassBegin()) << ",\n"; in EmitProcessorModels()
1237 SchedModels.getModelForProc(Processor).ModelName; in EmitProcessorLookup()
1265 if (SchedModels.hasItineraries()) { in EmitSchedModel()
1275 for (CodeGenSchedModels::ProcIter PI = SchedModels.procModelBegin(), in EmitSchedModel()
1276 PE = SchedModels.procModelEnd(); PI != PE; ++PI) { in EmitSchedModel()
1302 for (CodeGenSchedModels::SchedClassIter SCI = SchedModels.schedClassBegin(), in EmitSchedModelHelpers()
1303 SCE = SchedModels.schedClassEnd(); SCI != SCE; ++SCI) { in EmitSchedModelHelpers()
1312 const CodeGenSchedClass &SC = SchedModels.getSchedClass(*VCI); in EmitSchedModelHelpers()
1329 OS << "{ // " << (SchedModels.procModelBegin() + *PI)->ModelName in EmitSchedModelHelpers()
1347 << SchedModels.getSchedClass(TI->ToClassIdx).Name << '\n'; in EmitSchedModelHelpers()
1460 if (SchedModels.hasItineraries()) { in run()
1517 if (SchedModels.hasItineraries()) { in run()
1541 if (SchedModels.hasItineraries()) { in run()