LLVM
8.0.1
|
#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::MCTargetStreamer | |
MCStreamer & | Streamer |
Definition at line 125 of file AMDGPUTargetStreamer.h.
AMDGPUTargetELFStreamer::AMDGPUTargetELFStreamer | ( | MCStreamer & | S, |
const MCSubtargetInfo & | STI | ||
) |
Definition at line 366 of file AMDGPUTargetStreamer.cpp.
References llvm::ELF::EF_AMDGPU_MACH, llvm::ELF::EF_AMDGPU_SRAM_ECC, llvm::ELF::EF_AMDGPU_XNACK, llvm::MCObjectStreamer::getAssembler(), llvm::MCSubtargetInfo::getCPU(), llvm::MCAssembler::getELFHeaderEFlags(), llvm::AMDGPUTargetStreamer::getElfMach(), getStreamer(), llvm::AMDGPU::hasSRAMECC(), llvm::AMDGPU::hasXNACK(), and llvm::MCAssembler::setELFHeaderEFlags().
|
overridevirtual |
Implements llvm::AMDGPUTargetStreamer.
Definition at line 459 of file AMDGPUTargetStreamer.cpp.
References llvm::MCStreamer::getContext(), llvm::MCContext::getOrCreateSymbol(), getStreamer(), llvm::MCSymbolELF::setType(), and llvm::ARMBuildAttrs::Symbol.
|
overridevirtual |
Implements llvm::AMDGPUTargetStreamer.
Definition at line 550 of file AMDGPUTargetStreamer.cpp.
References Context, llvm::MCConstantExpr::create(), llvm::MCSymbolRefExpr::create(), llvm::MCBinaryExpr::createSub(), llvm::MCStreamer::EmitBytes(), llvm::MCStreamer::EmitLabel(), llvm::MCStreamer::EmitValue(), llvm::MCStreamer::getContext(), getStreamer(), llvm::amdhsa::kernel_descriptor_t::kernel_code_entry_byte_offset, offsetof, llvm::MCSymbolELF::setBinding(), llvm::MCSymbolELF::setSize(), llvm::MCSymbolELF::setType(), llvm::ELF::STB_GLOBAL, llvm::ELF::STB_LOCAL, llvm::ELF::STT_OBJECT, llvm::MCSymbolRefExpr::VK_AMDGPU_REL64, and llvm::MCSymbolRefExpr::VK_None.
|
overridevirtual |
Implements llvm::AMDGPUTargetStreamer.
Definition at line 451 of file AMDGPUTargetStreamer.cpp.
References llvm::MCStreamer::EmitBytes(), getStreamer(), llvm::MCStreamer::PopSection(), and llvm::MCStreamer::PushSection().
|
overridevirtual |
Implements llvm::AMDGPUTargetStreamer.
Definition at line 411 of file AMDGPUTargetStreamer.cpp.
|
overridevirtual |
Implements llvm::AMDGPUTargetStreamer.
Definition at line 424 of file AMDGPUTargetStreamer.cpp.
References llvm::MCConstantExpr::create(), llvm::MCObjectStreamer::EmitBytes(), llvm::MCStreamer::EmitIntValue(), llvm::AMDGPUTargetStreamer::getContext(), AMDGPU::ElfNote::NoteNameV2, AMDGPU::ElfNote::NT_AMDGPU_HSA_ISA, and llvm::StringRef::size().
|
overridevirtual |
Implements llvm::AMDGPUTargetStreamer.
Definition at line 413 of file AMDGPUTargetStreamer.cpp.
References llvm::MCConstantExpr::create(), llvm::MCStreamer::EmitIntValue(), llvm::AMDGPUTargetStreamer::getContext(), AMDGPU::ElfNote::NoteNameV2, and AMDGPU::ElfNote::NT_AMDGPU_HSA_CODE_OBJECT_VERSION.
|
overridevirtual |
Implements llvm::AMDGPUTargetStreamer.
Definition at line 485 of file AMDGPUTargetStreamer.cpp.
References Context, llvm::MCSymbolRefExpr::create(), llvm::MCBinaryExpr::createSub(), llvm::MCObjectStreamer::EmitBytes(), llvm::MCELFStreamer::EmitLabel(), llvm::AMDGPUTargetStreamer::getContext(), AMDGPU::ElfNote::NoteNameV3, llvm::ELF::NT_AMDGPU_METADATA, llvm::raw_string_ostream::str(), Verifier, and llvm::AMDGPU::HSAMD::V3::MetadataVerifier::verify().
|
overridevirtual |
Implements llvm::AMDGPUTargetStreamer.
Definition at line 514 of file AMDGPUTargetStreamer.cpp.
References Context, llvm::MCSymbolRefExpr::create(), llvm::MCBinaryExpr::createSub(), llvm::MCObjectStreamer::EmitBytes(), llvm::MCELFStreamer::EmitLabel(), llvm::AMDGPUTargetStreamer::getContext(), AMDGPU::ElfNote::NoteNameV2, llvm::ELF::NT_AMD_AMDGPU_HSA_METADATA, and llvm::wasm::toString().
Implements llvm::AMDGPUTargetStreamer.
Definition at line 466 of file AMDGPUTargetStreamer.cpp.
References Context, llvm::MCSymbolRefExpr::create(), llvm::MCBinaryExpr::createSub(), llvm::MCObjectStreamer::EmitBytes(), llvm::MCELFStreamer::EmitLabel(), llvm::AMDGPUTargetStreamer::getContext(), AMDGPU::ElfNote::NoteNameV2, and llvm::ELF::NT_AMD_AMDGPU_ISA.
|
overridevirtual |
Implements llvm::AMDGPUTargetStreamer.
Definition at line 538 of file AMDGPUTargetStreamer.cpp.
References llvm::MCConstantExpr::create(), llvm::MCStreamer::EmitIntValue(), llvm::AMDGPUTargetStreamer::getContext(), I, AMDGPU::ElfNote::NoteNameV2, and llvm::ELF::NT_AMD_AMDGPU_PAL_METADATA.
MCELFStreamer & AMDGPUTargetELFStreamer::getStreamer | ( | ) |
Definition at line 386 of file AMDGPUTargetStreamer.cpp.
References Context, Name, AMDGPU::ElfNote::SectionName, llvm::ELF::SHF_ALLOC, llvm::ELF::SHT_NOTE, and llvm::StringRef::size().
Referenced by AMDGPUTargetELFStreamer(), EmitAMDGPUSymbolType(), EmitAmdhsaKernelDescriptor(), and EmitAMDKernelCodeT().