10 #ifndef LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUTARGETSTREAMER_H 11 #define LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUTARGETSTREAMER_H 72 uint64_t NextSGPR,
bool ReserveVCC,
bool ReserveFlatScr,
73 bool ReserveXNACK) = 0;
106 uint64_t NextSGPR,
bool ReserveVCC,
bool ReserveFlatScr,
107 bool ReserveXNACK)
override;
146 uint64_t NextSGPR,
bool ReserveVCC,
bool ReserveFlatScr,
147 bool ReserveXNACK)
override;
Compute iterated dominance frontiers using a linear time algorithm.
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 void EmitAMDGPUSymbolType(StringRef SymbolName, unsigned Type)=0
MCContext & getContext() const
virtual bool EmitHSAMetadata(StringRef HSAMetadataString)
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.
virtual bool EmitPALMetadata(const AMDGPU::PALMD::Metadata &PALMetadata)=0
Context object for machine code objects.
Streaming machine code generation interface.
The instances of the Type class are immutable: once they are created, they are never changed...
virtual void EmitDirectiveHSACodeObjectISA(uint32_t Major, uint32_t Minor, uint32_t Stepping, StringRef VendorName, StringRef ArchName)=0
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
unsigned getMACH(StringRef GPU) const
static const char * getMachName(unsigned Mach)
Target - Wrapper for Target specific information.
virtual void EmitDirectiveHSACodeObjectVersion(uint32_t Major, uint32_t Minor)=0
virtual bool EmitISAVersion(StringRef IsaVersionString)=0
virtual void EmitDirectiveAMDGCNTarget(StringRef Target)=0
AMDGPUTargetStreamer(MCStreamer &S)
Generic base class for all target subtargets.
StringRef - Represent a constant reference to a string, i.e.
std::vector< uint32_t > Metadata
PAL metadata represented as a vector.