Lines Matching refs:SchedTables

125                            SchedClassTables &SchedTables);
126 void EmitSchedClassTables(SchedClassTables &SchedTables, raw_ostream &OS);
1051 SchedClassTables &SchedTables) { in GenSchedClassTables() argument
1053 SchedTables.ProcSchedClasses.emplace_back(); in GenSchedClassTables()
1312 std::search(SchedTables.WriteProcResources.begin(), in GenSchedClassTables()
1313 SchedTables.WriteProcResources.end(), in GenSchedClassTables()
1315 if (WPRPos != SchedTables.WriteProcResources.end()) in GenSchedClassTables()
1316 SCDesc.WriteProcResIdx = WPRPos - SchedTables.WriteProcResources.begin(); in GenSchedClassTables()
1318 SCDesc.WriteProcResIdx = SchedTables.WriteProcResources.size(); in GenSchedClassTables()
1319 SchedTables.WriteProcResources.insert(WPRPos, WriteProcResources.begin(), in GenSchedClassTables()
1325 SchedTables.WriteLatencies.begin(), SchedTables.WriteLatencies.end(), in GenSchedClassTables()
1327 if (WLPos != SchedTables.WriteLatencies.end()) { in GenSchedClassTables()
1328 unsigned idx = WLPos - SchedTables.WriteLatencies.begin(); in GenSchedClassTables()
1331 if (SchedTables.WriterNames[idx + i].find(WriterNames[i]) == in GenSchedClassTables()
1333 SchedTables.WriterNames[idx + i] += std::string("_") + WriterNames[i]; in GenSchedClassTables()
1336 SCDesc.WriteLatencyIdx = SchedTables.WriteLatencies.size(); in GenSchedClassTables()
1337 llvm::append_range(SchedTables.WriteLatencies, WriteLatencies); in GenSchedClassTables()
1338 llvm::append_range(SchedTables.WriterNames, WriterNames); in GenSchedClassTables()
1343 std::search(SchedTables.ReadAdvanceEntries.begin(), in GenSchedClassTables()
1344 SchedTables.ReadAdvanceEntries.end(), in GenSchedClassTables()
1346 if (RAPos != SchedTables.ReadAdvanceEntries.end()) in GenSchedClassTables()
1347 SCDesc.ReadAdvanceIdx = RAPos - SchedTables.ReadAdvanceEntries.begin(); in GenSchedClassTables()
1349 SCDesc.ReadAdvanceIdx = SchedTables.ReadAdvanceEntries.size(); in GenSchedClassTables()
1350 llvm::append_range(SchedTables.ReadAdvanceEntries, ReadAdvanceEntries); in GenSchedClassTables()
1356 void SubtargetEmitter::EmitSchedClassTables(SchedClassTables &SchedTables, in EmitSchedClassTables() argument
1363 for (unsigned WPRIdx = 1, WPREnd = SchedTables.WriteProcResources.size(); in EmitSchedClassTables()
1365 MCWriteProcResEntry &WPREntry = SchedTables.WriteProcResources[WPRIdx]; in EmitSchedClassTables()
1380 for (unsigned WLIdx = 1, WLEnd = SchedTables.WriteLatencies.size(); in EmitSchedClassTables()
1382 MCWriteLatencyEntry &WLEntry = SchedTables.WriteLatencies[WLIdx]; in EmitSchedClassTables()
1387 OS << " // #" << WLIdx << " " << SchedTables.WriterNames[WLIdx] << '\n'; in EmitSchedClassTables()
1396 for (unsigned RAIdx = 1, RAEnd = SchedTables.ReadAdvanceEntries.size(); in EmitSchedClassTables()
1398 MCReadAdvanceEntry &RAEntry = SchedTables.ReadAdvanceEntries[RAIdx]; in EmitSchedClassTables()
1416 SchedTables.ProcSchedClasses[1 + (PI - SchedModels.procModelBegin())]; in EmitSchedClassTables()
1540 SchedClassTables SchedTables; in EmitSchedModel() local
1542 GenSchedClassTables(ProcModel, SchedTables); in EmitSchedModel()
1544 EmitSchedClassTables(SchedTables, OS); in EmitSchedModel()