#ifndef LLVM_LIB_TARGET_AMDGPU_SIDEFINES_H
#define LLVM_LIB_TARGET_AMDGPU_SIDEFINES_H
#include "llvm/MC/MCInstrDesc.h"
namespace llvm {
enum SIRCFlags : uint8_t { … };
namespace SIEncodingFamily {
enum { … };
}
namespace SIInstrFlags {
enum : uint64_t { … };
enum ClassFlags : unsigned { … };
}
namespace AMDGPU {
enum OperandType : unsigned { … };
enum OperandSemantics : unsigned { … };
}
namespace SISrcMods {
enum : unsigned { … };
}
namespace SIOutMods {
enum : unsigned { … };
}
namespace AMDGPU {
namespace VGPRIndexMode {
enum Id : unsigned { … };
enum EncBits : unsigned { … };
}
}
namespace AMDGPUAsmVariants {
enum : unsigned { … };
}
namespace AMDGPU {
namespace EncValues {
enum : unsigned { … };
}
namespace HWEncoding {
enum : unsigned { … };
}
namespace CPol {
enum CPol { … };
}
namespace SendMsg {
enum Id { … };
enum Op { … };
enum StreamId : unsigned { … };
}
namespace Hwreg {
enum Id { … };
enum Offset : unsigned { … };
enum ModeRegisterMasks : uint32_t { … };
}
namespace MTBUFFormat {
enum DataFormat : int64_t { … };
enum NumFormat : int64_t { … };
enum MergedFormat : int64_t { … };
enum UnifiedFormatCommon : int64_t { … };
}
namespace UfmtGFX10 {
enum UnifiedFormat : int64_t { … };
}
namespace UfmtGFX11 {
enum UnifiedFormat : int64_t { … };
}
namespace Swizzle {
enum Id : unsigned { … };
enum EncBits : unsigned { … };
}
namespace SDWA {
enum SdwaSel : unsigned { … };
enum DstUnused : unsigned { … };
enum SDWA9EncValues : unsigned { … };
}
namespace DPP {
enum DppCtrl : unsigned { … };
enum DppFiMode { … };
}
namespace Exp {
enum Target : unsigned { … };
}
namespace VOP3PEncoding {
enum OpSel : uint64_t { … };
}
namespace ImplicitArg {
enum Offset_COV5 : unsigned { … };
}
namespace VirtRegFlag {
enum Register_Flag : uint8_t { … };
}
}
namespace AMDGPU {
namespace Barrier {
enum Type { … };
}
}
#define R_00B028_SPI_SHADER_PGM_RSRC1_PS …
#define S_00B028_VGPRS(x) …
#define S_00B028_SGPRS(x) …
#define S_00B028_MEM_ORDERED(x) …
#define G_00B028_MEM_ORDERED(x) …
#define C_00B028_MEM_ORDERED …
#define R_00B02C_SPI_SHADER_PGM_RSRC2_PS …
#define S_00B02C_EXTRA_LDS_SIZE(x) …
#define R_00B128_SPI_SHADER_PGM_RSRC1_VS …
#define S_00B128_MEM_ORDERED(x) …
#define G_00B128_MEM_ORDERED(x) …
#define C_00B128_MEM_ORDERED …
#define R_00B228_SPI_SHADER_PGM_RSRC1_GS …
#define S_00B228_WGP_MODE(x) …
#define G_00B228_WGP_MODE(x) …
#define C_00B228_WGP_MODE …
#define S_00B228_MEM_ORDERED(x) …
#define G_00B228_MEM_ORDERED(x) …
#define C_00B228_MEM_ORDERED …
#define R_00B328_SPI_SHADER_PGM_RSRC1_ES …
#define R_00B428_SPI_SHADER_PGM_RSRC1_HS …
#define S_00B428_WGP_MODE(x) …
#define G_00B428_WGP_MODE(x) …
#define C_00B428_WGP_MODE …
#define S_00B428_MEM_ORDERED(x) …
#define G_00B428_MEM_ORDERED(x) …
#define C_00B428_MEM_ORDERED …
#define R_00B528_SPI_SHADER_PGM_RSRC1_LS …
#define R_00B84C_COMPUTE_PGM_RSRC2 …
#define S_00B84C_SCRATCH_EN(x) …
#define G_00B84C_SCRATCH_EN(x) …
#define C_00B84C_SCRATCH_EN …
#define S_00B84C_USER_SGPR(x) …
#define G_00B84C_USER_SGPR(x) …
#define C_00B84C_USER_SGPR …
#define S_00B84C_TRAP_HANDLER(x) …
#define G_00B84C_TRAP_HANDLER(x) …
#define C_00B84C_TRAP_HANDLER …
#define S_00B84C_TGID_X_EN(x) …
#define G_00B84C_TGID_X_EN(x) …
#define C_00B84C_TGID_X_EN …
#define S_00B84C_TGID_Y_EN(x) …
#define G_00B84C_TGID_Y_EN(x) …
#define C_00B84C_TGID_Y_EN …
#define S_00B84C_TGID_Z_EN(x) …
#define G_00B84C_TGID_Z_EN(x) …
#define C_00B84C_TGID_Z_EN …
#define S_00B84C_TG_SIZE_EN(x) …
#define G_00B84C_TG_SIZE_EN(x) …
#define C_00B84C_TG_SIZE_EN …
#define S_00B84C_TIDIG_COMP_CNT(x) …
#define G_00B84C_TIDIG_COMP_CNT(x) …
#define C_00B84C_TIDIG_COMP_CNT …
#define S_00B84C_EXCP_EN_MSB(x) …
#define G_00B84C_EXCP_EN_MSB(x) …
#define C_00B84C_EXCP_EN_MSB …
#define S_00B84C_LDS_SIZE(x) …
#define G_00B84C_LDS_SIZE(x) …
#define C_00B84C_LDS_SIZE …
#define S_00B84C_EXCP_EN(x) …
#define G_00B84C_EXCP_EN(x) …
#define C_00B84C_EXCP_EN …
#define R_0286CC_SPI_PS_INPUT_ENA …
#define R_0286D0_SPI_PS_INPUT_ADDR …
#define R_00B848_COMPUTE_PGM_RSRC1 …
#define S_00B848_VGPRS(x) …
#define G_00B848_VGPRS(x) …
#define C_00B848_VGPRS …
#define S_00B848_SGPRS(x) …
#define G_00B848_SGPRS(x) …
#define C_00B848_SGPRS …
#define S_00B848_PRIORITY(x) …
#define G_00B848_PRIORITY(x) …
#define C_00B848_PRIORITY …
#define S_00B848_FLOAT_MODE(x) …
#define G_00B848_FLOAT_MODE(x) …
#define C_00B848_FLOAT_MODE …
#define S_00B848_PRIV(x) …
#define G_00B848_PRIV(x) …
#define C_00B848_PRIV …
#define S_00B848_DX10_CLAMP(x) …
#define G_00B848_DX10_CLAMP(x) …
#define C_00B848_DX10_CLAMP …
#define S_00B848_RR_WG_MODE(x) …
#define G_00B848_RR_WG_MODE(x) …
#define C_00B848_RR_WG_MODE …
#define S_00B848_DEBUG_MODE(x) …
#define G_00B848_DEBUG_MODE(x) …
#define C_00B848_DEBUG_MODE …
#define S_00B848_IEEE_MODE(x) …
#define G_00B848_IEEE_MODE(x) …
#define C_00B848_IEEE_MODE …
#define S_00B848_WGP_MODE(x) …
#define G_00B848_WGP_MODE(x) …
#define C_00B848_WGP_MODE …
#define S_00B848_MEM_ORDERED(x) …
#define G_00B848_MEM_ORDERED(x) …
#define C_00B848_MEM_ORDERED …
#define S_00B848_FWD_PROGRESS(x) …
#define G_00B848_FWD_PROGRESS(x) …
#define C_00B848_FWD_PROGRESS …
#define FP_ROUND_ROUND_TO_NEAREST …
#define FP_ROUND_ROUND_TO_INF …
#define FP_ROUND_ROUND_TO_NEGINF …
#define FP_ROUND_ROUND_TO_ZERO …
#define FP_ROUND_MODE_SP(x) …
#define FP_ROUND_MODE_DP(x) …
#define FP_DENORM_FLUSH_IN_FLUSH_OUT …
#define FP_DENORM_FLUSH_OUT …
#define FP_DENORM_FLUSH_IN …
#define FP_DENORM_FLUSH_NONE …
#define FP_DENORM_MODE_SP(x) …
#define FP_DENORM_MODE_DP(x) …
#define R_00B860_COMPUTE_TMPRING_SIZE …
#define S_00B860_WAVESIZE_PreGFX11(x) …
#define S_00B860_WAVESIZE_GFX11(x) …
#define S_00B860_WAVESIZE_GFX12Plus(x) …
#define R_0286E8_SPI_TMPRING_SIZE …
#define S_0286E8_WAVESIZE_PreGFX11(x) …
#define S_0286E8_WAVESIZE_GFX11(x) …
#define S_0286E8_WAVESIZE_GFX12Plus(x) …
#define R_028B54_VGT_SHADER_STAGES_EN …
#define S_028B54_HS_W32_EN(x) …
#define S_028B54_GS_W32_EN(x) …
#define S_028B54_VS_W32_EN(x) …
#define R_0286D8_SPI_PS_IN_CONTROL …
#define S_0286D8_PS_W32_EN(x) …
#define R_00B800_COMPUTE_DISPATCH_INITIATOR …
#define S_00B800_CS_W32_EN(x) …
#define R_SPILLED_SGPRS …
#define R_SPILLED_VGPRS …
}
#endif