LLVM 19.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::RegPressureDelta Struct Reference

Store the effects of a change in pressure on things that MI scheduler cares about. More...

#include "llvm/CodeGen/RegisterPressure.h"

Public Member Functions

 RegPressureDelta ()=default
 
bool operator== (const RegPressureDelta &RHS) const
 
bool operator!= (const RegPressureDelta &RHS) const
 
void dump () const
 

Public Attributes

PressureChange Excess
 
PressureChange CriticalMax
 
PressureChange CurrentMax
 

Detailed Description

Store the effects of a change in pressure on things that MI scheduler cares about.

Excess records the value of the largest difference in register units beyond the target's pressure limits across the affected pressure sets, where largest is defined as the absolute value of the difference. Negative ExcessUnits indicates a reduction in pressure that had already exceeded the target's limits.

CriticalMax records the largest increase in the tracker's max pressure that exceeds the critical limit for some pressure set determined by the client.

CurrentMax records the largest increase in the tracker's max pressure that exceeds the current limit for some pressure set determined by the client.

Definition at line 240 of file RegisterPressure.h.

Constructor & Destructor Documentation

◆ RegPressureDelta()

llvm::RegPressureDelta::RegPressureDelta ( )
default

Member Function Documentation

◆ dump()

void RegPressureDelta::dump ( ) const

◆ operator!=()

bool llvm::RegPressureDelta::operator!= ( const RegPressureDelta RHS) const
inline

Definition at line 251 of file RegisterPressure.h.

References operator==(), and RHS.

◆ operator==()

bool llvm::RegPressureDelta::operator== ( const RegPressureDelta RHS) const
inline

Definition at line 247 of file RegisterPressure.h.

References CriticalMax, CurrentMax, Excess, and RHS.

Referenced by operator!=().

Member Data Documentation

◆ CriticalMax

PressureChange llvm::RegPressureDelta::CriticalMax

◆ CurrentMax

PressureChange llvm::RegPressureDelta::CurrentMax

◆ Excess

PressureChange llvm::RegPressureDelta::Excess

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