9 #ifndef LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUTARGETSTREAMER_H 10 #define LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUTARGETSTREAMER_H 86 uint64_t NextSGPR,
bool ReserveVCC,
bool ReserveFlatScr,
87 bool ReserveXNACK) = 0;
130 uint64_t NextSGPR,
bool ReserveVCC,
bool ReserveFlatScr,
131 bool ReserveXNACK)
override;
177 uint64_t NextSGPR,
bool ReserveVCC,
bool ReserveFlatScr,
178 bool ReserveXNACK)
override;
This class represents lattice values for constants.
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
amdgpu Simplify well known AMD library false FunctionCallee Value const Twine & Name
Target specific streamer interface.
An efficient, type-erasing, non-owning reference to a callable.
virtual 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)=0
virtual bool EmitHSAMetadataV2(StringRef HSAMetadataString)
virtual void EmitAMDGPUSymbolType(StringRef SymbolName, unsigned Type)=0
virtual bool EmitHSAMetadataV3(StringRef HSAMetadataString)
MCContext & getContext() const
constexpr char SymbolName[]
Key for Kernel::Metadata::mSymbolName.
AMD Kernel Code Object (amd_kernel_code_t).
Base class for the full range of assembler expressions which are needed for parsing.
static StringRef getArchNameFromElfMach(unsigned ElfMach)
Context object for machine code objects.
virtual bool EmitCodeEnd()=0
Streaming machine code generation interface.
AMDGPUPALMetadata * getPALMetadata()
The instances of the Type class are immutable: once they are created, they are never changed...
static unsigned getElfMach(StringRef GPU)
virtual void EmitDirectiveHSACodeObjectISA(uint32_t Major, uint32_t Minor, uint32_t Stepping, StringRef VendorName, StringRef ArchName)=0
This struct is a compact representation of a valid (non-zero power of two) alignment.
AMDHSA kernel descriptor definitions.
Enums and constants for AMDGPU PT_NOTE sections.
MCStreamer & getStreamer()
MCContext & getContext() const
virtual void EmitAMDKernelCodeT(const amd_kernel_code_t &Header)=0
Target - Wrapper for Target specific information.
virtual void EmitDirectiveHSACodeObjectVersion(uint32_t Major, uint32_t Minor)=0
Simple in-memory representation of a document of msgpack objects with ability to find and create arra...
virtual bool EmitISAVersion(StringRef IsaVersionString)=0
virtual void EmitDirectiveAMDGCNTarget(StringRef Target)=0
AMDGPUTargetStreamer(MCStreamer &S)
Generic base class for all target subtargets.
virtual bool EmitHSAMetadata(msgpack::Document &HSAMetadata, bool Strict)=0
Emit HSA Metadata.
StringRef - Represent a constant reference to a string, i.e.
virtual void emitAMDGPULDS(MCSymbol *Symbol, unsigned Size, unsigned Align)=0