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

#include "Target/AMDGPU/GCNRegPressure.h"

Inheritance diagram for llvm::GCNDownwardRPTracker:
[legend]
Collaboration diagram for llvm::GCNDownwardRPTracker:
[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) const & getLiveRegs () const
 
const MachineInstr * getLastTrackedMI () const
 
void clearMaxPressure ()
 
decltype(MaxPressure) moveMaxPressure ()
 
decltype(LiveRegs) moveLiveRegs ()
 

Additional Inherited Members

- Public Types inherited from llvm::GCNRPTracker
typedef DenseMap< unsigned,
LaneBitmask > 
LiveRegSet
 
- 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 LiveIntervals & LIS
 
LiveRegSet LiveRegs
 
GCNRegPressure CurPressure
 
GCNRegPressure MaxPressure
 
const MachineInstr * LastTrackedMI = nullptr
 
const MachineRegisterInfo * MRI = nullptr
 

Detailed Description

Definition at line 136 of file GCNRegPressure.h.

Constructor & Destructor Documentation

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

Definition at line 143 of file GCNRegPressure.h.

Member Function Documentation

bool GCNDownwardRPTracker::advance ( )

Definition at line 404 of file GCNRegPressure.cpp.

References advanceBeforeNext(), advanceToNext(), and llvm::GCNRPTracker::LastTrackedMI.

Referenced by advance().

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

Definition at line 412 of file GCNRegPressure.cpp.

References advance().

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

Definition at line 418 of file GCNRegPressure.cpp.

References advance(), and reset().

bool GCNDownwardRPTracker::advanceBeforeNext ( )
void GCNDownwardRPTracker::advanceToNext ( )
const MachineBasicBlock::const_iterator llvm::GCNDownwardRPTracker::getNext ( ) const
inline

Definition at line 145 of file GCNRegPressure.h.

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

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