LLVM 20.0.0git
|
#include "Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h"
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 | |
MCContext & | getContext () const |
Protected Attributes inherited from llvm::AMDGPUTargetStreamer | |
std::optional< AMDGPU::IsaInfo::AMDGPUTargetID > | TargetID |
unsigned | CodeObjectVersion |
Protected Attributes inherited from llvm::MCTargetStreamer | |
MCStreamer & | Streamer |
Definition at line 160 of file AMDGPUTargetStreamer.h.
AMDGPUTargetELFStreamer::AMDGPUTargetELFStreamer | ( | MCStreamer & | S, |
const MCSubtargetInfo & | STI | ||
) |
Definition at line 596 of file AMDGPUTargetStreamer.cpp.
|
overridevirtual |
Reimplemented from llvm::AMDGPUTargetStreamer.
Definition at line 826 of file AMDGPUTargetStreamer.cpp.
References llvm::MCConstantExpr::create(), llvm::MCSymbol::declareCommon(), llvm::AMDGPUTargetStreamer::getContext(), llvm::MCSymbolELF::isBindingSet(), llvm::report_fatal_error(), llvm::MCSymbolELF::setBinding(), llvm::MCSymbol::setIndex(), llvm::MCSymbolELF::setSize(), llvm::MCSymbolELF::setType(), llvm::ELF::SHN_AMDGPU_LDS, Size, llvm::ELF::STB_GLOBAL, and llvm::ELF::STT_OBJECT.
|
overridevirtual |
Reimplemented from llvm::AMDGPUTargetStreamer.
Definition at line 819 of file AMDGPUTargetStreamer.cpp.
References llvm::AMDGPUTargetStreamer::getContext(), and getStreamer().
|
overridevirtual |
Reimplemented from llvm::AMDGPUTargetStreamer.
Definition at line 929 of file AMDGPUTargetStreamer.cpp.
References llvm::amdhsa::kernel_descriptor_t::compute_pgm_rsrc1, llvm::AMDGPU::MCKernelDescriptor::compute_pgm_rsrc1, llvm::amdhsa::kernel_descriptor_t::compute_pgm_rsrc2, llvm::AMDGPU::MCKernelDescriptor::compute_pgm_rsrc2, llvm::amdhsa::kernel_descriptor_t::compute_pgm_rsrc3, llvm::AMDGPU::MCKernelDescriptor::compute_pgm_rsrc3, llvm::MCSymbolRefExpr::create(), llvm::MCConstantExpr::create(), llvm::MCBinaryExpr::createSub(), llvm::MCStreamer::emitInt8(), llvm::MCStreamer::emitLabel(), llvm::MCStreamer::emitValue(), llvm::MCSymbolELF::getBinding(), llvm::MCStreamer::getContext(), llvm::MCSymbolELF::getOther(), getStreamer(), llvm::MCSymbolELF::getVisibility(), llvm::amdhsa::kernel_descriptor_t::group_segment_fixed_size, llvm::AMDGPU::MCKernelDescriptor::group_segment_fixed_size, llvm::amdhsa::kernel_descriptor_t::kernarg_preload, llvm::AMDGPU::MCKernelDescriptor::kernarg_preload, llvm::amdhsa::kernel_descriptor_t::kernarg_size, llvm::AMDGPU::MCKernelDescriptor::kernarg_size, llvm::amdhsa::kernel_descriptor_t::kernel_code_entry_byte_offset, llvm::amdhsa::kernel_descriptor_t::kernel_code_properties, llvm::AMDGPU::MCKernelDescriptor::kernel_code_properties, llvm::amdhsa::kernel_descriptor_t::private_segment_fixed_size, llvm::AMDGPU::MCKernelDescriptor::private_segment_fixed_size, llvm::amdhsa::kernel_descriptor_t::reserved0, llvm::amdhsa::kernel_descriptor_t::reserved1, llvm::amdhsa::kernel_descriptor_t::reserved3, llvm::MCSymbolELF::setBinding(), llvm::MCSymbolELF::setOther(), llvm::MCSymbolELF::setSize(), llvm::MCSymbolELF::setType(), llvm::MCSymbolELF::setVisibility(), llvm::ELF::STT_OBJECT, llvm::ELF::STV_DEFAULT, llvm::ELF::STV_PROTECTED, llvm::MCSymbolRefExpr::VK_AMDGPU_REL64, and llvm::MCSymbolRefExpr::VK_None.
|
overridevirtual |
Reimplemented from llvm::AMDGPUTargetStreamer.
Definition at line 812 of file AMDGPUTargetStreamer.cpp.
References llvm::AMDGPUTargetStreamer::getContext(), getStreamer(), and OS.
|
overridevirtual |
Reimplemented from llvm::AMDGPUTargetStreamer.
Definition at line 903 of file AMDGPUTargetStreamer.cpp.
References CacheLineSize, getStreamer(), I, llvm::AMDGPU::isGFX11Plus(), llvm::AMDGPU::isGFX90A(), and OS.
|
overridevirtual |
Reimplemented from llvm::AMDGPUTargetStreamer.
Definition at line 810 of file AMDGPUTargetStreamer.cpp.
|
overridevirtual |
Reimplemented from llvm::AMDGPUTargetStreamer.
Definition at line 862 of file AMDGPUTargetStreamer.cpp.
References llvm::MCSymbolRefExpr::create(), llvm::MCBinaryExpr::createSub(), llvm::AMDGPUTargetStreamer::getContext(), llvm::msgpack::Document::getRoot(), llvm::AMDGPU::ElfNote::NoteNameV3, llvm::ELF::NT_AMDGPU_METADATA, OS, Verifier, and llvm::msgpack::Document::writeToBlob().
|
overridevirtual |
Reimplemented from llvm::AMDGPUTargetStreamer.
Definition at line 843 of file AMDGPUTargetStreamer.cpp.
References llvm::MCSymbolRefExpr::create(), llvm::MCBinaryExpr::createSub(), llvm::AMDGPUTargetStreamer::getContext(), llvm::AMDGPUTargetStreamer::getTargetID(), llvm::AMDGPU::ElfNote::NoteNameV2, llvm::ELF::NT_AMD_HSA_ISA_NAME, OS, and llvm::dwarf::toString().
|
overridevirtual |
Reimplemented from llvm::AMDGPUTargetStreamer.
Definition at line 889 of file AMDGPUTargetStreamer.cpp.
References getStreamer(), and OS.
|
overridevirtual |
Reimplemented from llvm::MCTargetStreamer.
Definition at line 607 of file AMDGPUTargetStreamer.cpp.
References llvm::AMDGPUTargetStreamer::CodeObjectVersion, llvm::MCConstantExpr::create(), llvm::AMDGPUTargetStreamer::getContext(), llvm::AMDGPU::getELFABIVersion(), llvm::AMDGPUTargetStreamer::getPALMetadata(), getStreamer(), llvm::MCSubtargetInfo::getTargetTriple(), llvm::AMDGPUPALMetadata::getType(), llvm::AMDGPUPALMetadata::getVendor(), llvm::MCELFStreamer::getWriter(), OS, llvm::AMDGPUPALMetadata::reset(), and llvm::AMDGPUPALMetadata::toBlob().
MCELFStreamer & AMDGPUTargetELFStreamer::getStreamer | ( | ) |
Definition at line 600 of file AMDGPUTargetStreamer.cpp.
Referenced by EmitAMDGPUSymbolType(), EmitAmdhsaKernelDescriptor(), EmitAMDKernelCodeT(), EmitCodeEnd(), EmitKernargPreloadHeader(), and finish().