Lines Matching refs:SchedTables
93 SchedClassTables &SchedTables);
94 void EmitSchedClassTables(SchedClassTables &SchedTables, raw_ostream &OS);
819 SchedClassTables &SchedTables) { in GenSchedClassTables() argument
820 SchedTables.ProcSchedClasses.resize(SchedTables.ProcSchedClasses.size() + 1); in GenSchedClassTables()
824 std::vector<MCSchedClassDesc> &SCTab = SchedTables.ProcSchedClasses.back(); in GenSchedClassTables()
1025 std::search(SchedTables.WriteProcResources.begin(), in GenSchedClassTables()
1026 SchedTables.WriteProcResources.end(), in GenSchedClassTables()
1028 if (WPRPos != SchedTables.WriteProcResources.end()) in GenSchedClassTables()
1029 SCDesc.WriteProcResIdx = WPRPos - SchedTables.WriteProcResources.begin(); in GenSchedClassTables()
1031 SCDesc.WriteProcResIdx = SchedTables.WriteProcResources.size(); in GenSchedClassTables()
1032 SchedTables.WriteProcResources.insert(WPRPos, WriteProcResources.begin(), in GenSchedClassTables()
1038 std::search(SchedTables.WriteLatencies.begin(), in GenSchedClassTables()
1039 SchedTables.WriteLatencies.end(), in GenSchedClassTables()
1041 if (WLPos != SchedTables.WriteLatencies.end()) { in GenSchedClassTables()
1042 unsigned idx = WLPos - SchedTables.WriteLatencies.begin(); in GenSchedClassTables()
1045 if (SchedTables.WriterNames[idx + i].find(WriterNames[i]) == in GenSchedClassTables()
1047 SchedTables.WriterNames[idx + i] += std::string("_") + WriterNames[i]; in GenSchedClassTables()
1051 SCDesc.WriteLatencyIdx = SchedTables.WriteLatencies.size(); in GenSchedClassTables()
1052 SchedTables.WriteLatencies.insert(SchedTables.WriteLatencies.end(), in GenSchedClassTables()
1055 SchedTables.WriterNames.insert(SchedTables.WriterNames.end(), in GenSchedClassTables()
1061 std::search(SchedTables.ReadAdvanceEntries.begin(), in GenSchedClassTables()
1062 SchedTables.ReadAdvanceEntries.end(), in GenSchedClassTables()
1064 if (RAPos != SchedTables.ReadAdvanceEntries.end()) in GenSchedClassTables()
1065 SCDesc.ReadAdvanceIdx = RAPos - SchedTables.ReadAdvanceEntries.begin(); in GenSchedClassTables()
1067 SCDesc.ReadAdvanceIdx = SchedTables.ReadAdvanceEntries.size(); in GenSchedClassTables()
1068 SchedTables.ReadAdvanceEntries.insert(RAPos, ReadAdvanceEntries.begin(), in GenSchedClassTables()
1075 void SubtargetEmitter::EmitSchedClassTables(SchedClassTables &SchedTables, in EmitSchedClassTables() argument
1082 for (unsigned WPRIdx = 1, WPREnd = SchedTables.WriteProcResources.size(); in EmitSchedClassTables()
1084 MCWriteProcResEntry &WPREntry = SchedTables.WriteProcResources[WPRIdx]; in EmitSchedClassTables()
1098 for (unsigned WLIdx = 1, WLEnd = SchedTables.WriteLatencies.size(); in EmitSchedClassTables()
1100 MCWriteLatencyEntry &WLEntry = SchedTables.WriteLatencies[WLIdx]; in EmitSchedClassTables()
1105 OS << " // #" << WLIdx << " " << SchedTables.WriterNames[WLIdx] << '\n'; in EmitSchedClassTables()
1114 for (unsigned RAIdx = 1, RAEnd = SchedTables.ReadAdvanceEntries.size(); in EmitSchedClassTables()
1116 MCReadAdvanceEntry &RAEntry = SchedTables.ReadAdvanceEntries[RAIdx]; in EmitSchedClassTables()
1133 SchedTables.ProcSchedClasses[1 + (PI - SchedModels.procModelBegin())]; in EmitSchedClassTables()
1274 SchedClassTables SchedTables; in EmitSchedModel() local
1277 GenSchedClassTables(*PI, SchedTables); in EmitSchedModel()
1279 EmitSchedClassTables(SchedTables, OS); in EmitSchedModel()