LLVM  8.0.1
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
llvm::GCNRPTracker Class Reference

#include "Target/AMDGPU/GCNRegPressure.h"

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

Public Types

using LiveRegSet = DenseMap< unsigned, LaneBitmask >
 

Public Member Functions

decltype(LiveRegs) constgetLiveRegs () const
 
const MachineInstrgetLastTrackedMI () const
 
void clearMaxPressure ()
 
decltype(MaxPressuremoveMaxPressure ()
 
decltype(LiveRegsmoveLiveRegs ()
 

Static Public Member Functions

static void printLiveRegs (raw_ostream &OS, const LiveRegSet &LiveRegs, const MachineRegisterInfo &MRI)
 

Protected Member Functions

 GCNRPTracker (const LiveIntervals &LIS_)
 
void reset (const MachineInstr &MI, const LiveRegSet *LiveRegsCopy, bool After)
 

Protected Attributes

const LiveIntervalsLIS
 
LiveRegSet LiveRegs
 
GCNRegPressure CurPressure
 
GCNRegPressure MaxPressure
 
const MachineInstrLastTrackedMI = nullptr
 
const MachineRegisterInfoMRI = nullptr
 

Detailed Description

Definition at line 96 of file GCNRegPressure.h.

Member Typedef Documentation

◆ LiveRegSet

Definition at line 98 of file GCNRegPressure.h.

Constructor & Destructor Documentation

◆ GCNRPTracker()

llvm::GCNRPTracker::GCNRPTracker ( const LiveIntervals LIS_)
inlineprotected

Definition at line 107 of file GCNRegPressure.h.

References MI.

Member Function Documentation

◆ clearMaxPressure()

void llvm::GCNRPTracker::clearMaxPressure ( )
inline

Definition at line 117 of file GCNRegPressure.h.

References llvm::GCNRegPressure::clear().

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

◆ getLastTrackedMI()

const MachineInstr* llvm::GCNRPTracker::getLastTrackedMI ( ) const
inline

Definition at line 115 of file GCNRegPressure.h.

◆ getLiveRegs()

decltype(LiveRegs) const& llvm::GCNRPTracker::getLiveRegs ( ) const
inline

Definition at line 114 of file GCNRegPressure.h.

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

◆ moveLiveRegs()

decltype(LiveRegs) llvm::GCNRPTracker::moveLiveRegs ( )
inline

Definition at line 126 of file GCNRegPressure.h.

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

◆ moveMaxPressure()

decltype(MaxPressure) llvm::GCNRPTracker::moveMaxPressure ( )
inline

◆ printLiveRegs()

void GCNRPTracker::printLiveRegs ( raw_ostream OS,
const LiveRegSet LiveRegs,
const MachineRegisterInfo MRI 
)
static

◆ reset()

void GCNRPTracker::reset ( const MachineInstr MI,
const LiveRegSet LiveRegsCopy,
bool  After 
)
protected

Member Data Documentation

◆ CurPressure

GCNRegPressure llvm::GCNRPTracker::CurPressure
protected

Definition at line 103 of file GCNRegPressure.h.

◆ LastTrackedMI

const MachineInstr* llvm::GCNRPTracker::LastTrackedMI = nullptr
protected

Definition at line 104 of file GCNRegPressure.h.

◆ LIS

const LiveIntervals& llvm::GCNRPTracker::LIS
protected

Definition at line 101 of file GCNRegPressure.h.

◆ LiveRegs

LiveRegSet llvm::GCNRPTracker::LiveRegs
protected

Definition at line 102 of file GCNRegPressure.h.

◆ MaxPressure

GCNRegPressure llvm::GCNRPTracker::MaxPressure
protected

Definition at line 103 of file GCNRegPressure.h.

◆ MRI

const MachineRegisterInfo* llvm::GCNRPTracker::MRI = nullptr
mutableprotected

Definition at line 105 of file GCNRegPressure.h.


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