LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Macros | Enumerations
SIDefines.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 SIInstrFlags
 

Macros

#define R_00B028_SPI_SHADER_PGM_RSRC1_PS   0x00B028
 
#define R_00B02C_SPI_SHADER_PGM_RSRC2_PS   0x00B02C
 
#define S_00B02C_EXTRA_LDS_SIZE(x)   (((x) & 0xFF) << 8)
 
#define R_00B128_SPI_SHADER_PGM_RSRC1_VS   0x00B128
 
#define R_00B228_SPI_SHADER_PGM_RSRC1_GS   0x00B228
 
#define R_00B848_COMPUTE_PGM_RSRC1   0x00B848
 
#define S_00B028_VGPRS(x)   (((x) & 0x3F) << 0)
 
#define S_00B028_SGPRS(x)   (((x) & 0x0F) << 6)
 
#define R_00B84C_COMPUTE_PGM_RSRC2   0x00B84C
 
#define S_00B84C_LDS_SIZE(x)   (((x) & 0x1FF) << 15)
 
#define R_0286CC_SPI_PS_INPUT_ENA   0x0286CC
 

Enumerations

enum  {
  SIInstrFlags::MIMG = 1 << 3, SIInstrFlags::SMRD = 1 << 4, SIInstrFlags::VOP1 = 1 << 5, SIInstrFlags::VOP2 = 1 << 6,
  SIInstrFlags::VOP3 = 1 << 7, SIInstrFlags::VOPC = 1 << 8, SIInstrFlags::SALU = 1 << 9
}
 

Macro Definition Documentation

#define R_00B028_SPI_SHADER_PGM_RSRC1_PS   0x00B028

Definition at line 26 of file SIDefines.h.

Referenced by llvm::AMDGPUAsmPrinter::EmitProgramInfoSI().

#define R_00B02C_SPI_SHADER_PGM_RSRC2_PS   0x00B02C

Definition at line 27 of file SIDefines.h.

Referenced by llvm::AMDGPUAsmPrinter::EmitProgramInfoSI().

#define R_00B128_SPI_SHADER_PGM_RSRC1_VS   0x00B128

Definition at line 29 of file SIDefines.h.

Referenced by llvm::AMDGPUAsmPrinter::EmitProgramInfoSI().

#define R_00B228_SPI_SHADER_PGM_RSRC1_GS   0x00B228

Definition at line 30 of file SIDefines.h.

Referenced by llvm::AMDGPUAsmPrinter::EmitProgramInfoSI().

#define R_00B848_COMPUTE_PGM_RSRC1   0x00B848

Definition at line 31 of file SIDefines.h.

Referenced by llvm::AMDGPUAsmPrinter::EmitProgramInfoSI().

#define R_00B84C_COMPUTE_PGM_RSRC2   0x00B84C

Definition at line 34 of file SIDefines.h.

Referenced by llvm::AMDGPUAsmPrinter::EmitProgramInfoSI().

#define R_0286CC_SPI_PS_INPUT_ENA   0x0286CC

Definition at line 36 of file SIDefines.h.

Referenced by llvm::AMDGPUAsmPrinter::EmitProgramInfoSI().

#define S_00B028_SGPRS (   x)    (((x) & 0x0F) << 6)

Definition at line 33 of file SIDefines.h.

Referenced by llvm::AMDGPUAsmPrinter::EmitProgramInfoSI().

#define S_00B028_VGPRS (   x)    (((x) & 0x3F) << 0)

Definition at line 32 of file SIDefines.h.

Referenced by llvm::AMDGPUAsmPrinter::EmitProgramInfoSI().

#define S_00B02C_EXTRA_LDS_SIZE (   x)    (((x) & 0xFF) << 8)

Definition at line 28 of file SIDefines.h.

Referenced by llvm::AMDGPUAsmPrinter::EmitProgramInfoSI().

#define S_00B84C_LDS_SIZE (   x)    (((x) & 0x1FF) << 15)

Definition at line 35 of file SIDefines.h.

Referenced by llvm::AMDGPUAsmPrinter::EmitProgramInfoSI().