Lines Matching refs:SchedModels
73 CodeGenSchedModels &SchedModels; member in __anon56a3345d0111::SubtargetEmitter
130 : TGT(TGT), Records(R), SchedModels(TGT.getSchedModels()), in SubtargetEmitter()
281 SchedModels.getModelForProc(Processor).ModelName; in CPUKeyValues()
387 for (const CodeGenProcModel &ProcModel : SchedModels.procModels()) { in EmitStageAndOperandCycleData()
440 for (const CodeGenProcModel &ProcModel : SchedModels.procModels()) { in EmitStageAndOperandCycleData()
452 ItinList.resize(SchedModels.numInstrSchedClasses()); in EmitStageAndOperandCycleData()
565 for (CodeGenSchedModels::ProcIter PI = SchedModels.procModelBegin(), in EmitItineraries()
566 PE = SchedModels.procModelEnd(); PI != PE; ++PI, ++ProcItinListsIter) { in EmitItineraries()
599 ", // " << j << " " << SchedModels.getSchedClass(j).Name << "\n"; in EmitItineraries()
635 SchedModels.findProcResUnits(RUDef, ProcModel, PRDef->getLoc()); in EmitProcessorResourceSubUnits()
806 SchedModels.findProcResUnits(PRDef->getValueAsDef("Super"), in EmitProcessorResources()
844 SchedModels.getSchedRW(A->getValueAsDef("AliasRW")); in FindWriteResources()
847 if (&SchedModels.getProcModel(ModelDef) != &ProcModel) in FindWriteResources()
896 SchedModels.getSchedRW(A->getValueAsDef("AliasRW")); in FindReadAdvance()
899 if (&SchedModels.getProcModel(ModelDef) != &ProcModel) in FindReadAdvance()
949 PRDef = SchedModels.findProcResUnits(PRDef, PM, PRDef->getLoc()); in ExpandProcResources()
958 SchedModels.findProcResUnits(SubDef->getValueAsDef("Super"), PM, in ExpandProcResources()
993 for (const CodeGenSchedClass &SC : SchedModels.schedClasses()) { in GenSchedClassTables()
994 LLVM_DEBUG(SC.dump(&SchedModels)); in GenSchedClassTables()
1036 if (&ProcModel == &SchedModels.getProcModel(RWModelDef)) { in GenSchedClassTables()
1044 SchedModels.findRWs(RWDef->getValueAsListOfDefs("OperandReadWrites"), in GenSchedClassTables()
1053 SchedModels.findRWs(I->getValueAsListOfDefs("OperandReadWrites"), in GenSchedClassTables()
1072 SchedModels.expandRWSeqForProc(W, WriteSeq, /*IsRead=*/false, in GenSchedClassTables()
1079 WriterNames.push_back(SchedModels.getSchedWrite(WriteID).Name); in GenSchedClassTables()
1082 if (!SchedModels.hasReadOfWrite( in GenSchedClassTables()
1083 SchedModels.getSchedWrite(WriteID).TheDef)) { in GenSchedClassTables()
1091 FindWriteResources(SchedModels.getSchedWrite(WS), ProcModel); in GenSchedClassTables()
1156 FindReadAdvance(SchedModels.getSchedRead(Reads[UseIdx]), ProcModel); in GenSchedClassTables()
1171 WriteIDs.push_back(SchedModels.getSchedRWIdx(VW, /*IsRead=*/false)); in GenSchedClassTables()
1298 for (CodeGenSchedModels::ProcIter PI = SchedModels.procModelBegin(), in EmitSchedClassTables()
1299 PE = SchedModels.procModelEnd(); PI != PE; ++PI) { in EmitSchedClassTables()
1304 SchedTables.ProcSchedClasses[1 + (PI - SchedModels.procModelBegin())]; in EmitSchedClassTables()
1313 assert(SchedModels.getSchedClass(0).Name == "NoInstrModel" in EmitSchedClassTables()
1321 const CodeGenSchedClass &SchedClass = SchedModels.getSchedClass(SCIdx); in EmitSchedClassTables()
1342 for (const CodeGenProcModel &PM : SchedModels.procModels()) { in EmitProcessorModels()
1380 << " " << (SchedModels.schedClassEnd() in EmitProcessorModels()
1381 - SchedModels.schedClassBegin()) << ",\n"; in EmitProcessorModels()
1410 if (SchedModels.hasItineraries()) { in EmitSchedModel()
1420 for (const CodeGenProcModel &ProcModel : SchedModels.procModels()) { in EmitSchedModel()
1525 static void collectVariantClasses(const CodeGenSchedModels &SchedModels, in collectVariantClasses() argument
1528 for (const CodeGenSchedClass &SC : SchedModels.schedClasses()) { in collectVariantClasses()
1567 collectVariantClasses(SchedModels, VariantClasses, in emitSchedModelHelpersImpl()
1585 const CodeGenSchedClass &SC = SchedModels.getSchedClass(VC); in emitSchedModelHelpersImpl()
1602 OS << "{ // " << (SchedModels.procModelBegin() + PI)->ModelName << '\n'; in emitSchedModelHelpersImpl()
1627 emitPredicates(T, SchedModels.getSchedClass(T.ToClassIdx), PE, OS); in emitSchedModelHelpersImpl()
1630 emitPredicates(*FinalT, SchedModels.getSchedClass(FinalT->ToClassIdx), in emitSchedModelHelpersImpl()
1676 for (const STIPredicateFunction &Fn : SchedModels.getSTIPredicates()) in EmitSchedModelHelpers()
1784 for (const STIPredicateFunction &Fn : SchedModels.getSTIPredicates()) in EmitMCInstrAnalysisPredicateFunctions()
1796 for (const STIPredicateFunction &Fn : SchedModels.getSTIPredicates()) in EmitMCInstrAnalysisPredicateFunctions()
1856 if (SchedModels.hasItineraries()) { in run()
1905 for (const STIPredicateFunction &Fn : SchedModels.getSTIPredicates()) in run()
1927 if (SchedModels.hasItineraries()) { in run()
1949 if (SchedModels.hasItineraries()) { in run()