LLVM
8.0.1
|
#include "llvm/MC/MCInstrDesc.h"
Go to the source code of this file.
Namespaces | |
llvm | |
This class represents lattice values for constants. | |
llvm::SIInstrFlags | |
llvm::AMDGPU | |
llvm::SIStackID | |
llvm::SISrcMods | |
llvm::SIOutMods | |
llvm::VGPRIndexMode | |
llvm::AMDGPUAsmVariants | |
llvm::AMDGPU::EncValues | |
llvm::AMDGPU::SendMsg | |
llvm::AMDGPU::Hwreg | |
llvm::AMDGPU::Swizzle | |
llvm::AMDGPU::SDWA | |
llvm::AMDGPU::DPP | |
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_00B328_SPI_SHADER_PGM_RSRC1_ES 0x00B328 |
#define | R_00B428_SPI_SHADER_PGM_RSRC1_HS 0x00B428 |
#define | R_00B528_SPI_SHADER_PGM_RSRC1_LS 0x00B528 |
#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_SCRATCH_EN(x) (((x) & 0x1) << 0) |
#define | G_00B84C_SCRATCH_EN(x) (((x) >> 0) & 0x1) |
#define | C_00B84C_SCRATCH_EN 0xFFFFFFFE |
#define | S_00B84C_USER_SGPR(x) (((x) & 0x1F) << 1) |
#define | G_00B84C_USER_SGPR(x) (((x) >> 1) & 0x1F) |
#define | C_00B84C_USER_SGPR 0xFFFFFFC1 |
#define | S_00B84C_TRAP_HANDLER(x) (((x) & 0x1) << 6) |
#define | G_00B84C_TRAP_HANDLER(x) (((x) >> 6) & 0x1) |
#define | C_00B84C_TRAP_HANDLER 0xFFFFFFBF |
#define | S_00B84C_TGID_X_EN(x) (((x) & 0x1) << 7) |
#define | G_00B84C_TGID_X_EN(x) (((x) >> 7) & 0x1) |
#define | C_00B84C_TGID_X_EN 0xFFFFFF7F |
#define | S_00B84C_TGID_Y_EN(x) (((x) & 0x1) << 8) |
#define | G_00B84C_TGID_Y_EN(x) (((x) >> 8) & 0x1) |
#define | C_00B84C_TGID_Y_EN 0xFFFFFEFF |
#define | S_00B84C_TGID_Z_EN(x) (((x) & 0x1) << 9) |
#define | G_00B84C_TGID_Z_EN(x) (((x) >> 9) & 0x1) |
#define | C_00B84C_TGID_Z_EN 0xFFFFFDFF |
#define | S_00B84C_TG_SIZE_EN(x) (((x) & 0x1) << 10) |
#define | G_00B84C_TG_SIZE_EN(x) (((x) >> 10) & 0x1) |
#define | C_00B84C_TG_SIZE_EN 0xFFFFFBFF |
#define | S_00B84C_TIDIG_COMP_CNT(x) (((x) & 0x03) << 11) |
#define | G_00B84C_TIDIG_COMP_CNT(x) (((x) >> 11) & 0x03) |
#define | C_00B84C_TIDIG_COMP_CNT 0xFFFFE7FF |
#define | S_00B84C_EXCP_EN_MSB(x) (((x) & 0x03) << 13) |
#define | G_00B84C_EXCP_EN_MSB(x) (((x) >> 13) & 0x03) |
#define | C_00B84C_EXCP_EN_MSB 0xFFFF9FFF |
#define | S_00B84C_LDS_SIZE(x) (((x) & 0x1FF) << 15) |
#define | G_00B84C_LDS_SIZE(x) (((x) >> 15) & 0x1FF) |
#define | C_00B84C_LDS_SIZE 0xFF007FFF |
#define | S_00B84C_EXCP_EN(x) (((x) & 0x7F) << 24) |
#define | G_00B84C_EXCP_EN(x) (((x) >> 24) & 0x7F) |
#define | C_00B84C_EXCP_EN |
#define | R_0286CC_SPI_PS_INPUT_ENA 0x0286CC |
#define | R_0286D0_SPI_PS_INPUT_ADDR 0x0286D0 |
#define | R_00B848_COMPUTE_PGM_RSRC1 0x00B848 |
#define | S_00B848_VGPRS(x) (((x) & 0x3F) << 0) |
#define | G_00B848_VGPRS(x) (((x) >> 0) & 0x3F) |
#define | C_00B848_VGPRS 0xFFFFFFC0 |
#define | S_00B848_SGPRS(x) (((x) & 0x0F) << 6) |
#define | G_00B848_SGPRS(x) (((x) >> 6) & 0x0F) |
#define | C_00B848_SGPRS 0xFFFFFC3F |
#define | S_00B848_PRIORITY(x) (((x) & 0x03) << 10) |
#define | G_00B848_PRIORITY(x) (((x) >> 10) & 0x03) |
#define | C_00B848_PRIORITY 0xFFFFF3FF |
#define | S_00B848_FLOAT_MODE(x) (((x) & 0xFF) << 12) |
#define | G_00B848_FLOAT_MODE(x) (((x) >> 12) & 0xFF) |
#define | C_00B848_FLOAT_MODE 0xFFF00FFF |
#define | S_00B848_PRIV(x) (((x) & 0x1) << 20) |
#define | G_00B848_PRIV(x) (((x) >> 20) & 0x1) |
#define | C_00B848_PRIV 0xFFEFFFFF |
#define | S_00B848_DX10_CLAMP(x) (((x) & 0x1) << 21) |
#define | G_00B848_DX10_CLAMP(x) (((x) >> 21) & 0x1) |
#define | C_00B848_DX10_CLAMP 0xFFDFFFFF |
#define | S_00B848_DEBUG_MODE(x) (((x) & 0x1) << 22) |
#define | G_00B848_DEBUG_MODE(x) (((x) >> 22) & 0x1) |
#define | C_00B848_DEBUG_MODE 0xFFBFFFFF |
#define | S_00B848_IEEE_MODE(x) (((x) & 0x1) << 23) |
#define | G_00B848_IEEE_MODE(x) (((x) >> 23) & 0x1) |
#define | C_00B848_IEEE_MODE 0xFF7FFFFF |
#define | FP_ROUND_ROUND_TO_NEAREST 0 |
#define | FP_ROUND_ROUND_TO_INF 1 |
#define | FP_ROUND_ROUND_TO_NEGINF 2 |
#define | FP_ROUND_ROUND_TO_ZERO 3 |
#define | FP_ROUND_MODE_SP(x) ((x) & 0x3) |
#define | FP_ROUND_MODE_DP(x) (((x) & 0x3) << 2) |
#define | FP_DENORM_FLUSH_IN_FLUSH_OUT 0 |
#define | FP_DENORM_FLUSH_OUT 1 |
#define | FP_DENORM_FLUSH_IN 2 |
#define | FP_DENORM_FLUSH_NONE 3 |
#define | FP_DENORM_MODE_SP(x) (((x) & 0x3) << 4) |
#define | FP_DENORM_MODE_DP(x) (((x) & 0x3) << 6) |
#define | R_00B860_COMPUTE_TMPRING_SIZE 0x00B860 |
#define | S_00B860_WAVESIZE(x) (((x) & 0x1FFF) << 12) |
#define | R_0286E8_SPI_TMPRING_SIZE 0x0286E8 |
#define | S_0286E8_WAVESIZE(x) (((x) & 0x1FFF) << 12) |
#define | R_SPILLED_SGPRS 0x4 |
#define | R_SPILLED_VGPRS 0x8 |
#define C_00B848_DEBUG_MODE 0xFFBFFFFF |
Definition at line 504 of file SIDefines.h.
#define C_00B848_DX10_CLAMP 0xFFDFFFFF |
Definition at line 501 of file SIDefines.h.
#define C_00B848_FLOAT_MODE 0xFFF00FFF |
Definition at line 495 of file SIDefines.h.
#define C_00B848_IEEE_MODE 0xFF7FFFFF |
Definition at line 507 of file SIDefines.h.
#define C_00B848_PRIORITY 0xFFFFF3FF |
Definition at line 492 of file SIDefines.h.
#define C_00B848_PRIV 0xFFEFFFFF |
Definition at line 498 of file SIDefines.h.
#define C_00B848_SGPRS 0xFFFFFC3F |
Definition at line 489 of file SIDefines.h.
#define C_00B848_VGPRS 0xFFFFFFC0 |
Definition at line 486 of file SIDefines.h.
#define C_00B84C_EXCP_EN |
Definition at line 478 of file SIDefines.h.
#define C_00B84C_EXCP_EN_MSB 0xFFFF9FFF |
Definition at line 471 of file SIDefines.h.
#define C_00B84C_LDS_SIZE 0xFF007FFF |
Definition at line 475 of file SIDefines.h.
#define C_00B84C_SCRATCH_EN 0xFFFFFFFE |
Definition at line 446 of file SIDefines.h.
#define C_00B84C_TG_SIZE_EN 0xFFFFFBFF |
Definition at line 464 of file SIDefines.h.
#define C_00B84C_TGID_X_EN 0xFFFFFF7F |
Definition at line 455 of file SIDefines.h.
#define C_00B84C_TGID_Y_EN 0xFFFFFEFF |
Definition at line 458 of file SIDefines.h.
#define C_00B84C_TGID_Z_EN 0xFFFFFDFF |
Definition at line 461 of file SIDefines.h.
#define C_00B84C_TIDIG_COMP_CNT 0xFFFFE7FF |
Definition at line 467 of file SIDefines.h.
#define C_00B84C_TRAP_HANDLER 0xFFFFFFBF |
Definition at line 452 of file SIDefines.h.
#define C_00B84C_USER_SGPR 0xFFFFFFC1 |
Definition at line 449 of file SIDefines.h.
#define FP_DENORM_FLUSH_IN 2 |
Definition at line 523 of file SIDefines.h.
#define FP_DENORM_FLUSH_IN_FLUSH_OUT 0 |
Definition at line 521 of file SIDefines.h.
Referenced by getFPMode(), and getFPTernOp().
#define FP_DENORM_FLUSH_NONE 3 |
Definition at line 524 of file SIDefines.h.
Referenced by getFPMode(), and getFPTernOp().
#define FP_DENORM_FLUSH_OUT 1 |
Definition at line 522 of file SIDefines.h.
#define FP_DENORM_MODE_DP | ( | x | ) | (((x) & 0x3) << 6) |
Definition at line 530 of file SIDefines.h.
Referenced by getFPMode().
#define FP_DENORM_MODE_SP | ( | x | ) | (((x) & 0x3) << 4) |
Definition at line 529 of file SIDefines.h.
Referenced by getFPMode().
#define FP_ROUND_MODE_DP | ( | x | ) | (((x) & 0x3) << 2) |
Definition at line 519 of file SIDefines.h.
Referenced by BlockData::BlockData(), llvm::createSIModeRegisterPass(), and getFPMode().
#define FP_ROUND_MODE_SP | ( | x | ) | ((x) & 0x3) |
Definition at line 518 of file SIDefines.h.
Referenced by getFPMode().
#define FP_ROUND_ROUND_TO_INF 1 |
Definition at line 512 of file SIDefines.h.
#define FP_ROUND_ROUND_TO_NEAREST 0 |
Definition at line 511 of file SIDefines.h.
Referenced by BlockData::BlockData(), and getFPMode().
#define FP_ROUND_ROUND_TO_NEGINF 2 |
Definition at line 513 of file SIDefines.h.
#define FP_ROUND_ROUND_TO_ZERO 3 |
Definition at line 514 of file SIDefines.h.
Referenced by llvm::createSIModeRegisterPass().
#define G_00B848_DEBUG_MODE | ( | x | ) | (((x) >> 22) & 0x1) |
Definition at line 503 of file SIDefines.h.
#define G_00B848_DX10_CLAMP | ( | x | ) | (((x) >> 21) & 0x1) |
Definition at line 500 of file SIDefines.h.
#define G_00B848_FLOAT_MODE | ( | x | ) | (((x) >> 12) & 0xFF) |
Definition at line 494 of file SIDefines.h.
#define G_00B848_IEEE_MODE | ( | x | ) | (((x) >> 23) & 0x1) |
Definition at line 506 of file SIDefines.h.
#define G_00B848_PRIORITY | ( | x | ) | (((x) >> 10) & 0x03) |
Definition at line 491 of file SIDefines.h.
#define G_00B848_PRIV | ( | x | ) | (((x) >> 20) & 0x1) |
Definition at line 497 of file SIDefines.h.
#define G_00B848_SGPRS | ( | x | ) | (((x) >> 6) & 0x0F) |
Definition at line 488 of file SIDefines.h.
#define G_00B848_VGPRS | ( | x | ) | (((x) >> 0) & 0x3F) |
Definition at line 485 of file SIDefines.h.
#define G_00B84C_EXCP_EN | ( | x | ) | (((x) >> 24) & 0x7F) |
Definition at line 477 of file SIDefines.h.
#define G_00B84C_EXCP_EN_MSB | ( | x | ) | (((x) >> 13) & 0x03) |
Definition at line 470 of file SIDefines.h.
#define G_00B84C_LDS_SIZE | ( | x | ) | (((x) >> 15) & 0x1FF) |
Definition at line 474 of file SIDefines.h.
#define G_00B84C_SCRATCH_EN | ( | x | ) | (((x) >> 0) & 0x1) |
Definition at line 445 of file SIDefines.h.
#define G_00B84C_TG_SIZE_EN | ( | x | ) | (((x) >> 10) & 0x1) |
Definition at line 463 of file SIDefines.h.
#define G_00B84C_TGID_X_EN | ( | x | ) | (((x) >> 7) & 0x1) |
Definition at line 454 of file SIDefines.h.
Referenced by llvm::AMDGPUAsmPrinter::runOnMachineFunction().
#define G_00B84C_TGID_Y_EN | ( | x | ) | (((x) >> 8) & 0x1) |
Definition at line 457 of file SIDefines.h.
Referenced by llvm::AMDGPUAsmPrinter::runOnMachineFunction().
#define G_00B84C_TGID_Z_EN | ( | x | ) | (((x) >> 9) & 0x1) |
Definition at line 460 of file SIDefines.h.
Referenced by llvm::AMDGPUAsmPrinter::runOnMachineFunction().
#define G_00B84C_TIDIG_COMP_CNT | ( | x | ) | (((x) >> 11) & 0x03) |
Definition at line 466 of file SIDefines.h.
Referenced by llvm::AMDGPUAsmPrinter::runOnMachineFunction().
#define G_00B84C_TRAP_HANDLER | ( | x | ) | (((x) >> 6) & 0x1) |
Definition at line 451 of file SIDefines.h.
Referenced by llvm::AMDGPUAsmPrinter::runOnMachineFunction().
#define G_00B84C_USER_SGPR | ( | x | ) | (((x) >> 1) & 0x1F) |
Definition at line 448 of file SIDefines.h.
Referenced by llvm::AMDGPUAsmPrinter::runOnMachineFunction().
#define R_00B028_SPI_SHADER_PGM_RSRC1_PS 0x00B028 |
Definition at line 431 of file SIDefines.h.
Referenced by getRsrcReg().
#define R_00B02C_SPI_SHADER_PGM_RSRC2_PS 0x00B02C |
Definition at line 432 of file SIDefines.h.
Referenced by getRsrcReg().
#define R_00B128_SPI_SHADER_PGM_RSRC1_VS 0x00B128 |
Definition at line 434 of file SIDefines.h.
Referenced by getRsrcReg().
#define R_00B228_SPI_SHADER_PGM_RSRC1_GS 0x00B228 |
Definition at line 435 of file SIDefines.h.
Referenced by getRsrcReg().
#define R_00B328_SPI_SHADER_PGM_RSRC1_ES 0x00B328 |
Definition at line 436 of file SIDefines.h.
Referenced by getRsrcReg().
#define R_00B428_SPI_SHADER_PGM_RSRC1_HS 0x00B428 |
Definition at line 437 of file SIDefines.h.
Referenced by getRsrcReg().
#define R_00B528_SPI_SHADER_PGM_RSRC1_LS 0x00B528 |
Definition at line 438 of file SIDefines.h.
Referenced by getRsrcReg().
#define R_00B848_COMPUTE_PGM_RSRC1 0x00B848 |
Definition at line 483 of file SIDefines.h.
Referenced by getRsrcReg().
#define R_00B848_COMPUTE_PGM_RSRC1 0x00B848 |
Definition at line 483 of file SIDefines.h.
#define R_00B84C_COMPUTE_PGM_RSRC2 0x00B84C |
Definition at line 443 of file SIDefines.h.
Referenced by getRsrcReg().
#define R_00B860_COMPUTE_TMPRING_SIZE 0x00B860 |
Definition at line 532 of file SIDefines.h.
Referenced by getRsrcReg().
#define R_0286CC_SPI_PS_INPUT_ENA 0x0286CC |
Definition at line 480 of file SIDefines.h.
Referenced by getRsrcReg().
#define R_0286D0_SPI_PS_INPUT_ADDR 0x0286D0 |
Definition at line 481 of file SIDefines.h.
Referenced by getRsrcReg().
#define R_0286E8_SPI_TMPRING_SIZE 0x0286E8 |
Definition at line 535 of file SIDefines.h.
Referenced by getRsrcReg().
#define R_SPILLED_SGPRS 0x4 |
Definition at line 538 of file SIDefines.h.
Referenced by getRsrcReg().
#define R_SPILLED_VGPRS 0x8 |
Definition at line 539 of file SIDefines.h.
Referenced by getRsrcReg().
#define S_00B028_SGPRS | ( | x | ) | (((x) & 0x0F) << 6) |
Definition at line 441 of file SIDefines.h.
Referenced by getRsrcReg().
#define S_00B028_VGPRS | ( | x | ) | (((x) & 0x3F) << 0) |
Definition at line 440 of file SIDefines.h.
Referenced by getRsrcReg().
#define S_00B02C_EXTRA_LDS_SIZE | ( | x | ) | (((x) & 0xFF) << 8) |
Definition at line 433 of file SIDefines.h.
Referenced by getRsrcReg().
#define S_00B848_DEBUG_MODE | ( | x | ) | (((x) & 0x1) << 22) |
Definition at line 502 of file SIDefines.h.
Referenced by hasAnyNonFlatUseOfReg().
#define S_00B848_DX10_CLAMP | ( | x | ) | (((x) & 0x1) << 21) |
Definition at line 499 of file SIDefines.h.
Referenced by hasAnyNonFlatUseOfReg().
#define S_00B848_FLOAT_MODE | ( | x | ) | (((x) & 0xFF) << 12) |
Definition at line 493 of file SIDefines.h.
Referenced by hasAnyNonFlatUseOfReg().
#define S_00B848_IEEE_MODE | ( | x | ) | (((x) & 0x1) << 23) |
Definition at line 505 of file SIDefines.h.
Referenced by hasAnyNonFlatUseOfReg().
#define S_00B848_PRIORITY | ( | x | ) | (((x) & 0x03) << 10) |
Definition at line 490 of file SIDefines.h.
Referenced by hasAnyNonFlatUseOfReg().
#define S_00B848_PRIV | ( | x | ) | (((x) & 0x1) << 20) |
Definition at line 496 of file SIDefines.h.
Referenced by hasAnyNonFlatUseOfReg().
#define S_00B848_SGPRS | ( | x | ) | (((x) & 0x0F) << 6) |
Definition at line 487 of file SIDefines.h.
Referenced by hasAnyNonFlatUseOfReg().
#define S_00B848_VGPRS | ( | x | ) | (((x) & 0x3F) << 0) |
Definition at line 484 of file SIDefines.h.
Referenced by hasAnyNonFlatUseOfReg().
#define S_00B84C_EXCP_EN | ( | x | ) | (((x) & 0x7F) << 24) |
Definition at line 476 of file SIDefines.h.
Referenced by hasAnyNonFlatUseOfReg().
#define S_00B84C_EXCP_EN_MSB | ( | x | ) | (((x) & 0x03) << 13) |
Definition at line 469 of file SIDefines.h.
Referenced by hasAnyNonFlatUseOfReg().
#define S_00B84C_LDS_SIZE | ( | x | ) | (((x) & 0x1FF) << 15) |
Definition at line 473 of file SIDefines.h.
Referenced by hasAnyNonFlatUseOfReg().
#define S_00B84C_SCRATCH_EN | ( | x | ) | (((x) & 0x1) << 0) |
Definition at line 444 of file SIDefines.h.
Referenced by getRsrcReg(), and hasAnyNonFlatUseOfReg().
#define S_00B84C_TG_SIZE_EN | ( | x | ) | (((x) & 0x1) << 10) |
Definition at line 462 of file SIDefines.h.
Referenced by hasAnyNonFlatUseOfReg().
#define S_00B84C_TGID_X_EN | ( | x | ) | (((x) & 0x1) << 7) |
Definition at line 453 of file SIDefines.h.
Referenced by hasAnyNonFlatUseOfReg().
#define S_00B84C_TGID_Y_EN | ( | x | ) | (((x) & 0x1) << 8) |
Definition at line 456 of file SIDefines.h.
Referenced by hasAnyNonFlatUseOfReg().
#define S_00B84C_TGID_Z_EN | ( | x | ) | (((x) & 0x1) << 9) |
Definition at line 459 of file SIDefines.h.
Referenced by hasAnyNonFlatUseOfReg().
#define S_00B84C_TIDIG_COMP_CNT | ( | x | ) | (((x) & 0x03) << 11) |
Definition at line 465 of file SIDefines.h.
Referenced by hasAnyNonFlatUseOfReg().
#define S_00B84C_TRAP_HANDLER | ( | x | ) | (((x) & 0x1) << 6) |
Definition at line 450 of file SIDefines.h.
Referenced by hasAnyNonFlatUseOfReg().
#define S_00B84C_USER_SGPR | ( | x | ) | (((x) & 0x1F) << 1) |
Definition at line 447 of file SIDefines.h.
Referenced by hasAnyNonFlatUseOfReg().
#define S_00B860_WAVESIZE | ( | x | ) | (((x) & 0x1FFF) << 12) |
Definition at line 533 of file SIDefines.h.
Referenced by getRsrcReg().
#define S_0286E8_WAVESIZE | ( | x | ) | (((x) & 0x1FFF) << 12) |
Definition at line 536 of file SIDefines.h.
Referenced by getRsrcReg().