LLVM 20.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 () |
GCNRegPressure | getPressure () const |
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 152 of file GCNRegPressure.h.
Definition at line 154 of file GCNRegPressure.h.
|
inlineprotected |
Definition at line 163 of file GCNRegPressure.h.
|
inline |
Definition at line 173 of file GCNRegPressure.h.
References llvm::GCNRegPressure::clear(), and MaxPressure.
|
inline |
Definition at line 171 of file GCNRegPressure.h.
References LastTrackedMI.
Referenced by llvm::GCNIterativeScheduler::getRegionPressure().
Definition at line 170 of file GCNRegPressure.h.
References LiveRegs.
Referenced by llvm::GCNRegPressurePrinter::runOnMachineFunction().
|
inline |
Definition at line 175 of file GCNRegPressure.h.
References CurPressure.
Referenced by llvm::GCNRegPressurePrinter::runOnMachineFunction().
|
inline |
Definition at line 177 of file GCNRegPressure.h.
References LiveRegs.
|
protected |
Definition at line 330 of file GCNRegPressure.cpp.
References After, CurPressure, llvm::getLiveRegsAfter(), llvm::getLiveRegsBefore(), llvm::MachineFunction::getRegInfo(), llvm::getRegPressure(), LIS, LiveRegs, MaxPressure, MI, and MRI.
Referenced by llvm::GCNDownwardRPTracker::reset().
|
protected |
Definition at line 159 of file GCNRegPressure.h.
Referenced by llvm::GCNDownwardRPTracker::advanceBeforeNext(), llvm::GCNDownwardRPTracker::advanceToNext(), getPressure(), llvm::GCNUpwardRPTracker::isValid(), llvm::GCNUpwardRPTracker::recede(), reset(), llvm::GCNUpwardRPTracker::reset(), and llvm::GCNUpwardRPTracker::resetMaxPressure().
|
protected |
Definition at line 160 of file GCNRegPressure.h.
Referenced by llvm::GCNDownwardRPTracker::advanceBeforeNext(), llvm::GCNDownwardRPTracker::advanceToNext(), getLastTrackedMI(), llvm::GCNUpwardRPTracker::recede(), llvm::GCNDownwardRPTracker::reset(), and llvm::GCNUpwardRPTracker::reset().
|
protected |
Definition at line 157 of file GCNRegPressure.h.
Referenced by llvm::GCNDownwardRPTracker::advanceBeforeNext(), llvm::GCNUpwardRPTracker::isValid(), llvm::GCNUpwardRPTracker::recede(), reset(), and llvm::GCNUpwardRPTracker::reset().
|
protected |
Definition at line 158 of file GCNRegPressure.h.
Referenced by llvm::GCNDownwardRPTracker::advanceBeforeNext(), llvm::GCNDownwardRPTracker::advanceToNext(), getLiveRegs(), llvm::GCNUpwardRPTracker::isValid(), moveLiveRegs(), llvm::GCNUpwardRPTracker::recede(), reset(), and llvm::GCNUpwardRPTracker::reset().
|
protected |
Definition at line 159 of file GCNRegPressure.h.
Referenced by llvm::GCNDownwardRPTracker::advanceBeforeNext(), llvm::GCNDownwardRPTracker::advanceToNext(), clearMaxPressure(), llvm::GCNUpwardRPTracker::getMaxPressure(), llvm::GCNUpwardRPTracker::getMaxPressureAndReset(), llvm::GCNDownwardRPTracker::moveMaxPressure(), llvm::GCNUpwardRPTracker::recede(), reset(), llvm::GCNUpwardRPTracker::reset(), and llvm::GCNUpwardRPTracker::resetMaxPressure().
|
mutableprotected |
Definition at line 161 of file GCNRegPressure.h.
Referenced by llvm::GCNDownwardRPTracker::advanceBeforeNext(), llvm::GCNDownwardRPTracker::advanceToNext(), llvm::GCNUpwardRPTracker::isValid(), llvm::GCNUpwardRPTracker::recede(), llvm::GCNDownwardRPTracker::reset(), reset(), and llvm::GCNUpwardRPTracker::reset().