LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::GenericSchedulerBase::SchedCandidate Struct Reference

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
 
SUnitSU
 
CandReason Reason
 
bool AtTop
 
RegPressureDelta RPDelta
 
SchedResourceDelta ResDelta
 

Detailed Description

Store the state used by GenericScheduler heuristics, required for the lifetime of one invocation of pickNode().

Definition at line 1119 of file MachineScheduler.h.

Constructor & Destructor Documentation

◆ SchedCandidate() [1/2]

llvm::GenericSchedulerBase::SchedCandidate::SchedCandidate ( )
inline

Definition at line 1137 of file MachineScheduler.h.

References reset().

◆ SchedCandidate() [2/2]

llvm::GenericSchedulerBase::SchedCandidate::SchedCandidate ( const CandPolicy Policy)
inline

Definition at line 1138 of file MachineScheduler.h.

References Policy, and reset().

Member Function Documentation

◆ initResourceDelta()

void GenericSchedulerBase::SchedCandidate::initResourceDelta ( const ScheduleDAGMI DAG,
const TargetSchedModel SchedModel 
)

◆ isValid()

bool llvm::GenericSchedulerBase::SchedCandidate::isValid ( ) const
inline

◆ reset()

void llvm::GenericSchedulerBase::SchedCandidate::reset ( const CandPolicy NewPolicy)
inline

◆ setBest()

void llvm::GenericSchedulerBase::SchedCandidate::setBest ( SchedCandidate Best)
inline

Member Data Documentation

◆ AtTop

bool llvm::GenericSchedulerBase::SchedCandidate::AtTop

◆ Policy

CandPolicy llvm::GenericSchedulerBase::SchedCandidate::Policy

◆ Reason

CandReason llvm::GenericSchedulerBase::SchedCandidate::Reason

◆ ResDelta

SchedResourceDelta llvm::GenericSchedulerBase::SchedCandidate::ResDelta

◆ RPDelta

RegPressureDelta llvm::GenericSchedulerBase::SchedCandidate::RPDelta

◆ SU

SUnit* llvm::GenericSchedulerBase::SchedCandidate::SU

The documentation for this struct was generated from the following files: