LLVM  14.0.0git
Public Member Functions | List of all members
llvm::AMDGPU::HSAMD::MetadataStreamerV4 Class Referencefinal

#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 ()
 

Additional Inherited Members

- 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 emitVersion ()
 
void emitPrintf (const Module &Mod)
 
void emitKernelLanguage (const Function &Func, msgpack::MapDocNode Kern)
 
void emitKernelAttrs (const Function &Func, msgpack::MapDocNode Kern)
 
void emitKernelArgs (const Function &Func, const GCNSubtarget &ST, 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 Function &Func, const GCNSubtarget &ST, unsigned &Offset, msgpack::ArrayDocNode Args)
 
msgpack::DocNodegetRootMetadata (StringRef Key)
 
msgpack::DocNodegetHSAMetadataRoot ()
 
- Protected Attributes inherited from llvm::AMDGPU::HSAMD::MetadataStreamerV3
std::unique_ptr< msgpack::DocumentHSAMetadataDoc
 

Detailed Description

Definition at line 130 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

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