LLVM  7.0.0svn
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
Collaboration diagram for llvm::GCNRPTracker:
Collaboration graph

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_)

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_)

Definition at line 107 of file GCNRegPressure.h.

Member Function Documentation

◆ clearMaxPressure()

void llvm::GCNRPTracker::clearMaxPressure ( )

Definition at line 114 of file GCNRegPressure.h.

References llvm::GCNRegPressure::clear().

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

◆ getLastTrackedMI()

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

Definition at line 112 of file GCNRegPressure.h.

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

◆ getLiveRegs()

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

Definition at line 111 of file GCNRegPressure.h.

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

◆ moveLiveRegs()

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

Definition at line 123 of file GCNRegPressure.h.

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

◆ moveMaxPressure()

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

◆ printLiveRegs()

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

Member Data Documentation

◆ CurPressure

GCNRegPressure llvm::GCNRPTracker::CurPressure

Definition at line 103 of file GCNRegPressure.h.

◆ LastTrackedMI

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

Definition at line 104 of file GCNRegPressure.h.


const LiveIntervals& llvm::GCNRPTracker::LIS

Definition at line 101 of file GCNRegPressure.h.

◆ LiveRegs

LiveRegSet llvm::GCNRPTracker::LiveRegs

Definition at line 102 of file GCNRegPressure.h.

◆ MaxPressure

GCNRegPressure llvm::GCNRPTracker::MaxPressure

Definition at line 103 of file GCNRegPressure.h.


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

Definition at line 105 of file GCNRegPressure.h.

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