Post‐RA generic scheduler driven by ScheduleDAGMI callbacks.
Synopsis
Declared in <llvm/CodeGen/MachineScheduler.h>
class PostGenericScheduler
: public GenericSchedulerBase
Description
Callbacks from ScheduleDAGMI: initPolicy ‐> initialize(DAG) ‐> registerRoots ‐> pickNode ...
Base Classes
Name |
Description |
Base class for GenericScheduler candidate heuristics. |
Types
Name |
Description |
Policy for scheduling the next instruction in the candidate's zone. |
|
Store the state used by GenericScheduler heuristics, required for the lifetime of one invocation of pickNode(). |
|
Status of an instruction's critical resource consumption. |
Enums
Name |
Description |
Represent the type of SchedCandidate found within a single queue. pickNodeBidirectional depends on these listed by decreasing priority. |
Member Functions
Name |
Description |
|
Construct a post‐RA generic scheduler for context |
|
Destroy the post‐RA generic scheduler. |
|
Return true to process MBB scheduling regions top‐down. |
|
Dump the current scheduling policy to the debug stream. |
|
Tell the strategy that MBB is about to be processed. |
|
Return the current per‐region scheduling policy. |
|
Initialize per‐region policy for instructions in []`Begin,` |
|
|
|
Tell the strategy that current MBB is done. |
|
Pick the next node to schedule from either boundary. |
Pick from top and bottom queues and choose the better candidate. |
|
|
Register region roots before picking nodes. |
|
Release |
|
Release |
|
Update boundaries after scheduling |
|
Post‐RA scheduling does not support subtree analysis. |
|
Return true if lane masks should be tracked while scheduling. |
|
PostRA scheduling does not track pressure. |
Static Member Functions
Name |
Description |
Return a debug string for candidate selection reason |
Protected Member Functions
Name |
Description |
|
Return the current per‐region scheduling policy. |
Pick the best candidate from |
|
Update |
|
Trace debug information for candidate |
|
|
Compare |
Protected Data Members
Name |
Description |
State of the bottom scheduled instruction boundary. |
|
Candidate last picked from Bot boundary. |
|
Cluster ID of the last instruction scheduled from the bottom. |
|
Index of the bottom boundary within the current region. |
|
Pass context used to access target and analysis data. |
|
Post‐RA schedule DAG for the current region. |
|
Number of instructions in the current scheduling region. |
|
Per‐region scheduling policy for this strategy. |
|
Remainder of unscheduled latency and resources. |
|
Target scheduling model for the current subtarget. |
|
Target register info used by pressure heuristics. |
|
State of the top scheduled instruction boundary. |
|
Candidate last picked from Top boundary. |
|
Cluster ID of the last instruction scheduled from the top. |
|
Index of the top boundary within the current region. |
Created with MrDocs