LLVM  15.0.0git
Public Member Functions | Protected Member Functions | List of all members
llvm::AMDGPU::HSAMD::MetadataStreamerV4 Class Reference

#include "Target/AMDGPU/AMDGPUHSAMetadataStreamer.h"

Inheritance diagram for llvm::AMDGPU::HSAMD::MetadataStreamerV4:
Inheritance graph
[legend]
Collaboration diagram for llvm::AMDGPU::HSAMD::MetadataStreamerV4:
Collaboration graph
[legend]

Public Member Functions

 MetadataStreamerV4 ()=default
 
 ~MetadataStreamerV4 ()=default
 
void begin (const Module &Mod, const IsaInfo::AMDGPUTargetID &TargetID) override
 
- Public Member Functions inherited from llvm::AMDGPU::HSAMD::MetadataStreamerV3
 MetadataStreamerV3 ()=default
 
 ~MetadataStreamerV3 ()=default
 
bool emitTo (AMDGPUTargetStreamer &TargetStreamer) 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
 

Protected Member Functions

void emitVersion () override
 
void emitTargetID (const IsaInfo::AMDGPUTargetID &TargetID)
 
- Protected Member Functions inherited from llvm::AMDGPU::HSAMD::MetadataStreamerV3
void dump (StringRef HSAMetadataString) const
 
void verify (StringRef HSAMetadataString) const
 
Optional< StringRefgetAccessQualifier (StringRef AccQual) const
 
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) const
 
void emitPrintf (const Module &Mod)
 
void emitKernelLanguage (const Function &Func, msgpack::MapDocNode Kern)
 
void emitKernelAttrs (const Function &Func, msgpack::MapDocNode Kern)
 
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=None, StringRef Name="", StringRef TypeName="", StringRef BaseTypeName="", StringRef AccQual="", StringRef TypeQual="")
 
void emitHiddenKernelArgs (const MachineFunction &MF, unsigned &Offset, msgpack::ArrayDocNode Args) override
 
msgpack::DocNodegetRootMetadata (StringRef Key)
 
msgpack::DocNodegetHSAMetadataRoot ()
 

Additional Inherited Members

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

Detailed Description

Definition at line 134 of file AMDGPUHSAMetadataStreamer.h.

Constructor & Destructor Documentation

◆ MetadataStreamerV4()

llvm::AMDGPU::HSAMD::MetadataStreamerV4::MetadataStreamerV4 ( )
default

◆ ~MetadataStreamerV4()

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

Member Function Documentation

◆ begin()

void llvm::AMDGPU::HSAMD::MetadataStreamerV4::begin ( const Module Mod,
const IsaInfo::AMDGPUTargetID TargetID 
)
overridevirtual

◆ emitTargetID()

void llvm::AMDGPU::HSAMD::MetadataStreamerV4::emitTargetID ( const IsaInfo::AMDGPUTargetID TargetID)
protected

◆ emitVersion()

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

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