|
LLVM
8.0.1
|
#include "Target/AMDGPU/GCNRegPressure.h"
Public Member Functions | |
| GCNUpwardRPTracker (const LiveIntervals &LIS_) | |
| void | reset (const MachineInstr &MI, const LiveRegSet *LiveRegs=nullptr) |
| void | recede (const MachineInstr &MI) |
| bool | isValid () const |
Public Member Functions inherited from llvm::GCNRPTracker | |
| decltype(LiveRegs) const & | getLiveRegs () const |
| const MachineInstr * | getLastTrackedMI () const |
| void | clearMaxPressure () |
| decltype(MaxPressure) | moveMaxPressure () |
| decltype(LiveRegs) | moveLiveRegs () |
Additional Inherited Members | |
Public Types inherited from llvm::GCNRPTracker | |
| using | LiveRegSet = DenseMap< unsigned, LaneBitmask > |
Static Public Member Functions inherited from llvm::GCNRPTracker | |
| static void | printLiveRegs (raw_ostream &OS, const LiveRegSet &LiveRegs, const MachineRegisterInfo &MRI) |
Protected Member Functions inherited from llvm::GCNRPTracker | |
| GCNRPTracker (const LiveIntervals &LIS_) | |
| void | reset (const MachineInstr &MI, const LiveRegSet *LiveRegsCopy, bool After) |
Protected Attributes inherited from llvm::GCNRPTracker | |
| const LiveIntervals & | LIS |
| LiveRegSet | LiveRegs |
| GCNRegPressure | CurPressure |
| GCNRegPressure | MaxPressure |
| const MachineInstr * | LastTrackedMI = nullptr |
| const MachineRegisterInfo * | MRI = nullptr |
Definition at line 134 of file GCNRegPressure.h.
|
inline |
Definition at line 136 of file GCNRegPressure.h.
References MI.
| bool GCNUpwardRPTracker::isValid | ( | ) | const |
Definition at line 471 of file GCNRegPressure.cpp.
References llvm::dbgs(), llvm::getLiveRegs(), llvm::getRegPressure(), llvm::MachineRegisterInfo::getTargetRegisterInfo(), isEqual(), llvm::printLivesAt(), reportMismatch(), and SI.
| void GCNUpwardRPTracker::recede | ( | const MachineInstr & | MI | ) |
Definition at line 308 of file GCNRegPressure.cpp.
References assert(), collectVirtualRegUses(), llvm::MachineInstr::defs(), getDefRegMask(), llvm::getRegPressure(), I, llvm::MachineInstr::isDebugInstr(), llvm::TargetRegisterInfo::isVirtualRegister(), llvm::GCNRegPressure::max, and MI.
Referenced by llvm::GCNIterativeScheduler::getSchedulePressure().
| void GCNUpwardRPTracker::reset | ( | const MachineInstr & | MI, |
| const LiveRegSet * | LiveRegs = nullptr |
||
| ) |
Definition at line 303 of file GCNRegPressure.cpp.
References llvm::GCNRPTracker::reset().
Referenced by llvm::GCNIterativeScheduler::getSchedulePressure().
1.8.13