LLVM 17.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 MachineInstr &MI, const LiveRegSet *LiveRegs=nullptr)
void recede (const MachineInstr &MI)
bool isValid () const
- Public Member Functions inherited from llvm::GCNRPTracker
const decltype(LiveRegs) & getLiveRegs () const
const MachineInstrgetLastTrackedMI () const
void clearMaxPressure ()
decltype(MaxPressuremoveMaxPressure ()
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 143 of file GCNRegPressure.h.

Constructor & Destructor Documentation

◆ GCNUpwardRPTracker()

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

Definition at line 145 of file GCNRegPressure.h.

Member Function Documentation

◆ isValid()

bool GCNUpwardRPTracker::isValid ( ) const

◆ recede()

void GCNUpwardRPTracker::recede ( const MachineInstr MI)

◆ reset()

void GCNUpwardRPTracker::reset ( const MachineInstr MI,
const LiveRegSet LiveRegs = nullptr 

Definition at line 265 of file GCNRegPressure.cpp.

References MI, and llvm::GCNRPTracker::reset().

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

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