mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[LatencyPriorityQueue] The LatencyPriorityQueue class is missing the implementation for the dump function
Added implementation of the dump function for LatencyPriorityQueue. llvm-svn: 330117
This commit is contained in:
parent
7c485019b2
commit
804f49d9b3
@ -83,6 +83,17 @@ namespace llvm {
|
||||
|
||||
void remove(SUnit *SU) override;
|
||||
|
||||
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
|
||||
LLVM_DUMP_METHOD void dump(ScheduleDAG *DAG) const {
|
||||
dbgs() << "Latency Priority Queue\n";
|
||||
dbgs() << " Number of Queue Entries: " << Queue.size() << "\n";
|
||||
for (auto const &SU : Queue) {
|
||||
dbgs() << " ";
|
||||
SU->dump(DAG);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
// scheduledNode - As nodes are scheduled, we look to see if there are any
|
||||
// successor nodes that have a single unscheduled predecessor. If so, that
|
||||
// single predecessor has a higher priority, since scheduling it will make
|
||||
|
Loading…
x
Reference in New Issue
Block a user