|
LLVM
5.0.0
|
#include "Target/AMDGPU/GCNRegPressure.h"
Public Member Functions | |
| GCNDownwardRPTracker (const LiveIntervals &LIS_) | |
| const MachineBasicBlock::const_iterator | getNext () const |
| bool | reset (const MachineInstr &MI, const LiveRegSet *LiveRegs=nullptr) |
| bool | advanceBeforeNext () |
| void | advanceToNext () |
| bool | advance () |
| bool | advance (MachineBasicBlock::const_iterator End) |
| bool | advance (MachineBasicBlock::const_iterator Begin, MachineBasicBlock::const_iterator End, const LiveRegSet *LiveRegsCopy=nullptr) |
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 | |
| typedef DenseMap< unsigned, LaneBitmask > | LiveRegSet |
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_) | |
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 136 of file GCNRegPressure.h.
|
inline |
Definition at line 143 of file GCNRegPressure.h.
| bool GCNDownwardRPTracker::advance | ( | ) |
Definition at line 404 of file GCNRegPressure.cpp.
References advanceBeforeNext(), advanceToNext(), and llvm::GCNRPTracker::LastTrackedMI.
Referenced by advance().
| bool GCNDownwardRPTracker::advance | ( | MachineBasicBlock::const_iterator | End | ) |
Definition at line 412 of file GCNRegPressure.cpp.
References advance().
| bool GCNDownwardRPTracker::advance | ( | MachineBasicBlock::const_iterator | Begin, |
| MachineBasicBlock::const_iterator | End, | ||
| const LiveRegSet * | LiveRegsCopy = nullptr |
||
| ) |
Definition at line 418 of file GCNRegPressure.cpp.
| bool GCNDownwardRPTracker::advanceBeforeNext | ( | ) |
Definition at line 350 of file GCNRegPressure.cpp.
References assert(), llvm::GCNRPTracker::CurPressure, llvm::SlotIndex::getBaseIndex(), llvm::LiveIntervals::getInstructionIndex(), llvm::LiveIntervals::getInterval(), llvm::LaneBitmask::getNone(), llvm::LiveInterval::hasSubRanges(), llvm::GCNRegPressure::inc(), llvm::SlotIndex::isValid(), llvm::GCNRPTracker::LIS, llvm::LiveRange::liveAt(), llvm::GCNRPTracker::LiveRegs, llvm::max(), llvm::GCNRPTracker::MaxPressure, SI, llvm::skipDebugInstructionsForward(), and llvm::LiveInterval::subranges().
Referenced by advance().
| void GCNDownwardRPTracker::advanceToNext | ( | ) |
Definition at line 385 of file GCNRegPressure.cpp.
References llvm::GCNRPTracker::CurPressure, llvm::MachineInstr::defs(), getDefRegMask(), llvm::GCNRegPressure::inc(), llvm::TargetRegisterInfo::isVirtualRegister(), llvm::GCNRPTracker::LastTrackedMI, llvm::GCNRPTracker::LiveRegs, llvm::max(), and llvm::GCNRPTracker::MaxPressure.
Referenced by advance().
|
inline |
Definition at line 145 of file GCNRegPressure.h.
| bool GCNDownwardRPTracker::reset | ( | const MachineInstr & | MI, |
| const LiveRegSet * | LiveRegs = nullptr |
||
| ) |
Definition at line 331 of file GCNRegPressure.cpp.
References llvm::GCNRPTracker::CurPressure, llvm::MachineBasicBlock::end(), llvm::getLiveRegsBefore(), llvm::MachineInstr::getParent(), llvm::MachineBasicBlock::getParent(), llvm::MachineFunction::getRegInfo(), llvm::getRegPressure(), llvm::GCNRPTracker::LastTrackedMI, llvm::GCNRPTracker::LIS, llvm::GCNRPTracker::LiveRegs, llvm::GCNRPTracker::MaxPressure, MI, and llvm::skipDebugInstructionsForward().
Referenced by advance().
1.8.6