LLVM
8.0.1
|
#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 96 of file GCNRegPressure.h.
Definition at line 98 of file GCNRegPressure.h.
|
inlineprotected |
Definition at line 107 of file GCNRegPressure.h.
References MI.
|
inline |
Definition at line 117 of file GCNRegPressure.h.
References llvm::GCNRegPressure::clear().
Referenced by llvm::GCNScheduleDAGMILive::schedule().
|
inline |
Definition at line 115 of file GCNRegPressure.h.
Definition at line 114 of file GCNRegPressure.h.
Referenced by llvm::GCNScheduleDAGMILive::schedule().
|
inline |
Definition at line 126 of file GCNRegPressure.h.
Referenced by llvm::GCNScheduleDAGMILive::schedule().
|
inline |
Definition at line 120 of file GCNRegPressure.h.
References llvm::GCNRegPressure::clear().
Referenced by getMopState(), llvm::GCNIterativeScheduler::getSchedulePressure(), and llvm::GCNScheduleDAGMILive::schedule().
|
static |
Definition at line 495 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::TargetRegisterInfo::index2VirtReg(), llvm::PrintLaneMask(), llvm::printVRegOrUnit(), and TRI.
Referenced by llvm::GCNScheduleDAGMILive::schedule().
|
protected |
Definition at line 287 of file GCNRegPressure.cpp.
References llvm::getLiveRegsAfter(), llvm::getLiveRegsBefore(), llvm::MachineInstr::getMF(), llvm::MachineFunction::getRegInfo(), and llvm::getRegPressure().
Referenced by llvm::GCNUpwardRPTracker::reset(), and llvm::GCNDownwardRPTracker::reset().
|
protected |
Definition at line 103 of file GCNRegPressure.h.
|
protected |
Definition at line 104 of file GCNRegPressure.h.
|
protected |
Definition at line 101 of file GCNRegPressure.h.
|
protected |
Definition at line 102 of file GCNRegPressure.h.
|
protected |
Definition at line 103 of file GCNRegPressure.h.
|
mutableprotected |
Definition at line 105 of file GCNRegPressure.h.