LLVM  12.0.0git
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_)
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 106 of file GCNRegPressure.h.

Member Typedef Documentation

◆ LiveRegSet

Definition at line 108 of file GCNRegPressure.h.

Constructor & Destructor Documentation

◆ GCNRPTracker()

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

Definition at line 117 of file GCNRegPressure.h.

References MI.

Member Function Documentation

◆ clearMaxPressure()

void llvm::GCNRPTracker::clearMaxPressure ( )

Definition at line 127 of file GCNRegPressure.h.

References llvm::GCNRegPressure::clear().

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

◆ getLastTrackedMI()

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

Definition at line 125 of file GCNRegPressure.h.

◆ getLiveRegs()

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

Definition at line 124 of file GCNRegPressure.h.

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

◆ moveLiveRegs()

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

Definition at line 136 of file GCNRegPressure.h.

References llvm::move().

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

◆ moveMaxPressure()

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

◆ printLiveRegs()

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

◆ reset()

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

Member Data Documentation

◆ CurPressure

GCNRegPressure llvm::GCNRPTracker::CurPressure

Definition at line 113 of file GCNRegPressure.h.

◆ LastTrackedMI

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

Definition at line 114 of file GCNRegPressure.h.


const LiveIntervals& llvm::GCNRPTracker::LIS

Definition at line 111 of file GCNRegPressure.h.

◆ LiveRegs

LiveRegSet llvm::GCNRPTracker::LiveRegs

Definition at line 112 of file GCNRegPressure.h.

◆ MaxPressure

GCNRegPressure llvm::GCNRPTracker::MaxPressure

Definition at line 113 of file GCNRegPressure.h.


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

Definition at line 115 of file GCNRegPressure.h.

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