LLVM 19.0.0git
Public Member Functions | List of all members
llvm::GCNUpwardRPTracker Class Reference

#include "Target/AMDGPU/GCNRegPressure.h"

Inheritance diagram for llvm::GCNUpwardRPTracker:
Inheritance graph

Public Member Functions

 GCNUpwardRPTracker (const LiveIntervals &LIS_)
void reset (const MachineRegisterInfo &MRI_, const LiveRegSet &LiveRegs_)
void reset (const MachineRegisterInfo &MRI, SlotIndex SI)
void reset (const MachineBasicBlock &MBB)
void reset (const MachineInstr &MI)
void recede (const MachineInstr &MI)
bool isValid () const
const GCNRegPressuregetMaxPressure () const
void resetMaxPressure ()
GCNRegPressure getMaxPressureAndReset ()
- 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 179 of file GCNRegPressure.h.

Constructor & Destructor Documentation

◆ GCNUpwardRPTracker()

llvm::GCNUpwardRPTracker::GCNUpwardRPTracker ( const LiveIntervals LIS_)

Definition at line 181 of file GCNRegPressure.h.

Member Function Documentation

◆ getMaxPressure()

const GCNRegPressure & llvm::GCNUpwardRPTracker::getMaxPressure ( ) const

◆ getMaxPressureAndReset()

GCNRegPressure llvm::GCNUpwardRPTracker::getMaxPressureAndReset ( )

◆ isValid()

bool GCNUpwardRPTracker::isValid ( ) const

◆ recede()

void GCNUpwardRPTracker::recede ( const MachineInstr MI)

◆ reset() [1/4]

void llvm::GCNUpwardRPTracker::reset ( const MachineBasicBlock MBB)

◆ reset() [2/4]

void llvm::GCNUpwardRPTracker::reset ( const MachineInstr MI)

◆ reset() [3/4]

void llvm::GCNUpwardRPTracker::reset ( const MachineRegisterInfo MRI,
SlotIndex  SI 

◆ reset() [4/4]

void GCNUpwardRPTracker::reset ( const MachineRegisterInfo MRI_,
const LiveRegSet LiveRegs_ 

◆ resetMaxPressure()

void llvm::GCNUpwardRPTracker::resetMaxPressure ( )

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