LLVM: llvm::GCNRPTracker Class Reference (original) (raw)

#include "[Target/AMDGPU/GCNRegPressure.h](GCNRegPressure%5F8h%5Fsource.html)"

Inheritance diagram for llvm::GCNRPTracker:

Public Member Functions
void reset (const MachineRegisterInfo &MRI_, const LiveRegSet &LiveRegs_)
const decltype(LiveRegs) & getLiveRegs () const
const MachineInstr * getLastTrackedMI () const
void clearMaxPressure ()
GCNRegPressure getPressure () const
decltype(LiveRegs) moveLiveRegs ()
Protected Member Functions
GCNRPTracker (const LiveIntervals &LIS_)
void reset (const MachineInstr &MI, const LiveRegSet *LiveRegsCopy, bool After)
void bumpDeadDefs (ArrayRef< VRegMaskOrUnit > DeadDefs)
Mostly copy/paste from CodeGen/RegisterPressure.cpp.
LaneBitmask getLastUsedLanes (Register Reg, SlotIndex Pos) const
Mostly copy/paste from CodeGen/RegisterPressure.cpp.
Protected Attributes
const LiveIntervals & LIS
LiveRegSet LiveRegs
GCNRegPressure CurPressure
GCNRegPressure MaxPressure
const MachineInstr * LastTrackedMI = nullptr
const MachineRegisterInfo * MRI = nullptr

Detailed Description

Definition at line 276 of file GCNRegPressure.h.

Member Typedef Documentation

LiveRegSet

Constructor & Destructor Documentation

Member Function Documentation

bumpDeadDefs()

clearMaxPressure()

void llvm::GCNRPTracker::clearMaxPressure ( ) inline

getLastTrackedMI()

getLastUsedLanes()

getLiveRegs()

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

getPressure()

moveLiveRegs()

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

reset() [1/2]

Definition at line 474 of file GCNRegPressure.cpp.

References CurPressure, llvm::getLiveRegsAfter(), llvm::getLiveRegsBefore(), llvm::MachineFunction::getRegInfo(), llvm::getRegPressure(), LIS, LiveRegs, MaxPressure, MI, and MRI.

Referenced by llvm::GCNDownwardRPTracker::reset(), and llvm::GCNUpwardRPTracker::reset().

reset() [2/2]

Member Data Documentation

CurPressure

LastTrackedMI

LIS

Definition at line 281 of file GCNRegPressure.h.

Referenced by llvm::GCNDownwardRPTracker::advanceBeforeNext(), llvm::GCNDownwardRPTracker::bumpDownwardPressure(), GCNRPTracker(), getLastUsedLanes(), llvm::GCNUpwardRPTracker::isValid(), llvm::GCNUpwardRPTracker::recede(), reset(), llvm::GCNUpwardRPTracker::reset(), llvm::GCNUpwardRPTracker::reset(), llvm::GCNUpwardRPTracker::reset(), and llvm::GCNUpwardRPTracker::reset().

LiveRegs

LiveRegSet llvm::GCNRPTracker::LiveRegs protected

MaxPressure

MRI

Definition at line 285 of file GCNRegPressure.h.

Referenced by llvm::GCNDownwardRPTracker::advanceBeforeNext(), llvm::GCNDownwardRPTracker::advanceToNext(), llvm::GCNDownwardRPTracker::bumpDownwardPressure(), getLastUsedLanes(), llvm::GCNUpwardRPTracker::isValid(), llvm::GCNUpwardRPTracker::recede(), llvm::GCNDownwardRPTracker::reset(), reset(), reset(), llvm::GCNUpwardRPTracker::reset(), llvm::GCNUpwardRPTracker::reset(), and llvm::GCNUpwardRPTracker::reset().


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