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

#include "Target/AMDGPU/GCNRegPressure.h"

Inheritance diagram for llvm::GCNDownwardRPTracker:
Inheritance graph
Collaboration diagram for llvm::GCNDownwardRPTracker:
Collaboration graph

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_)
- 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 147 of file GCNRegPressure.h.

Constructor & Destructor Documentation

◆ GCNDownwardRPTracker()

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

Definition at line 154 of file GCNRegPressure.h.

Member Function Documentation

◆ advance() [1/3]

bool GCNDownwardRPTracker::advance ( )

Definition at line 415 of file GCNRegPressure.cpp.

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

◆ advance() [2/3]

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

Definition at line 423 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 429 of file GCNRegPressure.cpp.


◆ advanceBeforeNext()

bool GCNDownwardRPTracker::advanceBeforeNext ( )

◆ advanceToNext()

void GCNDownwardRPTracker::advanceToNext ( )

◆ getNext()

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

◆ reset()

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

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