LLVM 20.0.0git
Enumerations | Variables
llvm::AMDGPU::Swizzle Namespace Reference

Enumerations

enum  Id : unsigned {
  ID_QUAD_PERM = 0 , ID_BITMASK_PERM , ID_SWAP , ID_REVERSE ,
  ID_BROADCAST , ID_FFT , ID_ROTATE
}
 
enum  EncBits : unsigned {
  QUAD_PERM_ENC = 0x8000 , QUAD_PERM_ENC_MASK = 0xFF00 , BITMASK_PERM_ENC = 0x0000 , BITMASK_PERM_ENC_MASK = 0x8000 ,
  FFT_MODE_ENC = 0xE000 , ROTATE_MODE_ENC = 0xC000 , FFT_ROTATE_MODE_MASK = 0xF000 , ROTATE_MODE_LO = 0xC000 ,
  FFT_MODE_LO = 0xE000 , LANE_MASK = 0x3 , LANE_MAX = LANE_MASK , LANE_SHIFT = 2 ,
  LANE_NUM = 4 , BITMASK_MASK = 0x1F , BITMASK_MAX = BITMASK_MASK , BITMASK_WIDTH = 5 ,
  BITMASK_AND_SHIFT = 0 , BITMASK_OR_SHIFT = 5 , BITMASK_XOR_SHIFT = 10 , FFT_SWIZZLE_MASK = 0x1F ,
  FFT_SWIZZLE_MAX = 0x1F , ROTATE_MAX_SIZE = 0x1F , ROTATE_DIR_SHIFT = 10 , ROTATE_DIR_MASK = 0x1 ,
  ROTATE_SIZE_SHIFT = 5 , ROTATE_SIZE_MASK = ROTATE_MAX_SIZE
}
 

Variables

const char *const IdSymbolic []
 

Enumeration Type Documentation

◆ EncBits

Enumerator
QUAD_PERM_ENC 
QUAD_PERM_ENC_MASK 
BITMASK_PERM_ENC 
BITMASK_PERM_ENC_MASK 
FFT_MODE_ENC 
ROTATE_MODE_ENC 
FFT_ROTATE_MODE_MASK 
ROTATE_MODE_LO 
FFT_MODE_LO 
LANE_MASK 
LANE_MAX 
LANE_SHIFT 
LANE_NUM 
BITMASK_MASK 
BITMASK_MAX 
BITMASK_WIDTH 
BITMASK_AND_SHIFT 
BITMASK_OR_SHIFT 
BITMASK_XOR_SHIFT 
FFT_SWIZZLE_MASK 
FFT_SWIZZLE_MAX 
ROTATE_MAX_SIZE 
ROTATE_DIR_SHIFT 
ROTATE_DIR_MASK 
ROTATE_SIZE_SHIFT 
ROTATE_SIZE_MASK 

Definition at line 850 of file SIDefines.h.

◆ Id

Enumerator
ID_QUAD_PERM 
ID_BITMASK_PERM 
ID_SWAP 
ID_REVERSE 
ID_BROADCAST 
ID_FFT 
ID_ROTATE 

Definition at line 839 of file SIDefines.h.

Variable Documentation

◆ IdSymbolic

const char *const llvm::AMDGPU::Swizzle::IdSymbolic
Initial value:
= {
"QUAD_PERM",
"BITMASK_PERM",
"SWAP",
"REVERSE",
"BROADCAST",
"FFT",
"ROTATE",
}

Definition at line 650 of file AMDGPUAsmUtils.cpp.