LLVM 22.0.0git
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)
LLVM_ABI 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 1157 of file MachineScheduler.h.

Constructor & Destructor Documentation

◆ SchedCandidate() [1/2]

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

Definition at line 1175 of file MachineScheduler.h.

References reset().

Referenced by setBest().

◆ SchedCandidate() [2/2]

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

Definition at line 1176 of file MachineScheduler.h.

References Policy, and reset().

Member Function Documentation

◆ initResourceDelta()

◆ isValid()

◆ reset()

◆ setBest()

Member Data Documentation

◆ AtTop

◆ Policy

◆ Reason

◆ ResDelta

◆ RPDelta

◆ SU


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