LLVM
15.0.0git
|
#include "GCNHazardRecognizer.h"
#include "GCNSubtarget.h"
#include "MCTargetDesc/AMDGPUMCTargetDesc.h"
#include "SIMachineFunctionInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/ScheduleDAG.h"
#include "llvm/Support/TargetParser.h"
Go to the source code of this file.
Typedefs | |
typedef function_ref< bool(const MachineInstr &, int WaitStates)> | IsExpiredFn |
Variables | |
static cl::opt< unsigned, false, MFMAPaddingRatioParser > | MFMAPaddingRatio ("amdgpu-mfma-padding-ratio", cl::init(0), cl::Hidden, cl::desc("Fill a percentage of the latency between " "neighboring MFMA with s_nops.")) |
typedef function_ref<bool(const MachineInstr &, int WaitStates)> IsExpiredFn |
Definition at line 427 of file GCNHazardRecognizer.cpp.
|
static |
Definition at line 532 of file GCNHazardRecognizer.cpp.
References addRegUnits(), and TRI.
|
static |
Definition at line 526 of file GCNHazardRecognizer.cpp.
References llvm::MCRegisterInfo::DiffListIterator::isValid(), llvm::BitVector::set(), and TRI.
Referenced by addRegsToSet().
|
static |
Definition at line 547 of file GCNHazardRecognizer.cpp.
References llvm::SIInstrInfo::isSMRD(), and MI.
|
static |
Definition at line 551 of file GCNHazardRecognizer.cpp.
References llvm::SIInstrInfo::isFLAT(), llvm::SIInstrInfo::isVMEM(), and MI.
|
static |
Definition at line 174 of file GCNHazardRecognizer.cpp.
References llvm::MachineOperand::getImm(), llvm::AMDGPU::Hwreg::ID_MASK_, and TII.
|
static |
Definition at line 432 of file GCNHazardRecognizer.cpp.
References E, llvm::SIInstrInfo::getNumWaitStates(), I, llvm::detail::DenseSetImpl< ValueT, DenseMap< ValueT, detail::DenseSetEmpty, DenseMapInfo< ValueT >, detail::DenseSetPair< ValueT > >, DenseMapInfo< ValueT > >::insert(), llvm::MachineBasicBlock::instr_rend(), llvm::max(), MBB, llvm::min(), llvm::MachineBasicBlock::predecessors(), and llvm::RISCVFenceField::W.
Referenced by getWaitStatesSince().
|
static |
Definition at line 468 of file GCNHazardRecognizer.cpp.
References getWaitStatesSince(), and MI.
|
static |
Definition at line 257 of file GCNHazardRecognizer.cpp.
References llvm::MachineInstrBuilder::addImm(), Arg, llvm::BuildMI(), MI, llvm::min(), and TII.
|
static |
Definition at line 118 of file GCNHazardRecognizer.cpp.
References llvm::AMDGPU::getMAIIsDGEMM().
Referenced by isXDL().
|
static |
Definition at line 79 of file GCNHazardRecognizer.cpp.
Referenced by llvm::GCNHazardRecognizer::getHazardType(), and llvm::GCNHazardRecognizer::PreEmitNoopsCommon().
|
static |
Definition at line 169 of file GCNHazardRecognizer.cpp.
References llvm::SIInstrInfo::isFLAT(), llvm::SIInstrInfo::isMUBUF(), llvm::SIInstrInfo::isVALU(), and MI.
Referenced by llvm::GCNHazardRecognizer::getHazardType(), and llvm::GCNHazardRecognizer::PreEmitNoopsCommon().
|
static |
Definition at line 163 of file GCNHazardRecognizer.cpp.
References MI.
|
static |
Definition at line 102 of file GCNHazardRecognizer.cpp.
Referenced by llvm::GCNHazardRecognizer::getHazardType(), and llvm::GCNHazardRecognizer::PreEmitNoopsCommon().
|
static |
Definition at line 98 of file GCNHazardRecognizer.cpp.
Referenced by llvm::GCNHazardRecognizer::getHazardType(), and llvm::GCNHazardRecognizer::PreEmitNoopsCommon().
|
static |
Definition at line 137 of file GCNHazardRecognizer.cpp.
References llvm::AMDGPU::getNamedOperandIdx(), MI, and TII.
Referenced by llvm::GCNHazardRecognizer::getHazardType(), and llvm::GCNHazardRecognizer::PreEmitNoopsCommon().
|
static |
Definition at line 83 of file GCNHazardRecognizer.cpp.
Referenced by llvm::GCNHazardRecognizer::getHazardType(), and llvm::GCNHazardRecognizer::PreEmitNoopsCommon().
|
static |
Definition at line 106 of file GCNHazardRecognizer.cpp.
Referenced by llvm::GCNHazardRecognizer::getHazardType(), and llvm::GCNHazardRecognizer::PreEmitNoopsCommon().
|
static |
Definition at line 87 of file GCNHazardRecognizer.cpp.
Referenced by llvm::GCNHazardRecognizer::getHazardType(), and llvm::GCNHazardRecognizer::PreEmitNoopsCommon().
|
static |
Definition at line 122 of file GCNHazardRecognizer.cpp.
References llvm::AMDGPU::getMAIIsGFX940XDL(), isDGEMM(), llvm::SIInstrInfo::isMAI(), MI, and llvm::ARM_MB::ST.
|
static |
Definition at line 1237 of file GCNHazardRecognizer.cpp.
References llvm::SIInstrInfo::isDS(), llvm::SIInstrInfo::isSegmentSpecificFLAT(), llvm::SIInstrInfo::isVMEM(), MBB, MI, and llvm::ARM_MB::ST.
Referenced by llvm::GCNHazardRecognizer::GCNHazardRecognizer().