LLVM
12.0.0git
|
#include "Target/AMDGPU/GCNRegPressure.h"
Public Types | |
using | LiveRegSet = DenseMap< unsigned, LaneBitmask > |
Public Member Functions | |
decltype(LiveRegs) const & | 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 100 of file GCNRegPressure.h.
Definition at line 102 of file GCNRegPressure.h.
|
inlineprotected |
Definition at line 111 of file GCNRegPressure.h.
|
inline |
Definition at line 121 of file GCNRegPressure.h.
References llvm::GCNRegPressure::clear(), and MaxPressure.
|
inline |
Definition at line 119 of file GCNRegPressure.h.
References LastTrackedMI.
Definition at line 118 of file GCNRegPressure.h.
References LiveRegs.
|
inline |
Definition at line 130 of file GCNRegPressure.h.
References LiveRegs, and llvm::move().
|
inline |
Definition at line 124 of file GCNRegPressure.h.
References llvm::GCNRegPressure::clear(), and MaxPressure.
|
static |
Definition at line 481 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(), Reg, and TRI.
Referenced by llvm::GCNScheduleDAGMILive::schedule().
|
protected |
Definition at line 274 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 107 of file GCNRegPressure.h.
Referenced by llvm::GCNDownwardRPTracker::advanceBeforeNext(), llvm::GCNDownwardRPTracker::advanceToNext(), llvm::GCNUpwardRPTracker::isValid(), llvm::GCNUpwardRPTracker::recede(), and reset().
|
protected |
Definition at line 108 of file GCNRegPressure.h.
Referenced by llvm::GCNDownwardRPTracker::advance(), llvm::GCNDownwardRPTracker::advanceToNext(), getLastTrackedMI(), llvm::GCNUpwardRPTracker::recede(), and llvm::GCNDownwardRPTracker::reset().
|
protected |
Definition at line 105 of file GCNRegPressure.h.
Referenced by llvm::GCNDownwardRPTracker::advanceBeforeNext(), llvm::GCNUpwardRPTracker::isValid(), llvm::GCNUpwardRPTracker::recede(), and reset().
|
protected |
Definition at line 106 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 107 of file GCNRegPressure.h.
Referenced by llvm::GCNDownwardRPTracker::advanceBeforeNext(), llvm::GCNDownwardRPTracker::advanceToNext(), clearMaxPressure(), moveMaxPressure(), llvm::GCNUpwardRPTracker::recede(), and reset().
|
mutableprotected |
Definition at line 109 of file GCNRegPressure.h.
Referenced by llvm::GCNDownwardRPTracker::advanceBeforeNext(), llvm::GCNDownwardRPTracker::advanceToNext(), llvm::GCNUpwardRPTracker::isValid(), printLiveRegs(), llvm::GCNUpwardRPTracker::recede(), reset(), and llvm::GCNDownwardRPTracker::reset().