LLVM  8.0.1
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"

Collaboration diagram for llvm::GenericSchedulerBase::SchedCandidate:
Collaboration graph
[legend]

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 844 of file MachineScheduler.h.

Constructor & Destructor Documentation

◆ SchedCandidate() [1/2]

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

Definition at line 862 of file MachineScheduler.h.

◆ SchedCandidate() [2/2]

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

Definition at line 863 of file MachineScheduler.h.

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: