10 #ifndef LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUTARGETSTREAMER_H
11 #define LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUTARGETSTREAMER_H
81 void EmitAMDGPUNote(
const MCExpr* DescSize,
void EmitRuntimeMetadata(Module &M) override
void EmitRuntimeMetadata(Module &M) override
A Module instance is used to store all the information related to an LLVM module. ...
virtual void EmitRuntimeMetadata(Module &M)=0
void EmitAMDGPUHsaProgramScopeGlobal(StringRef GlobalName) override
Target specific streamer interface.
virtual void EmitAMDGPUSymbolType(StringRef SymbolName, unsigned Type)=0
void EmitDirectiveHSACodeObjectISA(uint32_t Major, uint32_t Minor, uint32_t Stepping, StringRef VendorName, StringRef ArchName) override
void EmitDirectiveHSACodeObjectISA(uint32_t Major, uint32_t Minor, uint32_t Stepping, StringRef VendorName, StringRef ArchName) override
AMD Kernel Code Object (amd_kernel_code_t).
virtual void EmitAMDGPUHsaModuleScopeGlobal(StringRef GlobalName)=0
MCContext & getContext() const
Base class for the full range of assembler expressions which are needed for parsing.
void EmitAMDGPUHsaModuleScopeGlobal(StringRef GlobalName) override
MCContext & getContext() const
Context object for machine code objects.
virtual void EmitAMDGPUHsaProgramScopeGlobal(StringRef GlobalName)=0
void EmitAMDGPUHsaProgramScopeGlobal(StringRef GlobalName) override
Streaming machine code generation interface.
The instances of the Type class are immutable: once they are created, they are never changed...
void EmitDirectiveHSACodeObjectVersion(uint32_t Major, uint32_t Minor) override
AMDGPUTargetAsmStreamer(MCStreamer &S, formatted_raw_ostream &OS)
void EmitAMDGPUHsaModuleScopeGlobal(StringRef GlobalName) override
virtual void EmitDirectiveHSACodeObjectISA(uint32_t Major, uint32_t Minor, uint32_t Stepping, StringRef VendorName, StringRef ArchName)=0
MCELFStreamer & getStreamer()
void EmitAMDGPUSymbolType(StringRef SymbolName, unsigned Type) override
Enums and constants for AMDGPU PT_NOTE sections.
AMDGPUTargetStreamer(MCStreamer &S)
AMDGPUTargetELFStreamer(MCStreamer &S)
void EmitAMDKernelCodeT(const amd_kernel_code_t &Header) override
virtual void EmitAMDKernelCodeT(const amd_kernel_code_t &Header)=0
void EmitDirectiveHSACodeObjectVersion(uint32_t Major, uint32_t Minor) override
virtual void EmitDirectiveHSACodeObjectVersion(uint32_t Major, uint32_t Minor)=0
void EmitAMDGPUSymbolType(StringRef SymbolName, unsigned Type) override
void EmitAMDKernelCodeT(const amd_kernel_code_t &Header) override
print Print MemDeps of function
StringRef - Represent a constant reference to a string, i.e.