LLVM
15.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 () |
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 LiveIntervals & | LIS |
LiveRegSet | LiveRegs |
GCNRegPressure | CurPressure |
GCNRegPressure | MaxPressure |
const MachineInstr * | LastTrackedMI = nullptr |
const MachineRegisterInfo * | MRI = nullptr |
Definition at line 107 of file GCNRegPressure.h.
using llvm::GCNRPTracker::LiveRegSet = DenseMap<unsigned, LaneBitmask> |
Definition at line 109 of file GCNRegPressure.h.
|
inlineprotected |
Definition at line 118 of file GCNRegPressure.h.
|
inline |
Definition at line 128 of file GCNRegPressure.h.
References llvm::GCNRegPressure::clear(), and MaxPressure.
|
inline |
Definition at line 126 of file GCNRegPressure.h.
References LastTrackedMI.
Definition at line 125 of file GCNRegPressure.h.
References LiveRegs.
|
inline |
Definition at line 137 of file GCNRegPressure.h.
|
inline |
Definition at line 131 of file GCNRegPressure.h.
References llvm::GCNRegPressure::clear(), and MaxPressure.
|
static |
Definition at line 486 of file GCNRegPressure.cpp.
References E, llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find(), llvm::MachineRegisterInfo::getNumVirtRegs(), llvm::MachineRegisterInfo::getTargetRegisterInfo(), I, llvm::Register::index2VirtReg(), LiveRegs, MRI, llvm::PrintLaneMask(), llvm::printVRegOrUnit(), and TRI.
Referenced by llvm::GCNScheduleDAGMILive::schedule().
|
protected |
Definition at line 278 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 114 of file GCNRegPressure.h.
Referenced by llvm::GCNDownwardRPTracker::advanceBeforeNext(), llvm::GCNDownwardRPTracker::advanceToNext(), llvm::GCNUpwardRPTracker::isValid(), llvm::GCNUpwardRPTracker::recede(), and reset().
|
protected |
Definition at line 115 of file GCNRegPressure.h.
Referenced by llvm::GCNDownwardRPTracker::advance(), llvm::GCNDownwardRPTracker::advanceToNext(), getLastTrackedMI(), llvm::GCNUpwardRPTracker::recede(), and llvm::GCNDownwardRPTracker::reset().
|
protected |
Definition at line 112 of file GCNRegPressure.h.
Referenced by llvm::GCNDownwardRPTracker::advanceBeforeNext(), llvm::GCNUpwardRPTracker::isValid(), llvm::GCNUpwardRPTracker::recede(), and reset().
|
protected |
Definition at line 113 of file GCNRegPressure.h.
Referenced by llvm::GCNDownwardRPTracker::advanceBeforeNext(), llvm::GCNDownwardRPTracker::advanceToNext(), getLiveRegs(), llvm::GCNUpwardRPTracker::isValid(), moveLiveRegs(), printLiveRegs(), llvm::GCNUpwardRPTracker::recede(), and reset().
|
protected |
Definition at line 114 of file GCNRegPressure.h.
Referenced by llvm::GCNDownwardRPTracker::advanceBeforeNext(), llvm::GCNDownwardRPTracker::advanceToNext(), clearMaxPressure(), moveMaxPressure(), llvm::GCNUpwardRPTracker::recede(), and reset().
|
mutableprotected |
Definition at line 116 of file GCNRegPressure.h.
Referenced by llvm::GCNDownwardRPTracker::advanceBeforeNext(), llvm::GCNDownwardRPTracker::advanceToNext(), llvm::GCNUpwardRPTracker::isValid(), printLiveRegs(), llvm::GCNUpwardRPTracker::recede(), reset(), and llvm::GCNDownwardRPTracker::reset().