LLVM
12.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) |
static LLVM_DUMP_METHOD void | reportMismatch (const GCNRPTracker::LiveRegSet &LISLR, const GCNRPTracker::LiveRegSet &TrackedLR, const TargetRegisterInfo *TRI) |
This file implements the GCNRegPressure class.
Definition in file GCNRegPressure.cpp.
#define DEBUG_TYPE "machine-scheduler" |
Definition at line 20 of file GCNRegPressure.cpp.
|
static |
Definition at line 215 of file GCNRegPressure.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::end(), llvm::find_if(), getUsedRegMask(), I, MI, MRI, llvm::SmallVectorTemplateBase< T >::push_back(), Reg, and llvm::NVPTX::PTXCvtMode::RM.
Referenced by llvm::GCNUpwardRPTracker::recede().
|
static |
Definition at line 183 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 195 of file GCNRegPressure.cpp.
References assert(), 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().
|
static |
Definition at line 428 of file GCNRegPressure.cpp.
References llvm::dbgs(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find(), I, P, llvm::PrintLaneMask(), llvm::printReg(), and TRI.
Referenced by llvm::GCNUpwardRPTracker::isValid().