LLVM
8.0.1
|
#include "llvm/CodeGen/LatencyPriorityQueue.h"
Public Member Functions | |
LatencyPriorityQueue () | |
bool | isBottomUp () const override |
void | initNodes (std::vector< SUnit > &sunits) override |
void | addNode (const SUnit *SU) override |
void | updateNode (const SUnit *SU) override |
void | releaseState () override |
unsigned | getLatency (unsigned NodeNum) const |
unsigned | getNumSolelyBlockNodes (unsigned NodeNum) const |
bool | empty () const override |
void | push (SUnit *U) override |
SUnit * | pop () override |
void | remove (SUnit *SU) override |
LLVM_DUMP_METHOD void | dump (ScheduleDAG *DAG) const override |
void | scheduledNode (SUnit *SU) override |
As each node is scheduled, this method is invoked. More... | |
Public Member Functions inherited from llvm::SchedulingPriorityQueue | |
SchedulingPriorityQueue (bool rf=false) | |
virtual | ~SchedulingPriorityQueue ()=default |
bool | hasReadyFilter () const |
virtual bool | tracksRegPressure () const |
virtual bool | isReady (SUnit *) const |
void | push_all (const std::vector< SUnit *> &Nodes) |
virtual void | unscheduledNode (SUnit *) |
void | setCurCycle (unsigned Cycle) |
unsigned | getCurCycle () const |
Definition at line 33 of file LatencyPriorityQueue.h.
|
inline |
Definition at line 48 of file LatencyPriorityQueue.h.
Implements llvm::SchedulingPriorityQueue.
Definition at line 58 of file LatencyPriorityQueue.h.
|
overridevirtual |
Reimplemented from llvm::SchedulingPriorityQueue.
Definition at line 145 of file LatencyPriorityQueue.cpp.
References llvm::dbgs(), and llvm::ScheduleDAG::dumpNode().
|
inlineoverridevirtual |
Implements llvm::SchedulingPriorityQueue.
Definition at line 79 of file LatencyPriorityQueue.h.
References llvm::dump(), and LLVM_DUMP_METHOD.
Definition at line 69 of file LatencyPriorityQueue.h.
References assert().
Referenced by llvm::latency_sort::operator()().
Definition at line 74 of file LatencyPriorityQueue.h.
References assert().
Referenced by llvm::latency_sort::operator()().
|
inlineoverridevirtual |
Implements llvm::SchedulingPriorityQueue.
Definition at line 53 of file LatencyPriorityQueue.h.
|
inlineoverridevirtual |
Implements llvm::SchedulingPriorityQueue.
Definition at line 51 of file LatencyPriorityQueue.h.
|
overridevirtual |
Implements llvm::SchedulingPriorityQueue.
Definition at line 121 of file LatencyPriorityQueue.cpp.
References E, llvm::empty(), I, and std::swap().
|
overridevirtual |
Implements llvm::SchedulingPriorityQueue.
Definition at line 74 of file LatencyPriorityQueue.cpp.
References E, I, llvm::SUnit::NodeNum, and llvm::SUnit::Succs.
|
inlineoverridevirtual |
Implements llvm::SchedulingPriorityQueue.
Definition at line 65 of file LatencyPriorityQueue.h.
|
overridevirtual |
Implements llvm::SchedulingPriorityQueue.
Definition at line 135 of file LatencyPriorityQueue.cpp.
References assert(), llvm::find(), I, and std::swap().
|
overridevirtual |
As each node is scheduled, this method is invoked.
This allows the priority function to adjust the priority of related unscheduled nodes, for example.
Reimplemented from llvm::SchedulingPriorityQueue.
Definition at line 93 of file LatencyPriorityQueue.cpp.
References E, I, llvm::SUnit::isAvailable, and llvm::SUnit::Succs.
Implements llvm::SchedulingPriorityQueue.
Definition at line 62 of file LatencyPriorityQueue.h.