LLVM API Documentation

Public Member Functions | Public Attributes
llvm::GenericSchedulerBase::SchedCandidate Struct Reference

#include <MachineScheduler.h>

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

List of all members.

Public Member Functions

 SchedCandidate (const CandPolicy &policy)
bool isValid () const
void setBest (SchedCandidate &Best)
bool isRepeat (CandReason R)
void setRepeat (CandReason R)
void initResourceDelta (const ScheduleDAGMI *DAG, const TargetSchedModel *SchedModel)

Public Attributes

CandPolicy Policy
SUnitSU
CandReason Reason
uint32_t RepeatReasonSet
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 786 of file MachineScheduler.h.


Constructor & Destructor Documentation

Definition at line 804 of file MachineScheduler.h.


Member Function Documentation

Definition at line 818 of file MachineScheduler.h.

References RepeatReasonSet.

Referenced by llvm::GenericScheduler::pickNodeBidirectional().

Definition at line 819 of file MachineScheduler.h.

References RepeatReasonSet.

Referenced by tryGreater(), and tryLess().


Member Data Documentation

Definition at line 796 of file MachineScheduler.h.

Referenced by isRepeat(), and setRepeat().


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