LLVM  8.0.1
Public Member Functions | List of all members
llvm::AMDGPUTargetELFStreamer Class Referencefinal

#include "Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h"

Inheritance diagram for llvm::AMDGPUTargetELFStreamer:
Inheritance graph
[legend]
Collaboration diagram for llvm::AMDGPUTargetELFStreamer:
Collaboration graph
[legend]

Public Member Functions

 AMDGPUTargetELFStreamer (MCStreamer &S, const MCSubtargetInfo &STI)
 
MCELFStreamergetStreamer ()
 
void EmitDirectiveAMDGCNTarget (StringRef Target) override
 
void EmitDirectiveHSACodeObjectVersion (uint32_t Major, uint32_t Minor) override
 
void EmitDirectiveHSACodeObjectISA (uint32_t Major, uint32_t Minor, uint32_t Stepping, StringRef VendorName, StringRef ArchName) override
 
void EmitAMDKernelCodeT (const amd_kernel_code_t &Header) override
 
void EmitAMDGPUSymbolType (StringRef SymbolName, unsigned Type) override
 
bool EmitISAVersion (StringRef IsaVersionString) override
 
bool EmitHSAMetadata (std::shared_ptr< msgpack::Node > &HSAMetadata, bool Strict) override
 
bool EmitHSAMetadata (const AMDGPU::HSAMD::Metadata &HSAMetadata) override
 
bool EmitPALMetadata (const AMDGPU::PALMD::Metadata &PALMetadata) override
 
void EmitAmdhsaKernelDescriptor (const MCSubtargetInfo &STI, StringRef KernelName, const amdhsa::kernel_descriptor_t &KernelDescriptor, uint64_t NextVGPR, uint64_t NextSGPR, bool ReserveVCC, bool ReserveFlatScr, bool ReserveXNACK) override
 
- Public Member Functions inherited from llvm::AMDGPUTargetStreamer
 AMDGPUTargetStreamer (MCStreamer &S)
 
virtual bool EmitHSAMetadataV2 (StringRef HSAMetadataString)
 
virtual bool EmitHSAMetadataV3 (StringRef HSAMetadataString)
 
- Public Member Functions inherited from llvm::MCTargetStreamer
 MCTargetStreamer (MCStreamer &S)
 
virtual ~MCTargetStreamer ()
 
MCStreamergetStreamer ()
 
virtual void emitLabel (MCSymbol *Symbol)
 
virtual void emitAssignment (MCSymbol *Symbol, const MCExpr *Value)
 
virtual void prettyPrintAsm (MCInstPrinter &InstPrinter, raw_ostream &OS, const MCInst &Inst, const MCSubtargetInfo &STI)
 
virtual void emitDwarfFileDirective (StringRef Directive)
 
virtual void changeSection (const MCSection *CurSection, MCSection *Section, const MCExpr *SubSection, raw_ostream &OS)
 Update streamer for a new active section. More...
 
virtual void emitValue (const MCExpr *Value)
 
virtual void emitRawBytes (StringRef Data)
 Emit the bytes in Data into the output. More...
 
virtual void finish ()
 

Additional Inherited Members

- Static Public Member Functions inherited from llvm::AMDGPUTargetStreamer
static StringRef getArchNameFromElfMach (unsigned ElfMach)
 
static unsigned getElfMach (StringRef GPU)
 
- Protected Member Functions inherited from llvm::AMDGPUTargetStreamer
MCContextgetContext () const
 
- Protected Attributes inherited from llvm::MCTargetStreamer
MCStreamerStreamer
 

Detailed Description

Definition at line 125 of file AMDGPUTargetStreamer.h.

Constructor & Destructor Documentation

◆ AMDGPUTargetELFStreamer()

AMDGPUTargetELFStreamer::AMDGPUTargetELFStreamer ( MCStreamer S,
const MCSubtargetInfo STI 
)

Member Function Documentation

◆ EmitAMDGPUSymbolType()

void AMDGPUTargetELFStreamer::EmitAMDGPUSymbolType ( StringRef  SymbolName,
unsigned  Type 
)
overridevirtual

◆ EmitAmdhsaKernelDescriptor()

void AMDGPUTargetELFStreamer::EmitAmdhsaKernelDescriptor ( const MCSubtargetInfo STI,
StringRef  KernelName,
const amdhsa::kernel_descriptor_t KernelDescriptor,
uint64_t  NextVGPR,
uint64_t  NextSGPR,
bool  ReserveVCC,
bool  ReserveFlatScr,
bool  ReserveXNACK 
)
overridevirtual

◆ EmitAMDKernelCodeT()

void AMDGPUTargetELFStreamer::EmitAMDKernelCodeT ( const amd_kernel_code_t Header)
overridevirtual

◆ EmitDirectiveAMDGCNTarget()

void AMDGPUTargetELFStreamer::EmitDirectiveAMDGCNTarget ( StringRef  Target)
overridevirtual

Implements llvm::AMDGPUTargetStreamer.

Definition at line 411 of file AMDGPUTargetStreamer.cpp.

◆ EmitDirectiveHSACodeObjectISA()

void AMDGPUTargetELFStreamer::EmitDirectiveHSACodeObjectISA ( uint32_t  Major,
uint32_t  Minor,
uint32_t  Stepping,
StringRef  VendorName,
StringRef  ArchName 
)
overridevirtual

◆ EmitDirectiveHSACodeObjectVersion()

void AMDGPUTargetELFStreamer::EmitDirectiveHSACodeObjectVersion ( uint32_t  Major,
uint32_t  Minor 
)
overridevirtual

◆ EmitHSAMetadata() [1/2]

bool AMDGPUTargetELFStreamer::EmitHSAMetadata ( std::shared_ptr< msgpack::Node > &  HSAMetadata,
bool  Strict 
)
overridevirtual

◆ EmitHSAMetadata() [2/2]

bool AMDGPUTargetELFStreamer::EmitHSAMetadata ( const AMDGPU::HSAMD::Metadata HSAMetadata)
overridevirtual

◆ EmitISAVersion()

bool AMDGPUTargetELFStreamer::EmitISAVersion ( StringRef  IsaVersionString)
overridevirtual

◆ EmitPALMetadata()

bool AMDGPUTargetELFStreamer::EmitPALMetadata ( const AMDGPU::PALMD::Metadata PALMetadata)
overridevirtual

◆ getStreamer()

MCELFStreamer & AMDGPUTargetELFStreamer::getStreamer ( )

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