class ReadyQueue
Declaration
class ReadyQueue { /* full declaration omitted */ };
Description
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.
Declared at: llvm/include/llvm/CodeGen/MachineScheduler.h:527
Method Overview
- public ReadyQueue(unsigned int id, const llvm::Twine & name)
- public llvm::ReadyQueue::iterator begin()
- public void clear()
- public void dump() const
- public ArrayRef<llvm::SUnit *> elements()
- public bool empty() const
- public llvm::ReadyQueue::iterator end()
- public llvm::ReadyQueue::iterator find(llvm::SUnit * SU)
- public unsigned int getID() const
- public llvm::StringRef getName() const
- public bool isInQueue(llvm::SUnit * SU) const
- public void push(llvm::SUnit * SU)
- public llvm::ReadyQueue::iterator remove(llvm::ReadyQueue::iterator I)
- public unsigned int size() const
Methods
¶ReadyQueue(unsigned int id,
const llvm::Twine& name)
ReadyQueue(unsigned int id,
const llvm::Twine& name)
Declared at: llvm/include/llvm/CodeGen/MachineScheduler.h:533
Parameters
- unsigned int id
- const llvm::Twine& name
¶llvm::ReadyQueue::iterator begin()
llvm::ReadyQueue::iterator begin()
Declared at: llvm/include/llvm/CodeGen/MachineScheduler.h:550
¶void clear()
void clear()
Declared at: llvm/include/llvm/CodeGen/MachineScheduler.h:544
¶void dump() const
void dump() const
Declared at: llvm/include/llvm/CodeGen/MachineScheduler.h:571
¶ArrayRef<llvm::SUnit*> elements()
ArrayRef<llvm::SUnit*> elements()
Declared at: llvm/include/llvm/CodeGen/MachineScheduler.h:554
¶bool empty() const
bool empty() const
Declared at: llvm/include/llvm/CodeGen/MachineScheduler.h:542
¶llvm::ReadyQueue::iterator end()
llvm::ReadyQueue::iterator end()
Declared at: llvm/include/llvm/CodeGen/MachineScheduler.h:552
¶llvm::ReadyQueue::iterator find(llvm::SUnit* SU)
llvm::ReadyQueue::iterator find(llvm::SUnit* SU)
Declared at: llvm/include/llvm/CodeGen/MachineScheduler.h:556
Parameters
- llvm::SUnit* SU
¶unsigned int getID() const
unsigned int getID() const
Declared at: llvm/include/llvm/CodeGen/MachineScheduler.h:535
¶llvm::StringRef getName() const
llvm::StringRef getName() const
Declared at: llvm/include/llvm/CodeGen/MachineScheduler.h:537
¶bool isInQueue(llvm::SUnit* SU) const
bool isInQueue(llvm::SUnit* SU) const
Declared at: llvm/include/llvm/CodeGen/MachineScheduler.h:540
Parameters
- llvm::SUnit* SU
¶void push(llvm::SUnit* SU)
void push(llvm::SUnit* SU)
Declared at: llvm/include/llvm/CodeGen/MachineScheduler.h:558
Parameters
- llvm::SUnit* SU
¶llvm::ReadyQueue::iterator remove(
llvm::ReadyQueue::iterator I)
llvm::ReadyQueue::iterator remove(
llvm::ReadyQueue::iterator I)
Declared at: llvm/include/llvm/CodeGen/MachineScheduler.h:563
Parameters
- llvm::ReadyQueue::iterator I
¶unsigned int size() const
unsigned int size() const
Declared at: llvm/include/llvm/CodeGen/MachineScheduler.h:546