LLVM  8.0.1
Typedefs | Enumerations | Functions | Variables
llvm::AMDGPU::PALMD Namespace Reference

Typedefs

typedef std::vector< uint32_tMetadata
 PAL metadata represented as a vector. More...
 

Enumerations

enum  Key : uint32_t {
  LS_NUM_USED_VGPRS = 0x10000021, HS_NUM_USED_VGPRS = 0x10000022, ES_NUM_USED_VGPRS = 0x10000023, GS_NUM_USED_VGPRS = 0x10000024,
  VS_NUM_USED_VGPRS = 0x10000025, PS_NUM_USED_VGPRS = 0x10000026, CS_NUM_USED_VGPRS = 0x10000027, LS_NUM_USED_SGPRS = 0x10000028,
  HS_NUM_USED_SGPRS = 0x10000029, ES_NUM_USED_SGPRS = 0x1000002a, GS_NUM_USED_SGPRS = 0x1000002b, VS_NUM_USED_SGPRS = 0x1000002c,
  PS_NUM_USED_SGPRS = 0x1000002d, CS_NUM_USED_SGPRS = 0x1000002e, LS_SCRATCH_SIZE = 0x10000044, HS_SCRATCH_SIZE = 0x10000045,
  ES_SCRATCH_SIZE = 0x10000046, GS_SCRATCH_SIZE = 0x10000047, VS_SCRATCH_SIZE = 0x10000048, PS_SCRATCH_SIZE = 0x10000049,
  CS_SCRATCH_SIZE = 0x1000004a
}
 PAL metadata keys. More...
 

Functions

std::error_code toString (const Metadata &PALMetadata, std::string &String)
 Converts PALMetadata to String. More...
 

Variables

constexpr char AssemblerDirective [] = ".amd_amdgpu_pal_metadata"
 PAL metadata assembler directive. More...
 

Typedef Documentation

◆ Metadata

PAL metadata represented as a vector.

Definition at line 487 of file AMDGPUMetadata.h.

Enumeration Type Documentation

◆ Key

PAL metadata keys.

Enumerator
LS_NUM_USED_VGPRS 
HS_NUM_USED_VGPRS 
ES_NUM_USED_VGPRS 
GS_NUM_USED_VGPRS 
VS_NUM_USED_VGPRS 
PS_NUM_USED_VGPRS 
CS_NUM_USED_VGPRS 
LS_NUM_USED_SGPRS 
HS_NUM_USED_SGPRS 
ES_NUM_USED_SGPRS 
GS_NUM_USED_SGPRS 
VS_NUM_USED_SGPRS 
PS_NUM_USED_SGPRS 
CS_NUM_USED_SGPRS 
LS_SCRATCH_SIZE 
HS_SCRATCH_SIZE 
ES_SCRATCH_SIZE 
GS_SCRATCH_SIZE 
VS_SCRATCH_SIZE 
PS_SCRATCH_SIZE 
CS_SCRATCH_SIZE 

Definition at line 460 of file AMDGPUMetadata.h.

Function Documentation

◆ toString()

std::error_code llvm::AMDGPU::PALMD::toString ( const Metadata PALMetadata,
std::string &  String 
)

Converts PALMetadata to String.

Definition at line 225 of file AMDGPUMetadata.cpp.

References E, llvm::raw_ostream::flush(), I, and llvm::Twine::utohexstr().

Variable Documentation

◆ AssemblerDirective

constexpr char llvm::AMDGPU::PALMD::AssemblerDirective[] = ".amd_amdgpu_pal_metadata"

PAL metadata assembler directive.

Definition at line 457 of file AMDGPUMetadata.h.

Referenced by llvm::AMDGPUTargetAsmStreamer::EmitPALMetadata().