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

#include "Target/AMDGPU/AMDGPUHSAMetadataStreamer.h"

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

Public Member Functions

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

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
 

Detailed Description

Definition at line 44 of file AMDGPUHSAMetadataStreamer.h.

Constructor & Destructor Documentation

◆ ~MetadataStreamer()

virtual llvm::AMDGPU::HSAMD::MetadataStreamer::~MetadataStreamer ( )
virtualdefault

Member Function Documentation

◆ begin()

virtual void llvm::AMDGPU::HSAMD::MetadataStreamer::begin ( const Module Mod,
const IsaInfo::AMDGPUTargetID TargetID 
)
pure virtual

◆ emitHiddenKernelArgs()

virtual void llvm::AMDGPU::HSAMD::MetadataStreamer::emitHiddenKernelArgs ( const MachineFunction MF,
unsigned Offset,
msgpack::ArrayDocNode  Args 
)
protectedpure virtual

◆ emitKernel()

virtual void llvm::AMDGPU::HSAMD::MetadataStreamer::emitKernel ( const MachineFunction MF,
const SIProgramInfo ProgramInfo 
)
pure virtual

◆ emitKernelAttrs()

virtual void llvm::AMDGPU::HSAMD::MetadataStreamer::emitKernelAttrs ( const Function Func,
msgpack::MapDocNode  Kern 
)
protectedpure virtual

◆ emitTo()

virtual bool llvm::AMDGPU::HSAMD::MetadataStreamer::emitTo ( AMDGPUTargetStreamer TargetStreamer)
pure virtual

◆ emitVersion()

virtual void llvm::AMDGPU::HSAMD::MetadataStreamer::emitVersion ( )
protectedpure virtual

◆ end()

virtual void llvm::AMDGPU::HSAMD::MetadataStreamer::end ( )
pure virtual

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