LLVM 20.0.0git
Public Member Functions | Protected Member Functions | List of all members
llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV6 Class Referencefinal

#include "Target/AMDGPU/AMDGPUHSAMetadataStreamer.h"

Inheritance diagram for llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV6:
Inheritance graph
[legend]

Public Member Functions

 MetadataStreamerMsgPackV6 ()=default
 
 ~MetadataStreamerMsgPackV6 ()=default
 
- Public Member Functions inherited from llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV5
 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
 

Protected Member Functions

void emitVersion () override
 
- Protected Member Functions inherited from llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV5
void emitVersion () override
 
void emitHiddenKernelArgs (const MachineFunction &MF, unsigned &Offset, msgpack::ArrayDocNode Args) override
 
void emitKernelAttrs (const Function &Func, msgpack::MapDocNode Kern) override
 
- Protected Member Functions inherited from llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV4
void dump (StringRef HSAMetadataString) const
 
void verify (StringRef HSAMetadataString) const
 
std::optional< StringRefgetAccessQualifier (StringRef AccQual) const
 
std::optional< StringRefgetAddressSpaceQualifier (unsigned AddressSpace) const
 
StringRef getValueKind (Type *Ty, StringRef TypeQual, StringRef BaseTypeName) const
 
std::string getTypeName (Type *Ty, bool Signed) const
 
msgpack::ArrayDocNode getWorkGroupDimensions (MDNode *Node) const
 
msgpack::MapDocNode getHSAKernelProps (const MachineFunction &MF, const SIProgramInfo &ProgramInfo, unsigned CodeObjectVersion) const
 
void emitVersion () override
 
void emitTargetID (const IsaInfo::AMDGPUTargetID &TargetID)
 
void emitPrintf (const Module &Mod)
 
void emitKernelLanguage (const Function &Func, msgpack::MapDocNode Kern)
 
void emitKernelAttrs (const Function &Func, msgpack::MapDocNode Kern) override
 
void emitKernelArgs (const MachineFunction &MF, msgpack::MapDocNode Kern)
 
void emitKernelArg (const Argument &Arg, unsigned &Offset, msgpack::ArrayDocNode Args)
 
void emitKernelArg (const DataLayout &DL, Type *Ty, Align Alignment, StringRef ValueKind, unsigned &Offset, msgpack::ArrayDocNode Args, MaybeAlign PointeeAlign=std::nullopt, StringRef Name="", StringRef TypeName="", StringRef BaseTypeName="", StringRef ActAccQual="", StringRef AccQual="", StringRef TypeQual="")
 
void emitHiddenKernelArgs (const MachineFunction &MF, unsigned &Offset, msgpack::ArrayDocNode Args) override
 
msgpack::DocNodegetRootMetadata (StringRef Key)
 
msgpack::DocNodegetHSAMetadataRoot ()
 
virtual void emitVersion ()=0
 
virtual void emitHiddenKernelArgs (const MachineFunction &MF, unsigned &Offset, msgpack::ArrayDocNode Args)=0
 
virtual void emitKernelAttrs (const Function &Func, msgpack::MapDocNode Kern)=0
 

Additional Inherited Members

- Protected Attributes inherited from llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV4
std::unique_ptr< DelayedMCExprsDelayedExprs
 
std::unique_ptr< msgpack::DocumentHSAMetadataDoc
 

Detailed Description

Definition at line 156 of file AMDGPUHSAMetadataStreamer.h.

Constructor & Destructor Documentation

◆ MetadataStreamerMsgPackV6()

llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV6::MetadataStreamerMsgPackV6 ( )
default

◆ ~MetadataStreamerMsgPackV6()

llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV6::~MetadataStreamerMsgPackV6 ( )
default

Member Function Documentation

◆ emitVersion()

void llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV6::emitVersion ( )
overrideprotectedvirtual

The documentation for this class was generated from the following files: