LLVM
8.0.1
|
Store the state used by GenericScheduler heuristics, required for the lifetime of one invocation of pickNode(). More...
#include "llvm/CodeGen/MachineScheduler.h"
Public Member Functions | |
SchedCandidate () | |
SchedCandidate (const CandPolicy &Policy) | |
void | reset (const CandPolicy &NewPolicy) |
bool | isValid () const |
void | setBest (SchedCandidate &Best) |
void | initResourceDelta (const ScheduleDAGMI *DAG, const TargetSchedModel *SchedModel) |
Public Attributes | |
CandPolicy | Policy |
SUnit * | SU |
CandReason | Reason |
bool | AtTop |
RegPressureDelta | RPDelta |
SchedResourceDelta | ResDelta |
Store the state used by GenericScheduler heuristics, required for the lifetime of one invocation of pickNode().
Definition at line 844 of file MachineScheduler.h.
|
inline |
Definition at line 862 of file MachineScheduler.h.
|
inline |
Definition at line 863 of file MachineScheduler.h.
void GenericSchedulerBase::SchedCandidate::initResourceDelta | ( | const ScheduleDAGMI * | DAG, |
const TargetSchedModel * | SchedModel | ||
) |
Definition at line 2421 of file MachineScheduler.cpp.
References llvm::ScheduleDAGInstrs::getSchedClass(), llvm::TargetSchedModel::getWriteProcResBegin(), llvm::TargetSchedModel::getWriteProcResEnd(), and llvm::PPCISD::SC.
Referenced by llvm::SchedBoundary::dumpScheduledState(), llvm::GCNMaxOccupancySchedStrategy::initialize(), llvm::GenericScheduler::pickNodeFromQueue(), llvm::PostGenericScheduler::pickNodeFromQueue(), and llvm::GenericScheduler::tryCandidate().
|
inline |
Definition at line 874 of file MachineScheduler.h.
Referenced by llvm::GCNMaxOccupancySchedStrategy::initialize(), llvm::GenericScheduler::tryCandidate(), and llvm::PostGenericScheduler::tryCandidate().
|
inline |
Definition at line 865 of file MachineScheduler.h.
References llvm::NoCand.
Referenced by llvm::GCNMaxOccupancySchedStrategy::initialize(), llvm::GCNMaxOccupancySchedStrategy::pickNode(), and llvm::GenericScheduler::pickNodeBidirectional().
|
inline |
Definition at line 877 of file MachineScheduler.h.
References assert(), AtTop, llvm::NoCand, Reason, ResDelta, RPDelta, and SU.
Referenced by llvm::GCNMaxOccupancySchedStrategy::initialize(), llvm::GenericScheduler::pickNodeFromQueue(), and llvm::PostGenericScheduler::pickNodeFromQueue().
bool llvm::GenericSchedulerBase::SchedCandidate::AtTop |
Definition at line 854 of file MachineScheduler.h.
Referenced by llvm::GenericScheduler::initCandidate(), llvm::GCNMaxOccupancySchedStrategy::initialize(), llvm::GenericScheduler::pickNodeFromQueue(), llvm::PostGenericScheduler::pickNodeFromQueue(), setBest(), tracePick(), llvm::GenericScheduler::tryCandidate(), and llvm::tryPressure().
CandPolicy llvm::GenericSchedulerBase::SchedCandidate::Policy |
CandReason llvm::GenericSchedulerBase::SchedCandidate::Reason |
Definition at line 851 of file MachineScheduler.h.
Referenced by llvm::GCNMaxOccupancySchedStrategy::initialize(), llvm::GCNMaxOccupancySchedStrategy::pickNode(), llvm::PostGenericScheduler::pickNode(), llvm::GenericScheduler::pickNodeBidirectional(), llvm::GenericScheduler::pickNodeFromQueue(), llvm::PostGenericScheduler::pickNodeFromQueue(), setBest(), llvm::GenericSchedulerBase::traceCandidate(), tracePick(), llvm::GenericScheduler::tryCandidate(), llvm::PostGenericScheduler::tryCandidate(), llvm::tryGreater(), and llvm::tryLess().
SchedResourceDelta llvm::GenericSchedulerBase::SchedCandidate::ResDelta |
Definition at line 860 of file MachineScheduler.h.
Referenced by llvm::GCNMaxOccupancySchedStrategy::initialize(), llvm::GenericScheduler::pickNodeFromQueue(), setBest(), llvm::GenericScheduler::tryCandidate(), and llvm::PostGenericScheduler::tryCandidate().
RegPressureDelta llvm::GenericSchedulerBase::SchedCandidate::RPDelta |
Definition at line 857 of file MachineScheduler.h.
Referenced by llvm::GenericScheduler::initCandidate(), llvm::GCNMaxOccupancySchedStrategy::initialize(), setBest(), llvm::GenericSchedulerBase::traceCandidate(), and llvm::GenericScheduler::tryCandidate().
SUnit* llvm::GenericSchedulerBase::SchedCandidate::SU |
Definition at line 848 of file MachineScheduler.h.
Referenced by llvm::GenericScheduler::initCandidate(), llvm::GCNMaxOccupancySchedStrategy::initialize(), llvm::GCNMaxOccupancySchedStrategy::pickNode(), llvm::PostGenericScheduler::pickNode(), llvm::GenericScheduler::pickNodeBidirectional(), llvm::PostGenericScheduler::pickNodeFromQueue(), setBest(), llvm::GenericSchedulerBase::traceCandidate(), llvm::GenericScheduler::tryCandidate(), llvm::PostGenericScheduler::tryCandidate(), and llvm::tryLatency().