LLVM 20.0.0git
|
This file implements the GCNRegPressure class. More...
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "machine-scheduler" |
#define | PFX " " |
Functions | |
static LaneBitmask | getDefRegMask (const MachineOperand &MO, const MachineRegisterInfo &MRI) |
static void | collectVirtualRegUses (SmallVectorImpl< RegisterMaskPair > &RegMaskPairs, const MachineInstr &MI, const LiveIntervals &LIS, const MachineRegisterInfo &MRI) |
static LaneBitmask | getRegLiveThroughMask (const MachineRegisterInfo &MRI, const LiveIntervals &LIS, Register Reg, SlotIndex Begin, SlotIndex End, LaneBitmask Mask=LaneBitmask::getAll()) |
Variables | |
static cl::opt< bool > | UseDownwardTracker ("amdgpu-print-rp-downward", cl::desc("Use GCNDownwardRPTracker for GCNRegPressurePrinter pass"), cl::init(false), cl::Hidden) |
This file implements the GCNRegPressure class.
Definition in file GCNRegPressure.cpp.
#define DEBUG_TYPE "machine-scheduler" |
Definition at line 20 of file GCNRegPressure.cpp.
#define PFX " " |
|
static |
Definition at line 258 of file GCNRegPressure.cpp.
References llvm::any_of(), llvm::SmallVectorImpl< T >::emplace_back(), llvm::SlotIndex::getBaseIndex(), llvm::LiveIntervals::getInstructionIndex(), llvm::LiveIntervals::getInterval(), llvm::getLiveLaneMask(), MI, and MRI.
Referenced by llvm::GCNUpwardRPTracker::recede().
|
static |
Definition at line 245 of file GCNRegPressure.cpp.
References assert(), llvm::MachineOperand::getReg(), llvm::MachineOperand::getSubReg(), llvm::MachineOperand::isDef(), llvm::MachineOperand::isReg(), llvm::Register::isVirtual(), and MRI.
Referenced by llvm::GCNDownwardRPTracker::advanceToNext(), and llvm::GCNUpwardRPTracker::recede().
|
static |
Definition at line 603 of file GCNRegPressure.cpp.
References End, llvm::LiveInterval::hasSubRanges(), MRI, and llvm::LiveInterval::subranges().
Referenced by llvm::GCNRegPressurePrinter::runOnMachineFunction().
|
static |
Referenced by llvm::GCNRegPressurePrinter::runOnMachineFunction().