LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
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 1099 of file MachineScheduler.h.

Constructor & Destructor Documentation

◆ SchedResourceDelta()

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

Member Function Documentation

◆ operator!=()

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

Definition at line 1112 of file MachineScheduler.h.

References operator==(), and RHS.

◆ operator==()

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

Definition at line 1108 of file MachineScheduler.h.

References CritResources, DemandedResources, and RHS.

Referenced by operator!=().

Member Data Documentation

◆ CritResources

unsigned llvm::GenericSchedulerBase::SchedResourceDelta::CritResources = 0

◆ DemandedResources

unsigned llvm::GenericSchedulerBase::SchedResourceDelta::DemandedResources = 0

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