LLVM 22.0.0git
llvm::GenericSchedulerBase::CandPolicy Struct Reference

Policy for scheduling the next instruction in the candidate's zone. More...

#include "llvm/CodeGen/MachineScheduler.h"

Public Member Functions

 CandPolicy ()=default
bool operator== (const CandPolicy &RHS) const
bool operator!= (const CandPolicy &RHS) const

Public Attributes

bool ReduceLatency = false
unsigned ReduceResIdx = 0
unsigned DemandResIdx = 0

Detailed Description

Policy for scheduling the next instruction in the candidate's zone.

Definition at line 1119 of file MachineScheduler.h.

Constructor & Destructor Documentation

◆ CandPolicy()

llvm::GenericSchedulerBase::CandPolicy::CandPolicy ( )
default

Referenced by operator!=(), and operator==().

Member Function Documentation

◆ operator!=()

bool llvm::GenericSchedulerBase::CandPolicy::operator!= ( const CandPolicy & RHS) const
inline

Definition at line 1131 of file MachineScheduler.h.

References CandPolicy(), and RHS.

◆ operator==()

bool llvm::GenericSchedulerBase::CandPolicy::operator== ( const CandPolicy & RHS) const
inline

Definition at line 1126 of file MachineScheduler.h.

References CandPolicy(), DemandResIdx, ReduceLatency, ReduceResIdx, and RHS.

Member Data Documentation

◆ DemandResIdx

unsigned llvm::GenericSchedulerBase::CandPolicy::DemandResIdx = 0

◆ ReduceLatency

◆ ReduceResIdx

unsigned llvm::GenericSchedulerBase::CandPolicy::ReduceResIdx = 0

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