LLVM 20.0.0git
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
llvm::GCNRPTracker Class Reference

#include "Target/AMDGPU/GCNRegPressure.h"

Inheritance diagram for llvm::GCNRPTracker:
Inheritance graph
[legend]

Public Types

using LiveRegSet = DenseMap< unsigned, LaneBitmask >
 

Public Member Functions

const decltype(LiveRegs) & getLiveRegs () const
 
const MachineInstrgetLastTrackedMI () const
 
void clearMaxPressure ()
 
GCNRegPressure getPressure () const
 
decltype(LiveRegsmoveLiveRegs ()
 

Protected Member Functions

 GCNRPTracker (const LiveIntervals &LIS_)
 
void reset (const MachineInstr &MI, const LiveRegSet *LiveRegsCopy, bool After)
 

Protected Attributes

const LiveIntervalsLIS
 
LiveRegSet LiveRegs
 
GCNRegPressure CurPressure
 
GCNRegPressure MaxPressure
 
const MachineInstrLastTrackedMI = nullptr
 
const MachineRegisterInfoMRI = nullptr
 

Detailed Description

Definition at line 152 of file GCNRegPressure.h.

Member Typedef Documentation

◆ LiveRegSet

Definition at line 154 of file GCNRegPressure.h.

Constructor & Destructor Documentation

◆ GCNRPTracker()

llvm::GCNRPTracker::GCNRPTracker ( const LiveIntervals LIS_)
inlineprotected

Definition at line 163 of file GCNRegPressure.h.

Member Function Documentation

◆ clearMaxPressure()

void llvm::GCNRPTracker::clearMaxPressure ( )
inline

Definition at line 173 of file GCNRegPressure.h.

References llvm::GCNRegPressure::clear(), and MaxPressure.

◆ getLastTrackedMI()

const MachineInstr * llvm::GCNRPTracker::getLastTrackedMI ( ) const
inline

Definition at line 171 of file GCNRegPressure.h.

References LastTrackedMI.

Referenced by llvm::GCNIterativeScheduler::getRegionPressure().

◆ getLiveRegs()

const decltype(LiveRegs) & llvm::GCNRPTracker::getLiveRegs ( ) const
inline

Definition at line 170 of file GCNRegPressure.h.

References LiveRegs.

Referenced by llvm::GCNRegPressurePrinter::runOnMachineFunction().

◆ getPressure()

GCNRegPressure llvm::GCNRPTracker::getPressure ( ) const
inline

Definition at line 175 of file GCNRegPressure.h.

References CurPressure.

Referenced by llvm::GCNRegPressurePrinter::runOnMachineFunction().

◆ moveLiveRegs()

decltype(LiveRegs) llvm::GCNRPTracker::moveLiveRegs ( )
inline

Definition at line 177 of file GCNRegPressure.h.

References LiveRegs.

◆ reset()

void GCNRPTracker::reset ( const MachineInstr MI,
const LiveRegSet LiveRegsCopy,
bool  After 
)
protected

Member Data Documentation

◆ CurPressure

GCNRegPressure llvm::GCNRPTracker::CurPressure
protected

◆ LastTrackedMI

const MachineInstr* llvm::GCNRPTracker::LastTrackedMI = nullptr
protected

◆ LIS

const LiveIntervals& llvm::GCNRPTracker::LIS
protected

◆ LiveRegs

LiveRegSet llvm::GCNRPTracker::LiveRegs
protected

◆ MaxPressure

GCNRegPressure llvm::GCNRPTracker::MaxPressure
protected

◆ MRI

const MachineRegisterInfo* llvm::GCNRPTracker::MRI = nullptr
mutableprotected

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