Priority queue that schedules nodes using DFA resource state to shorten the critical path on VLIW-like targets.
Declared in <llvm/CodeGen/ResourcePriorityQueue.h>
class ResourcePriorityQueue
: public SchedulingPriorityQueue
| Name | Description |
|---|---|
SchedulingPriorityQueue | Priority queue interface for plugging heuristics into the list scheduler. |
| Name | Description |
|---|---|
ResourcePriorityQueue [constructor] | Construct a resource priority queue for the given instruction selector. |
~ResourcePriorityQueue [destructor] [virtual] | Destroy the resource priority queue and its DFA packetizer. |
SUSchedulingCost | Return a cost reflecting the benefit of scheduling SU in the current cycle. |
addNode [virtual] | Notify the queue that SU was added to the DAG. |
dump [virtual] | Dump queue contents for debugging. |
empty [virtual] | Returns true if the queue contains no nodes. |
getCurCycle | Return the current scheduling cycle. |
getLatency | Return the latency (height) of the node with index NodeNum. |
getNumSolelyBlockNodes | Return how many nodes are solely blocked by the node with index NodeNum. |
hasReadyFilter | Returns true if this queue filters nodes that are not ready. |
initNodes [virtual] | Initialize the queue from the DAG's SUnit vector. |
initNumRegDefsLeft | Determine the number of registers defined by this node. |
isBottomUp [virtual] | Returns false; this queue schedules top-down. |
isReady [virtual] | Returns true if SU is considered ready to schedule. |
isResourceAvailable | Return true if SU can be scheduled in the current packet. |
pop [virtual] | Remove and return the highest-priority ready node. |
push [virtual] | Push scheduling unit U onto the queue. |
push_all | Push every node in Nodes onto the queue. |
rawRegPressureDelta | Return the raw register-pressure delta of SU for register class RCId. |
regPressureDelta | Estimate the change in register pressure from scheduling SU. |
releaseState [virtual] | Release any queue state held between scheduling regions. |
remove [virtual] | Remove SU from the queue without returning it. |
reserveResources | Reserve DFA resources for SU in the current packet. |
scheduledNode [virtual] | Update resource and register-pressure state after SU is scheduled. |
setCurCycle | Set the current scheduling cycle used by readiness heuristics. |
tracksRegPressure [virtual] | Returns true if this queue tracks register pressure. |
unscheduledNode [virtual] | Notify the queue that SU was unscheduled. |
updateNode [virtual] | Notify the queue that SU's priority-relevant state changed. |