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 > | 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 |
SIMode | Mode |
std::optional< FrameIndex > | ScavengeFI |
StringValue | VGPRForAGPRCopy |
StringValue | SGPRForEXECCopy |
StringValue | LongBranchReservedReg |
Definition at line 254 of file SIMachineFunctionInfo.h.
|
default |
yaml::SIMachineFunctionInfo::SIMachineFunctionInfo | ( | const llvm::SIMachineFunctionInfo & | MFI, |
const TargetRegisterInfo & | TRI, | ||
const llvm::MachineFunction & | MF | ||
) |
Definition at line 671 of file SIMachineFunctionInfo.cpp.
References llvm::MachineFunction::getFrameInfo(), llvm::SIMachineFunctionInfo::getLongBranchReservedReg(), llvm::SIMachineFunctionInfo::getOptionalScavengeFI(), llvm::SIMachineFunctionInfo::getSGPRForEXECCopy(), llvm::SIMachineFunctionInfo::getVGPRForAGPRCopy(), llvm::SIMachineFunctionInfo::getWWMReservedRegs(), LongBranchReservedReg, regToString(), ScavengeFI, SGPRForEXECCopy, TRI, VGPRForAGPRCopy, and WWMReservedRegs.
|
default |
|
override |
Definition at line 709 of file SIMachineFunctionInfo.cpp.
References YamlIO.
std::optional<SIArgumentInfo> llvm::yaml::SIMachineFunctionInfo::ArgInfo |
Definition at line 281 of file SIMachineFunctionInfo.h.
Referenced by llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping(), and llvm::GCNTargetMachine::parseMachineFunctionInfo().
unsigned llvm::yaml::SIMachineFunctionInfo::BytesInStackArgArea = 0 |
Definition at line 278 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
Align llvm::yaml::SIMachineFunctionInfo::DynLDSAlign |
Definition at line 259 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 255 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 275 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 258 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
bool llvm::yaml::SIMachineFunctionInfo::HasSpilledSGPRs = false |
Definition at line 265 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
bool llvm::yaml::SIMachineFunctionInfo::HasSpilledVGPRs = 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::HighBitsOf32BitAddress = 0 |
Definition at line 267 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
bool llvm::yaml::SIMachineFunctionInfo::IsChainFunction = false |
Definition at line 261 of file SIMachineFunctionInfo.h.
Referenced by llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
bool llvm::yaml::SIMachineFunctionInfo::IsEntryFunction = false |
Definition at line 260 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 257 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
StringValue llvm::yaml::SIMachineFunctionInfo::LongBranchReservedReg |
Definition at line 290 of file SIMachineFunctionInfo.h.
Referenced by llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping(), llvm::GCNTargetMachine::parseMachineFunctionInfo(), and SIMachineFunctionInfo().
Align llvm::yaml::SIMachineFunctionInfo::MaxKernArgAlign |
Definition at line 256 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
bool llvm::yaml::SIMachineFunctionInfo::MemoryBound = false |
Definition at line 263 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
SIMode llvm::yaml::SIMachineFunctionInfo::Mode |
Definition at line 286 of file SIMachineFunctionInfo.h.
Referenced by llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping(), and llvm::GCNTargetMachine::parseMachineFunctionInfo().
bool llvm::yaml::SIMachineFunctionInfo::NoSignedZerosFPMath = false |
Definition at line 262 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
unsigned llvm::yaml::SIMachineFunctionInfo::Occupancy = 0 |
Definition at line 270 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
unsigned llvm::yaml::SIMachineFunctionInfo::PSInputAddr = 0 |
Definition at line 283 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
unsigned llvm::yaml::SIMachineFunctionInfo::PSInputEnable = 0 |
Definition at line 284 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
Definition at line 279 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 287 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 274 of file SIMachineFunctionInfo.h.
Referenced by llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping(), and llvm::GCNTargetMachine::parseMachineFunctionInfo().
StringValue llvm::yaml::SIMachineFunctionInfo::SGPRForEXECCopy |
Definition at line 289 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 276 of file SIMachineFunctionInfo.h.
Referenced by llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping(), and llvm::GCNTargetMachine::parseMachineFunctionInfo().
StringValue llvm::yaml::SIMachineFunctionInfo::VGPRForAGPRCopy |
Definition at line 288 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 264 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), and llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping().
SmallVector<StringValue> llvm::yaml::SIMachineFunctionInfo::WWMReservedRegs |
Definition at line 272 of file SIMachineFunctionInfo.h.
Referenced by llvm::yaml::MappingTraits< SIMachineFunctionInfo >::mapping(), llvm::GCNTargetMachine::parseMachineFunctionInfo(), and SIMachineFunctionInfo().