LLVM 17.0.0git
|
#include "Target/AMDGPU/GCNRegPressure.h"
Public Types | |
using | LiveRegSet = DenseMap< unsigned, LaneBitmask > |
Public Member Functions | |
const decltype(LiveRegs) & | getLiveRegs () const |
const MachineInstr * | getLastTrackedMI () const |
void | clearMaxPressure () |
decltype(MaxPressure) | moveMaxPressure () |
decltype(LiveRegs) | moveLiveRegs () |
Protected Member Functions | |
GCNRPTracker (const LiveIntervals &LIS_) | |
void | reset (const MachineInstr &MI, const LiveRegSet *LiveRegsCopy, bool After) |
Protected Attributes | |
const LiveIntervals & | LIS |
LiveRegSet | LiveRegs |
GCNRegPressure | CurPressure |
GCNRegPressure | MaxPressure |
const MachineInstr * | LastTrackedMI = nullptr |
const MachineRegisterInfo * | MRI = nullptr |
Definition at line 108 of file GCNRegPressure.h.
Definition at line 110 of file GCNRegPressure.h.
|
inlineprotected |
Definition at line 119 of file GCNRegPressure.h.
|
inline |
Definition at line 129 of file GCNRegPressure.h.
References llvm::GCNRegPressure::clear(), and MaxPressure.
|
inline |
Definition at line 127 of file GCNRegPressure.h.
References LastTrackedMI.
Referenced by llvm::GCNIterativeScheduler::getRegionPressure().
Definition at line 126 of file GCNRegPressure.h.
References LiveRegs.
|
inline |
Definition at line 138 of file GCNRegPressure.h.
References LiveRegs.
|
inline |
Definition at line 132 of file GCNRegPressure.h.
References llvm::GCNRegPressure::clear(), and MaxPressure.
Referenced by llvm::GCNIterativeScheduler::getRegionPressure().
|
protected |
Definition at line 249 of file GCNRegPressure.cpp.
References CurPressure, llvm::getLiveRegsAfter(), llvm::getLiveRegsBefore(), llvm::MachineFunction::getRegInfo(), llvm::getRegPressure(), LIS, LiveRegs, MaxPressure, MI, and MRI.
Referenced by llvm::GCNUpwardRPTracker::reset(), and llvm::GCNDownwardRPTracker::reset().
|
protected |
Definition at line 115 of file GCNRegPressure.h.
Referenced by llvm::GCNDownwardRPTracker::advanceBeforeNext(), llvm::GCNDownwardRPTracker::advanceToNext(), llvm::GCNUpwardRPTracker::isValid(), llvm::GCNUpwardRPTracker::recede(), and reset().
|
protected |
Definition at line 116 of file GCNRegPressure.h.
Referenced by llvm::GCNDownwardRPTracker::advanceBeforeNext(), llvm::GCNDownwardRPTracker::advanceToNext(), getLastTrackedMI(), llvm::GCNUpwardRPTracker::recede(), and llvm::GCNDownwardRPTracker::reset().
|
protected |
Definition at line 113 of file GCNRegPressure.h.
Referenced by llvm::GCNDownwardRPTracker::advanceBeforeNext(), llvm::GCNUpwardRPTracker::isValid(), llvm::GCNUpwardRPTracker::recede(), and reset().
|
protected |
Definition at line 114 of file GCNRegPressure.h.
Referenced by llvm::GCNDownwardRPTracker::advanceBeforeNext(), llvm::GCNDownwardRPTracker::advanceToNext(), getLiveRegs(), llvm::GCNUpwardRPTracker::isValid(), moveLiveRegs(), llvm::GCNUpwardRPTracker::recede(), and reset().
|
protected |
Definition at line 115 of file GCNRegPressure.h.
Referenced by llvm::GCNDownwardRPTracker::advanceBeforeNext(), llvm::GCNDownwardRPTracker::advanceToNext(), clearMaxPressure(), moveMaxPressure(), llvm::GCNUpwardRPTracker::recede(), and reset().
|
mutableprotected |
Definition at line 117 of file GCNRegPressure.h.
Referenced by llvm::GCNDownwardRPTracker::advanceBeforeNext(), llvm::GCNDownwardRPTracker::advanceToNext(), llvm::GCNUpwardRPTracker::isValid(), llvm::GCNUpwardRPTracker::recede(), llvm::GCNDownwardRPTracker::reset(), and reset().