LLVM API Documentation
#include <MachineScheduler.h>
Public Types | |
typedef std::vector< SUnit * > ::iterator | iterator |
Public Member Functions | |
ReadyQueue (unsigned id, const Twine &name) | |
unsigned | getID () const |
StringRef | getName () const |
bool | isInQueue (SUnit *SU) const |
bool | empty () const |
void | clear () |
unsigned | size () const |
iterator | begin () |
iterator | end () |
ArrayRef< SUnit * > | elements () |
iterator | find (SUnit *SU) |
void | push (SUnit *SU) |
iterator | remove (iterator I) |
void | dump () |
ReadyQueue encapsulates vector of "ready" SUnits with basic convenience methods for pushing and removing nodes. ReadyQueue's are uniquely identified by an ID. SUnit::NodeQueueId is a mask of the ReadyQueues the SUnit is in.
This is a convenience class that may be used by implementations of MachineSchedStrategy.
Definition at line 213 of file MachineScheduler.h.
typedef std::vector<SUnit*>::iterator llvm::ReadyQueue::iterator |
Definition at line 234 of file MachineScheduler.h.
Definition at line 219 of file MachineScheduler.h.
|
inline |
Definition at line 236 of file MachineScheduler.h.
Referenced by llvm::ConvergingVLIWScheduler::pickNodeFromQueue().
|
inline |
Definition at line 230 of file MachineScheduler.h.
void ReadyQueue::dump | ( | ) |
Definition at line 352 of file MachineScheduler.cpp.
References llvm::dbgs().
Referenced by llvm::ConvergingVLIWScheduler::pickNodeFromQueue().
Definition at line 240 of file MachineScheduler.h.
|
inline |
Definition at line 228 of file MachineScheduler.h.
|
inline |
Definition at line 238 of file MachineScheduler.h.
Referenced by llvm::ConvergingVLIWScheduler::pickNodeFromQueue().
Definition at line 242 of file MachineScheduler.h.
|
inline |
Definition at line 221 of file MachineScheduler.h.
Referenced by llvm::ConvergingVLIWScheduler::SchedulingCost().
|
inline |
Definition at line 223 of file MachineScheduler.h.
Referenced by llvm::ConvergingVLIWScheduler::traceCandidate().
Definition at line 226 of file MachineScheduler.h.
References llvm::SUnit::NodeQueueId.
|
inline |
Definition at line 246 of file MachineScheduler.h.
References llvm::SUnit::NodeQueueId.
Definition at line 251 of file MachineScheduler.h.
References I.
|
inline |
Definition at line 232 of file MachineScheduler.h.