LLVM 17.0.0git
|
This file implements the GCNRegPressure class. More...
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "machine-scheduler" |
Functions | |
static LaneBitmask | getDefRegMask (const MachineOperand &MO, const MachineRegisterInfo &MRI) |
static LaneBitmask | getUsedRegMask (const MachineOperand &MO, const MachineRegisterInfo &MRI, const LiveIntervals &LIS) |
static SmallVector< RegisterMaskPair, 8 > | collectVirtualRegUses (const MachineInstr &MI, const LiveIntervals &LIS, const MachineRegisterInfo &MRI) |
This file implements the GCNRegPressure class.
Definition in file GCNRegPressure.cpp.
#define DEBUG_TYPE "machine-scheduler" |
Definition at line 19 of file GCNRegPressure.cpp.
|
static |
Definition at line 190 of file GCNRegPressure.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::end(), llvm::find_if(), getUsedRegMask(), I, MI, MRI, and llvm::SmallVectorTemplateBase< T, bool >::push_back().
Referenced by llvm::GCNUpwardRPTracker::recede().
|
static |
Definition at line 158 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().
|
static |
Definition at line 170 of file GCNRegPressure.cpp.
References assert(), llvm::SlotIndex::getBaseIndex(), llvm::LiveIntervals::getInstructionIndex(), llvm::getLiveLaneMask(), llvm::SIRegisterInfo::getNumCoveredRegs(), llvm::MachineOperand::getParent(), llvm::MachineOperand::getReg(), llvm::MachineOperand::getSubReg(), llvm::MachineOperand::isReg(), llvm::MachineOperand::isUse(), llvm::Register::isVirtual(), MRI, SI, and SubReg.
Referenced by collectVirtualRegUses().