LLVM
8.0.1
|
#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 | |
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 150 of file GCNRegPressure.h.
|
inline |
Definition at line 157 of file GCNRegPressure.h.
bool GCNDownwardRPTracker::advance | ( | ) |
Definition at line 419 of file GCNRegPressure.cpp.
Referenced by llvm::GCNScheduleDAGMILive::schedule().
bool GCNDownwardRPTracker::advance | ( | MachineBasicBlock::const_iterator | End | ) |
Definition at line 427 of file GCNRegPressure.cpp.
bool GCNDownwardRPTracker::advance | ( | MachineBasicBlock::const_iterator | Begin, |
MachineBasicBlock::const_iterator | End, | ||
const LiveRegSet * | LiveRegsCopy = nullptr |
||
) |
Definition at line 433 of file GCNRegPressure.cpp.
bool GCNDownwardRPTracker::advanceBeforeNext | ( | ) |
Definition at line 365 of file GCNRegPressure.cpp.
References assert(), llvm::LaneBitmask::getNone(), llvm::LiveInterval::hasSubRanges(), llvm::SlotIndex::isValid(), llvm::LiveRange::liveAt(), llvm::GCNRegPressure::max, SI, llvm::skipDebugInstructionsForward(), and llvm::LiveInterval::subranges().
Referenced by llvm::GCNScheduleDAGMILive::schedule().
void GCNDownwardRPTracker::advanceToNext | ( | ) |
Definition at line 400 of file GCNRegPressure.cpp.
References getDefRegMask(), llvm::TargetRegisterInfo::isVirtualRegister(), llvm::GCNRegPressure::max, and Reg.
Referenced by getMopState(), and llvm::GCNScheduleDAGMILive::schedule().
|
inline |
Definition at line 159 of file GCNRegPressure.h.
References MI.
Referenced by llvm::GCNScheduleDAGMILive::schedule().
bool GCNDownwardRPTracker::reset | ( | const MachineInstr & | MI, |
const LiveRegSet * | LiveRegs = nullptr |
||
) |
Definition at line 352 of file GCNRegPressure.cpp.
References llvm::MachineBasicBlock::end(), llvm::MachineBasicBlock::getParent(), llvm::MachineInstr::getParent(), llvm::MachineFunction::getRegInfo(), MI, llvm::GCNRPTracker::reset(), and llvm::skipDebugInstructionsForward().
Referenced by getMopState(), and llvm::GCNScheduleDAGMILive::schedule().