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

Status of an instruction's critical resource consumption. More...

#include "llvm/CodeGen/MachineScheduler.h"

Public Member Functions

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

Public Attributes

unsigned CritResources = 0
unsigned DemandedResources = 0

Detailed Description

Status of an instruction's critical resource consumption.

Definition at line 1137 of file MachineScheduler.h.

Constructor & Destructor Documentation

◆ SchedResourceDelta()

llvm::GenericSchedulerBase::SchedResourceDelta::SchedResourceDelta ( )
default

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

Member Function Documentation

◆ operator!=()

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

Definition at line 1150 of file MachineScheduler.h.

References operator==(), RHS, and SchedResourceDelta().

◆ operator==()

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

Definition at line 1146 of file MachineScheduler.h.

References CritResources, DemandedResources, RHS, and SchedResourceDelta().

Referenced by operator!=().

Member Data Documentation

◆ CritResources

◆ DemandedResources


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