LLVM 20.0.0git
|
#include "Target/AMDGPU/SIMachineFunctionInfo.h"
Public Member Functions | |
SIMachineFunctionInfo ()=default | |
SIMachineFunctionInfo (const llvm::SIMachineFunctionInfo &, const TargetRegisterInfo &TRI, const llvm::MachineFunction &MF) | |
void | mappingImpl (yaml::IO &YamlIO) override |
~SIMachineFunctionInfo ()=default | |
Public Member Functions inherited from llvm::yaml::MachineFunctionInfo | |
virtual | ~MachineFunctionInfo ()=default |
virtual void | mappingImpl (IO &YamlIO) |
Public Attributes | |
uint64_t | ExplicitKernArgSize = 0 |
Align | MaxKernArgAlign |
uint32_t | LDSSize = 0 |
uint32_t | GDSSize = 0 |
Align | DynLDSAlign |
bool | IsEntryFunction = false |
bool | IsChainFunction = false |
bool | NoSignedZerosFPMath = false |
bool | MemoryBound = false |
bool | WaveLimiter = false |
bool | HasSpilledSGPRs = false |
bool | HasSpilledVGPRs = false |
uint32_t | HighBitsOf32BitAddress = 0 |
unsigned | Occupancy = 0 |
SmallVector< StringValue, 2 > | SpillPhysVGPRS |
SmallVector< StringValue > | WWMReservedRegs |
StringValue | ScratchRSrcReg = "$private_rsrc_reg" |
StringValue | FrameOffsetReg = "$fp_reg" |
StringValue | StackPtrOffsetReg = "$sp_reg" |
unsigned | BytesInStackArgArea = 0 |
bool | ReturnsVoid = true |
std::optional< SIArgumentInfo > | ArgInfo |
unsigned | PSInputAddr = 0 |
unsigned | PSInputEnable = 0 |
unsigned | MaxMemoryClusterDWords = DefaultMemoryClusterDWordsLimit |
SIMode | Mode |
std::optional< FrameIndex > | ScavengeFI |
StringValue | VGPRForAGPRCopy |
StringValue | SGPRForEXECCopy |
StringValue | LongBranchReservedReg |
bool | HasInitWholeWave = false |
Definition at line 260 of file SIMachineFunctionInfo.h.
|
default |
yaml::SIMachineFunctionInfo::SIMachineFunctionInfo | ( | const llvm::SIMachineFunctionInfo & | MFI, |
const TargetRegisterInfo & | TRI, | ||
const llvm::MachineFunction & | MF | ||
) |
Definition at line 695 of file SIMachineFunctionInfo.cpp.
References llvm::MachineFunction::getFrameInfo(), llvm::SIMachineFunctionInfo::getLongBranchReservedReg(), llvm::SIMachineFunctionInfo::getOptionalScavengeFI(), llvm::SIMachineFunctionInfo::getSGPRForEXECCopy(), llvm::SIMachineFunctionInfo::getSGPRSpillPhysVGPRs(), llvm::SIMachineFunctionInfo::getVGPRForAGPRCopy(), llvm::SIMachineFunctionInfo::getWWMReservedRegs(), LongBranchReservedReg, regToString(), ScavengeFI, SGPRForEXECCopy, SpillPhysVGPRS, TRI, VGPRForAGPRCopy, and WWMReservedRegs.
|
default |
|
override |
Definition at line 736 of file SIMachineFunctionInfo.cpp.
References YamlIO.
std::optional<SIArgumentInfo> llvm::yaml::SIMachineFunctionInfo::ArgInfo |
Definition at line 288 of file SIMachineFunctionInfo.h.
Referenced by llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping(), and llvm::GCNTargetMachine::parseMachineFunctionInfo().
unsigned llvm::yaml::SIMachineFunctionInfo::BytesInStackArgArea = 0 |
Definition at line 285 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
Align llvm::yaml::SIMachineFunctionInfo::DynLDSAlign |
Definition at line 265 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
uint64_t llvm::yaml::SIMachineFunctionInfo::ExplicitKernArgSize = 0 |
Definition at line 261 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
StringValue llvm::yaml::SIMachineFunctionInfo::FrameOffsetReg = "$fp_reg" |
Definition at line 282 of file SIMachineFunctionInfo.h.
Referenced by llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping(), and llvm::GCNTargetMachine::parseMachineFunctionInfo().
uint32_t llvm::yaml::SIMachineFunctionInfo::GDSSize = 0 |
Definition at line 264 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
bool llvm::yaml::SIMachineFunctionInfo::HasInitWholeWave = false |
Definition at line 300 of file SIMachineFunctionInfo.h.
Referenced by llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping(), and llvm::GCNTargetMachine::parseMachineFunctionInfo().
bool llvm::yaml::SIMachineFunctionInfo::HasSpilledSGPRs = false |
Definition at line 271 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
bool llvm::yaml::SIMachineFunctionInfo::HasSpilledVGPRs = false |
Definition at line 272 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
uint32_t llvm::yaml::SIMachineFunctionInfo::HighBitsOf32BitAddress = 0 |
Definition at line 273 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
bool llvm::yaml::SIMachineFunctionInfo::IsChainFunction = false |
Definition at line 267 of file SIMachineFunctionInfo.h.
Referenced by llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
bool llvm::yaml::SIMachineFunctionInfo::IsEntryFunction = false |
Definition at line 266 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
uint32_t llvm::yaml::SIMachineFunctionInfo::LDSSize = 0 |
Definition at line 263 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
StringValue llvm::yaml::SIMachineFunctionInfo::LongBranchReservedReg |
Definition at line 298 of file SIMachineFunctionInfo.h.
Referenced by llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping(), llvm::GCNTargetMachine::parseMachineFunctionInfo(), and SIMachineFunctionInfo().
Align llvm::yaml::SIMachineFunctionInfo::MaxKernArgAlign |
Definition at line 262 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
unsigned llvm::yaml::SIMachineFunctionInfo::MaxMemoryClusterDWords = DefaultMemoryClusterDWordsLimit |
Definition at line 292 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
bool llvm::yaml::SIMachineFunctionInfo::MemoryBound = false |
Definition at line 269 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
SIMode llvm::yaml::SIMachineFunctionInfo::Mode |
Definition at line 294 of file SIMachineFunctionInfo.h.
Referenced by llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping(), and llvm::GCNTargetMachine::parseMachineFunctionInfo().
bool llvm::yaml::SIMachineFunctionInfo::NoSignedZerosFPMath = false |
Definition at line 268 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
unsigned llvm::yaml::SIMachineFunctionInfo::Occupancy = 0 |
Definition at line 276 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
unsigned llvm::yaml::SIMachineFunctionInfo::PSInputAddr = 0 |
Definition at line 290 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
unsigned llvm::yaml::SIMachineFunctionInfo::PSInputEnable = 0 |
Definition at line 291 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
Definition at line 286 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
std::optional<FrameIndex> llvm::yaml::SIMachineFunctionInfo::ScavengeFI |
Definition at line 295 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping(), and SIMachineFunctionInfo().
StringValue llvm::yaml::SIMachineFunctionInfo::ScratchRSrcReg = "$private_rsrc_reg" |
Definition at line 281 of file SIMachineFunctionInfo.h.
Referenced by llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping(), and llvm::GCNTargetMachine::parseMachineFunctionInfo().
StringValue llvm::yaml::SIMachineFunctionInfo::SGPRForEXECCopy |
Definition at line 297 of file SIMachineFunctionInfo.h.
Referenced by llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping(), llvm::GCNTargetMachine::parseMachineFunctionInfo(), and SIMachineFunctionInfo().
SmallVector<StringValue, 2> llvm::yaml::SIMachineFunctionInfo::SpillPhysVGPRS |
Definition at line 278 of file SIMachineFunctionInfo.h.
Referenced by llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping(), llvm::GCNTargetMachine::parseMachineFunctionInfo(), and SIMachineFunctionInfo().
StringValue llvm::yaml::SIMachineFunctionInfo::StackPtrOffsetReg = "$sp_reg" |
Definition at line 283 of file SIMachineFunctionInfo.h.
Referenced by llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping(), and llvm::GCNTargetMachine::parseMachineFunctionInfo().
StringValue llvm::yaml::SIMachineFunctionInfo::VGPRForAGPRCopy |
Definition at line 296 of file SIMachineFunctionInfo.h.
Referenced by llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping(), llvm::GCNTargetMachine::parseMachineFunctionInfo(), and SIMachineFunctionInfo().
bool llvm::yaml::SIMachineFunctionInfo::WaveLimiter = false |
Definition at line 270 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
SmallVector<StringValue> llvm::yaml::SIMachineFunctionInfo::WWMReservedRegs |
Definition at line 279 of file SIMachineFunctionInfo.h.
Referenced by llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping(), llvm::GCNTargetMachine::parseMachineFunctionInfo(), and SIMachineFunctionInfo().