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

#include "Target/AMDGPU/GCNRegPressure.h"

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

Public Member Functions

 GCNDownwardRPTracker (const LiveIntervals &LIS_)
 
const MachineBasicBlock::const_iterator getNext () const
 
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
decltype(LiveRegs) constgetLiveRegs () const
 
const MachineInstrgetLastTrackedMI () const
 
void clearMaxPressure ()
 
decltype(MaxPressuremoveMaxPressure ()
 
decltype(LiveRegsmoveLiveRegs ()
 

Additional Inherited Members

- Public Types inherited from llvm::GCNRPTracker
using LiveRegSet = DenseMap< unsigned, LaneBitmask >
 
- Static Public Member Functions inherited from llvm::GCNRPTracker
static void printLiveRegs (raw_ostream &OS, const LiveRegSet &LiveRegs, const MachineRegisterInfo &MRI)
 
- 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 150 of file GCNRegPressure.h.

Constructor & Destructor Documentation

◆ GCNDownwardRPTracker()

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

Definition at line 157 of file GCNRegPressure.h.

Member Function Documentation

◆ advance() [1/3]

bool GCNDownwardRPTracker::advance ( )

Definition at line 419 of file GCNRegPressure.cpp.

Referenced by llvm::GCNScheduleDAGMILive::schedule().

◆ advance() [2/3]

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

Definition at line 427 of file GCNRegPressure.cpp.

◆ advance() [3/3]

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

Definition at line 433 of file GCNRegPressure.cpp.

◆ advanceBeforeNext()

bool GCNDownwardRPTracker::advanceBeforeNext ( )

◆ advanceToNext()

void GCNDownwardRPTracker::advanceToNext ( )

◆ getNext()

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

Definition at line 159 of file GCNRegPressure.h.

References MI.

Referenced by llvm::GCNScheduleDAGMILive::schedule().

◆ reset()

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

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