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
}
 
enum  EncBits : unsigned {
  QUAD_PERM_ENC = 0x8000 , QUAD_PERM_ENC_MASK = 0xFF00 , BITMASK_PERM_ENC = 0x0000 , BITMASK_PERM_ENC_MASK = 0x8000 ,
  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
}
 

Variables

const char *const IdSymbolic []
 

Enumeration Type Documentation

◆ EncBits

Enumerator
QUAD_PERM_ENC 
QUAD_PERM_ENC_MASK 
BITMASK_PERM_ENC 
BITMASK_PERM_ENC_MASK 
LANE_MASK 
LANE_MAX 
LANE_SHIFT 
LANE_NUM 
BITMASK_MASK 
BITMASK_MAX 
BITMASK_WIDTH 
BITMASK_AND_SHIFT 
BITMASK_OR_SHIFT 
BITMASK_XOR_SHIFT 

Definition at line 847 of file SIDefines.h.

◆ Id

Enumerator
ID_QUAD_PERM 
ID_BITMASK_PERM 
ID_SWAP 
ID_REVERSE 
ID_BROADCAST 

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",
}

Definition at line 649 of file AMDGPUAsmUtils.cpp.