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

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

Inheritance diagram for llvm::AMDGPUTargetELFStreamer:
Inheritance graph
Collaboration diagram for llvm::AMDGPUTargetELFStreamer:
Collaboration graph

Public Member Functions

 AMDGPUTargetELFStreamer (MCStreamer &S, const MCSubtargetInfo &STI)
MCELFStreamergetStreamer ()
void finish () override
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
void emitAMDGPULDS (MCSymbol *Sym, unsigned Size, unsigned Align) override
bool EmitISAVersion (StringRef IsaVersionString) override
bool EmitHSAMetadata (msgpack::Document &HSAMetadata, bool Strict) override
bool EmitHSAMetadata (const AMDGPU::HSAMD::Metadata &HSAMetadata) override
bool EmitCodeEnd () 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)
AMDGPUPALMetadatagetPALMetadata ()
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...

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

Detailed Description

Definition at line 134 of file AMDGPUTargetStreamer.h.

Constructor & Destructor Documentation

◆ AMDGPUTargetELFStreamer()

AMDGPUTargetELFStreamer::AMDGPUTargetELFStreamer ( MCStreamer S,
const MCSubtargetInfo STI 

Member Function Documentation


void AMDGPUTargetELFStreamer::emitAMDGPULDS ( MCSymbol Sym,
unsigned  Size,
unsigned  Align 

◆ EmitAMDGPUSymbolType()

void AMDGPUTargetELFStreamer::EmitAMDGPUSymbolType ( StringRef  SymbolName,
unsigned  Type 

◆ 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 

◆ EmitAMDKernelCodeT()

void AMDGPUTargetELFStreamer::EmitAMDKernelCodeT ( const amd_kernel_code_t Header)

◆ EmitCodeEnd()

bool AMDGPUTargetELFStreamer::EmitCodeEnd ( )

◆ EmitDirectiveAMDGCNTarget()

void AMDGPUTargetELFStreamer::EmitDirectiveAMDGCNTarget ( StringRef  Target)

Implements llvm::AMDGPUTargetStreamer.

Definition at line 453 of file AMDGPUTargetStreamer.cpp.

◆ EmitDirectiveHSACodeObjectISA()

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

◆ EmitDirectiveHSACodeObjectVersion()

void AMDGPUTargetELFStreamer::EmitDirectiveHSACodeObjectVersion ( uint32_t  Major,
uint32_t  Minor 

◆ EmitHSAMetadata() [1/2]

bool AMDGPUTargetELFStreamer::EmitHSAMetadata ( msgpack::Document HSAMetadata,
bool  Strict 

◆ EmitHSAMetadata() [2/2]

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

◆ EmitISAVersion()

bool AMDGPUTargetELFStreamer::EmitISAVersion ( StringRef  IsaVersionString)

◆ finish()

void AMDGPUTargetELFStreamer::finish ( )

◆ getStreamer()

MCELFStreamer & AMDGPUTargetELFStreamer::getStreamer ( )

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