LLVM 20.0.0git
|
#include "AMDGPU.h"
#include "GCNRegPressure.h"
#include "SIMachineFunctionInfo.h"
#include "llvm/InitializePasses.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "si-form-memory-clauses" |
Functions | |
INITIALIZE_PASS_BEGIN (SIFormMemoryClauses, DEBUG_TYPE, "SI Form memory clauses", false, false) INITIALIZE_PASS_END(SIFormMemoryClauses | |
static bool | isVMEMClauseInst (const MachineInstr &MI) |
static bool | isSMEMClauseInst (const MachineInstr &MI) |
static bool | isValidClauseInst (const MachineInstr &MI, bool IsVMEMClause) |
static unsigned | getMopState (const MachineOperand &MO) |
Variables | |
static cl::opt< unsigned > | MaxClause ("amdgpu-max-memory-clause", cl::Hidden, cl::init(15), cl::desc("Maximum length of a memory clause, instructions")) |
DEBUG_TYPE | |
SI Form memory | clauses |
SI Form memory | false |
#define DEBUG_TYPE "si-form-memory-clauses" |
Definition at line 24 of file SIFormMemoryClauses.cpp.
|
static |
Definition at line 131 of file SIFormMemoryClauses.cpp.
References llvm::RegState::Dead, llvm::RegState::EarlyClobber, llvm::MachineOperand::getReg(), llvm::RegState::Implicit, llvm::MachineOperand::isDead(), llvm::MachineOperand::isEarlyClobber(), llvm::MachineOperand::isImplicit(), llvm::MachineOperand::isKill(), llvm::Register::isPhysical(), llvm::MachineOperand::isRenamable(), llvm::MachineOperand::isUndef(), llvm::RegState::Kill, llvm::RegState::Renamable, and llvm::RegState::Undef.
INITIALIZE_PASS_BEGIN | ( | SIFormMemoryClauses | , |
DEBUG_TYPE | , | ||
"SI Form memory clauses" | , | ||
false | , | ||
false | |||
) |
|
static |
Definition at line 101 of file SIFormMemoryClauses.cpp.
References llvm::SIInstrInfo::isSMRD(), and MI.
Referenced by isValidClauseInst().
|
static |
Definition at line 107 of file SIFormMemoryClauses.cpp.
References assert(), llvm::SIInstrInfo::isAtomic(), isSMEMClauseInst(), isVMEMClauseInst(), and MI.
|
static |
Definition at line 97 of file SIFormMemoryClauses.cpp.
References llvm::SIInstrInfo::isFLAT(), llvm::SIInstrInfo::isVMEM(), and MI.
Referenced by isValidClauseInst().
Definition at line 86 of file SIFormMemoryClauses.cpp.
Referenced by tomp::ConstructDecompositionT< ClauseType, HelperType >::ConstructDecompositionT().
DEBUG_TYPE |
Definition at line 85 of file SIFormMemoryClauses.cpp.
Definition at line 86 of file SIFormMemoryClauses.cpp.