LLVM 20.0.0git
|
#include "Target/AMDGPU/AMDGPUHSAMetadataStreamer.h"
Public Member Functions | |
MetadataStreamerMsgPackV5 ()=default | |
~MetadataStreamerMsgPackV5 ()=default | |
Public Member Functions inherited from llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV4 | |
MetadataStreamerMsgPackV4 ()=default | |
~MetadataStreamerMsgPackV4 ()=default | |
bool | emitTo (AMDGPUTargetStreamer &TargetStreamer) override |
void | begin (const Module &Mod, const IsaInfo::AMDGPUTargetID &TargetID) override |
void | end () override |
void | emitKernel (const MachineFunction &MF, const SIProgramInfo &ProgramInfo) override |
Public Member Functions inherited from llvm::AMDGPU::HSAMD::MetadataStreamer | |
virtual | ~MetadataStreamer ()=default |
virtual bool | emitTo (AMDGPUTargetStreamer &TargetStreamer)=0 |
virtual void | begin (const Module &Mod, const IsaInfo::AMDGPUTargetID &TargetID)=0 |
virtual void | end ()=0 |
virtual void | emitKernel (const MachineFunction &MF, const SIProgramInfo &ProgramInfo)=0 |
Additional Inherited Members | |
Protected Attributes inherited from llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV4 | |
std::unique_ptr< DelayedMCExprs > | DelayedExprs |
std::unique_ptr< msgpack::Document > | HSAMetadataDoc |
Definition at line 144 of file AMDGPUHSAMetadataStreamer.h.
|
default |
|
default |
|
overrideprotectedvirtual |
Reimplemented from llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV4.
Definition at line 593 of file AMDGPUHSAMetadataStreamer.cpp.
References llvm::alignTo(), DL, llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV4::emitKernelArg(), llvm::PointerType::get(), llvm::MachineFunction::getFunction(), llvm::MachineFunction::getInfo(), llvm::Type::getInt16Ty(), llvm::Type::getInt32Ty(), llvm::Type::getInt64Ty(), llvm::MachineFunction::getSubtarget(), llvm::SIMachineFunctionInfo::getUserSGPRInfo(), llvm::AMDGPUAS::GLOBAL_ADDRESS, llvm::GCNUserSGPRUsageInfo::hasQueuePtr(), llvm::AMDGPUMachineFunction::isDynamicLDSUsed(), and llvm::Offset.
|
overrideprotectedvirtual |
Reimplemented from llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV4.
Definition at line 701 of file AMDGPUHSAMetadataStreamer.cpp.
References llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV4::emitKernelAttrs(), llvm::msgpack::DocNode::getDocument(), and llvm::msgpack::Document::getNode().
|
overrideprotectedvirtual |
Reimplemented from llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV4.
Reimplemented in llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV6.
Definition at line 586 of file AMDGPUHSAMetadataStreamer.cpp.
References llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV4::getRootMetadata(), llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV4::HSAMetadataDoc, llvm::Version, llvm::AMDGPU::HSAMD::VersionMajorV5, and llvm::AMDGPU::HSAMD::VersionMinorV5.