Lines Matching refs:SchedModels
64 CodeGenSchedModels &SchedModels; member in __anonec51d5e80111::SubtargetEmitter
106 Records(R), SchedModels(TGT.getSchedModels()), Target(TGT.getName()) {} in SubtargetEmitter()
368 for (CodeGenSchedModels::ProcIter PI = SchedModels.procModelBegin(), in EmitStageAndOperandCycleData()
369 PE = SchedModels.procModelEnd(); PI != PE; ++PI) { in EmitStageAndOperandCycleData()
422 for (CodeGenSchedModels::ProcIter PI = SchedModels.procModelBegin(), in EmitStageAndOperandCycleData()
423 PE = SchedModels.procModelEnd(); PI != PE; ++PI) { in EmitStageAndOperandCycleData()
437 ItinList.resize(SchedModels.numInstrSchedClasses()); in EmitStageAndOperandCycleData()
546 for (CodeGenSchedModels::ProcIter PI = SchedModels.procModelBegin(), in EmitItineraries()
547 PE = SchedModels.procModelEnd(); PI != PE; ++PI, ++ProcItinListsIter) { in EmitItineraries()
583 ", // " << j << " " << SchedModels.getSchedClass(j).Name << "\n"; in EmitItineraries()
631 SuperDef = SchedModels.findProcResUnits( in EmitProcessorResources()
666 SchedModels.getSchedRW((*AI)->getValueAsDef("AliasRW")); in FindWriteResources()
669 if (&SchedModels.getProcModel(ModelDef) != &ProcModel) in FindWriteResources()
720 SchedModels.getSchedRW((*AI)->getValueAsDef("AliasRW")); in FindReadAdvance()
723 if (&SchedModels.getProcModel(ModelDef) != &ProcModel) in FindReadAdvance()
775 PRDef = SchedModels.findProcResUnits(PRVec[i], PM); in ExpandProcResources()
784 SchedModels.findProcResUnits(SubDef->getValueAsDef("Super"), PM); in ExpandProcResources()
820 for (CodeGenSchedModels::SchedClassIter SCI = SchedModels.schedClassBegin(), in GenSchedClassTables()
821 SCE = SchedModels.schedClassEnd(); SCI != SCE; ++SCI) { in GenSchedClassTables()
822 DEBUG(SCI->dump(&SchedModels)); in GenSchedClassTables()
874 if (&ProcModel == &SchedModels.getProcModel(RWModelDef)) { in GenSchedClassTables()
882 SchedModels.findRWs(RWDef->getValueAsListOfDefs("OperandReadWrites"), in GenSchedClassTables()
893 SchedModels.findRWs((*II)->getValueAsListOfDefs("OperandReadWrites"), in GenSchedClassTables()
910 SchedModels.expandRWSeqForProc(*WI, WriteSeq, /*IsRead=*/false, in GenSchedClassTables()
917 WriterNames.push_back(SchedModels.getSchedWrite(WriteID).Name); in GenSchedClassTables()
920 if (!SchedModels.hasReadOfWrite( in GenSchedClassTables()
921 SchedModels.getSchedWrite(WriteID).TheDef)) { in GenSchedClassTables()
930 FindWriteResources(SchedModels.getSchedWrite(*WSI), ProcModel); in GenSchedClassTables()
978 FindReadAdvance(SchedModels.getSchedRead(Reads[UseIdx]), ProcModel); in GenSchedClassTables()
994 WriteIDs.push_back(SchedModels.getSchedRWIdx(*VWI, /*IsRead=*/false)); in GenSchedClassTables()
1122 for (CodeGenSchedModels::ProcIter PI = SchedModels.procModelBegin(), in EmitSchedClassTables()
1123 PE = SchedModels.procModelEnd(); PI != PE; ++PI) { in EmitSchedClassTables()
1128 SchedTables.ProcSchedClasses[1 + (PI - SchedModels.procModelBegin())]; in EmitSchedClassTables()
1137 assert(SchedModels.getSchedClass(0).Name == "NoInstrModel" in EmitSchedClassTables()
1145 const CodeGenSchedClass &SchedClass = SchedModels.getSchedClass(SCIdx); in EmitSchedClassTables()
1167 for (CodeGenSchedModels::ProcIter PI = SchedModels.procModelBegin(), in EmitProcessorModels()
1168 PE = SchedModels.procModelEnd(); PI != PE; ++PI) { in EmitProcessorModels()
1199 << " " << (SchedModels.schedClassEnd() in EmitProcessorModels()
1200 - SchedModels.schedClassBegin()) << ",\n"; in EmitProcessorModels()
1233 SchedModels.getModelForProc(Processor).ModelName; in EmitProcessorLookup()
1261 if (SchedModels.hasItineraries()) { in EmitSchedModel()
1271 for (CodeGenSchedModels::ProcIter PI = SchedModels.procModelBegin(), in EmitSchedModel()
1272 PE = SchedModels.procModelEnd(); PI != PE; ++PI) { in EmitSchedModel()
1298 for (CodeGenSchedModels::SchedClassIter SCI = SchedModels.schedClassBegin(), in EmitSchedModelHelpers()
1299 SCE = SchedModels.schedClassEnd(); SCI != SCE; ++SCI) { in EmitSchedModelHelpers()
1308 const CodeGenSchedClass &SC = SchedModels.getSchedClass(*VCI); in EmitSchedModelHelpers()
1325 OS << "{ // " << (SchedModels.procModelBegin() + *PI)->ModelName in EmitSchedModelHelpers()
1343 << SchedModels.getSchedClass(TI->ToClassIdx).Name << '\n'; in EmitSchedModelHelpers()
1456 if (SchedModels.hasItineraries()) { in run()
1514 if (SchedModels.hasItineraries()) { in run()
1537 if (SchedModels.hasItineraries()) { in run()