LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::AMDGPUTargetAsmStreamer Class Referencefinal

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

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

Public Member Functions

 AMDGPUTargetAsmStreamer (MCStreamer &S, formatted_raw_ostream &OS)
 
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 (const AMDGPU::HSAMD::Metadata &HSAMetadata) override
 
bool EmitPALMetadata (const AMDGPU::PALMD::Metadata &PALMetadata) override
 
- Public Member Functions inherited from llvm::AMDGPUTargetStreamer
 AMDGPUTargetStreamer (MCStreamer &S)
 
virtual bool EmitHSAMetadata (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 finish ()
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::AMDGPUTargetStreamer
MCContextgetContext () const
 
- Protected Attributes inherited from llvm::MCTargetStreamer
MCStreamerStreamer
 

Detailed Description

Definition at line 61 of file AMDGPUTargetStreamer.h.

Constructor & Destructor Documentation

◆ AMDGPUTargetAsmStreamer()

AMDGPUTargetAsmStreamer::AMDGPUTargetAsmStreamer ( MCStreamer S,
formatted_raw_ostream OS 
)

Definition at line 54 of file AMDGPUTargetStreamer.cpp.

Member Function Documentation

◆ EmitAMDGPUSymbolType()

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

◆ EmitAMDKernelCodeT()

void AMDGPUTargetAsmStreamer::EmitAMDKernelCodeT ( const amd_kernel_code_t Header)
overridevirtual

Implements llvm::AMDGPUTargetStreamer.

Definition at line 78 of file AMDGPUTargetStreamer.cpp.

References llvm::dumpAmdKernelCode().

◆ EmitDirectiveHSACodeObjectISA()

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

Implements llvm::AMDGPUTargetStreamer.

Definition at line 66 of file AMDGPUTargetStreamer.cpp.

◆ EmitDirectiveHSACodeObjectVersion()

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

Implements llvm::AMDGPUTargetStreamer.

Definition at line 59 of file AMDGPUTargetStreamer.cpp.

◆ EmitHSAMetadata()

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

◆ EmitISAVersion()

bool AMDGPUTargetAsmStreamer::EmitISAVersion ( StringRef  IsaVersionString)
overridevirtual
Returns
True on success, false on failure.

Implements llvm::AMDGPUTargetStreamer.

Definition at line 94 of file AMDGPUTargetStreamer.cpp.

◆ EmitPALMetadata()

bool AMDGPUTargetAsmStreamer::EmitPALMetadata ( const AMDGPU::PALMD::Metadata PALMetadata)
overridevirtual
Returns
True on success, false on failure.

Implements llvm::AMDGPUTargetStreamer.

Definition at line 111 of file AMDGPUTargetStreamer.cpp.

References llvm::AMDGPU::PALMD::AssemblerDirective, and llvm::dwarf::toString().


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