LLVM 20.0.0git
Public Member Functions | List of all members
llvm::GCNDownwardRPTracker Class Reference

#include "Target/AMDGPU/GCNRegPressure.h"

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

Public Member Functions

 GCNDownwardRPTracker (const LiveIntervals &LIS_)
 
MachineBasicBlock::const_iterator getNext () const
 
GCNRegPressure moveMaxPressure ()
 
bool reset (const MachineInstr &MI, const LiveRegSet *LiveRegs=nullptr)
 
bool advanceBeforeNext ()
 
void advanceToNext ()
 
bool advance ()
 
bool advance (MachineBasicBlock::const_iterator End)
 
bool advance (MachineBasicBlock::const_iterator Begin, MachineBasicBlock::const_iterator End, const LiveRegSet *LiveRegsCopy=nullptr)
 
- Public Member Functions inherited from llvm::GCNRPTracker
const decltype(LiveRegs) & getLiveRegs () const
 
const MachineInstrgetLastTrackedMI () const
 
void clearMaxPressure ()
 
GCNRegPressure getPressure () const
 
decltype(LiveRegsmoveLiveRegs ()
 

Additional Inherited Members

- Public Types inherited from llvm::GCNRPTracker
using LiveRegSet = DenseMap< unsigned, LaneBitmask >
 
- Protected Member Functions inherited from llvm::GCNRPTracker
 GCNRPTracker (const LiveIntervals &LIS_)
 
void reset (const MachineInstr &MI, const LiveRegSet *LiveRegsCopy, bool After)
 
- Protected Attributes inherited from llvm::GCNRPTracker
const LiveIntervalsLIS
 
LiveRegSet LiveRegs
 
GCNRegPressure CurPressure
 
GCNRegPressure MaxPressure
 
const MachineInstrLastTrackedMI = nullptr
 
const MachineRegisterInfoMRI = nullptr
 

Detailed Description

Definition at line 226 of file GCNRegPressure.h.

Constructor & Destructor Documentation

◆ GCNDownwardRPTracker()

llvm::GCNDownwardRPTracker::GCNDownwardRPTracker ( const LiveIntervals LIS_)
inline

Definition at line 233 of file GCNRegPressure.h.

Member Function Documentation

◆ advance() [1/3]

bool GCNDownwardRPTracker::advance ( )

Definition at line 505 of file GCNRegPressure.cpp.

References advanceBeforeNext(), and advanceToNext().

Referenced by advance().

◆ advance() [2/3]

bool GCNDownwardRPTracker::advance ( MachineBasicBlock::const_iterator  Begin,
MachineBasicBlock::const_iterator  End,
const LiveRegSet LiveRegsCopy = nullptr 
)

Definition at line 519 of file GCNRegPressure.cpp.

References advance(), End, and reset().

◆ advance() [3/3]

bool GCNDownwardRPTracker::advance ( MachineBasicBlock::const_iterator  End)

Definition at line 513 of file GCNRegPressure.cpp.

References advance(), and End.

◆ advanceBeforeNext()

bool GCNDownwardRPTracker::advanceBeforeNext ( )

◆ advanceToNext()

void GCNDownwardRPTracker::advanceToNext ( )

◆ getNext()

MachineBasicBlock::const_iterator llvm::GCNDownwardRPTracker::getNext ( ) const
inline

Definition at line 235 of file GCNRegPressure.h.

◆ moveMaxPressure()

GCNRegPressure llvm::GCNDownwardRPTracker::moveMaxPressure ( )
inline

◆ reset()

bool GCNDownwardRPTracker::reset ( const MachineInstr MI,
const LiveRegSet LiveRegs = nullptr 
)

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