LLVM
8.0.1
|
#include "llvm/MC/MCRegisterInfo.h"
Go to the source code of this file.
Namespaces | |
R600_InstFlag | |
OpName | |
Macros | |
#define | MO_FLAG_CLAMP (1 << 0) |
#define | MO_FLAG_NEG (1 << 1) |
#define | MO_FLAG_ABS (1 << 2) |
#define | MO_FLAG_MASK (1 << 3) |
#define | MO_FLAG_PUSH (1 << 4) |
#define | MO_FLAG_NOT_LAST (1 << 5) |
#define | MO_FLAG_LAST (1 << 6) |
#define | NUM_MO_FLAGS 7 |
#define | GET_FLAG_OPERAND_IDX(Flags) (((Flags) >> 7) & 0x3) |
Helper for getting the operand index for the instruction flags operand. More... | |
#define | HAS_NATIVE_OPERANDS(Flags) ((Flags) & R600_InstFlag::NATIVE_OPERANDS) |
#define | HW_REG_MASK 0x1ff |
Defines for extracting register information from register encoding. More... | |
#define | HW_CHAN_SHIFT 9 |
#define | GET_REG_CHAN(reg) ((reg) >> HW_CHAN_SHIFT) |
#define | GET_REG_INDEX(reg) ((reg) & HW_REG_MASK) |
#define | IS_VTX(desc) ((desc).TSFlags & R600_InstFlag::VTX_INST) |
#define | IS_TEX(desc) ((desc).TSFlags & R600_InstFlag::TEX_INST) |
#define | R_02880C_DB_SHADER_CONTROL 0x02880C |
#define | S_02880C_KILL_ENABLE(x) (((x) & 0x1) << 6) |
#define | S_NUM_GPRS(x) (((x) & 0xFF) << 0) |
#define | S_STACK_SIZE(x) (((x) & 0xFF) << 8) |
#define | R_028850_SQ_PGM_RESOURCES_PS 0x028850 |
#define | R_028868_SQ_PGM_RESOURCES_VS 0x028868 |
#define | R_028844_SQ_PGM_RESOURCES_PS 0x028844 |
#define | R_028860_SQ_PGM_RESOURCES_VS 0x028860 |
#define | R_028878_SQ_PGM_RESOURCES_GS 0x028878 |
#define | R_0288D4_SQ_PGM_RESOURCES_LS 0x0288d4 |
#define | R_0288E8_SQ_LDS_ALLOC 0x0288E8 |
#define GET_FLAG_OPERAND_IDX | ( | Flags | ) | (((Flags) >> 7) & 0x3) |
Helper for getting the operand index for the instruction flags operand.
Definition at line 28 of file R600Defines.h.
Referenced by llvm::R600InstrInfo::getFlagOp().
#define GET_REG_CHAN | ( | reg | ) | ((reg) >> HW_CHAN_SHIFT) |
Definition at line 59 of file R600Defines.h.
#define GET_REG_INDEX | ( | reg | ) | ((reg) & HW_REG_MASK) |
Definition at line 60 of file R600Defines.h.
Referenced by llvm::R600RegisterInfo::getHWRegIndex(), and llvm::R600InstrInfo::isLegalUpTo().
#define HAS_NATIVE_OPERANDS | ( | Flags | ) | ((Flags) & R600_InstFlag::NATIVE_OPERANDS) |
Definition at line 53 of file R600Defines.h.
Referenced by llvm::R600InstrInfo::addFlag(), llvm::R600InstrInfo::clearFlag(), llvm::createR600MCCodeEmitter(), and llvm::R600InstrInfo::getFlagOp().
#define HW_CHAN_SHIFT 9 |
Definition at line 57 of file R600Defines.h.
Referenced by llvm::R600RegisterInfo::getHWRegChan().
#define HW_REG_MASK 0x1ff |
Defines for extracting register information from register encoding.
Definition at line 56 of file R600Defines.h.
Referenced by llvm::createR600ExpandSpecialInstrsPass(), and llvm::createR600MCCodeEmitter().
#define IS_TEX | ( | desc | ) | ((desc).TSFlags & R600_InstFlag::TEX_INST) |
Definition at line 63 of file R600Defines.h.
Referenced by llvm::createR600MCCodeEmitter(), and llvm::R600InstrInfo::usesTextureCache().
#define IS_VTX | ( | desc | ) | ((desc).TSFlags & R600_InstFlag::VTX_INST) |
Definition at line 62 of file R600Defines.h.
Referenced by llvm::createR600MCCodeEmitter(), llvm::R600InstrInfo::usesTextureCache(), and llvm::R600InstrInfo::usesVertexCache().
#define MO_FLAG_ABS (1 << 2) |
Definition at line 19 of file R600Defines.h.
Referenced by llvm::R600TargetLowering::EmitInstrWithCustomInserter(), and llvm::R600InstrInfo::getFlagOp().
#define MO_FLAG_CLAMP (1 << 0) |
Definition at line 17 of file R600Defines.h.
Referenced by llvm::R600InstrInfo::getFlagOp().
#define MO_FLAG_LAST (1 << 6) |
Definition at line 23 of file R600Defines.h.
Referenced by llvm::R600InstrInfo::addFlag(), and llvm::R600InstrInfo::getFlagOp().
#define MO_FLAG_MASK (1 << 3) |
Definition at line 20 of file R600Defines.h.
Referenced by llvm::R600InstrInfo::addFlag(), llvm::createR600ExpandSpecialInstrsPass(), llvm::R600TargetLowering::EmitInstrWithCustomInserter(), and llvm::R600InstrInfo::getFlagOp().
#define MO_FLAG_NEG (1 << 1) |
Definition at line 18 of file R600Defines.h.
Referenced by llvm::R600TargetLowering::EmitInstrWithCustomInserter(), and llvm::R600InstrInfo::getFlagOp().
#define MO_FLAG_NOT_LAST (1 << 5) |
Definition at line 22 of file R600Defines.h.
Referenced by llvm::R600InstrInfo::addFlag(), llvm::createR600ExpandSpecialInstrsPass(), and llvm::R600InstrInfo::getFlagOp().
#define MO_FLAG_PUSH (1 << 4) |
Definition at line 21 of file R600Defines.h.
Referenced by llvm::createR600ExpandSpecialInstrsPass(), llvm::R600TargetLowering::EmitInstrWithCustomInserter(), llvm::R600InstrInfo::insertBranch(), and llvm::R600InstrInfo::removeBranch().
#define NUM_MO_FLAGS 7 |
Definition at line 24 of file R600Defines.h.
Referenced by llvm::R600InstrInfo::addFlag(), and llvm::R600InstrInfo::clearFlag().
#define R_02880C_DB_SHADER_CONTROL 0x02880C |
Definition at line 147 of file R600Defines.h.
Referenced by llvm::R600AsmPrinter::getPassName().
#define R_028844_SQ_PGM_RESOURCES_PS 0x028844 |
Definition at line 164 of file R600Defines.h.
Referenced by llvm::R600AsmPrinter::getPassName().
#define R_028850_SQ_PGM_RESOURCES_PS 0x028850 |
Definition at line 157 of file R600Defines.h.
Referenced by llvm::R600AsmPrinter::getPassName().
#define R_028860_SQ_PGM_RESOURCES_VS 0x028860 |
Definition at line 165 of file R600Defines.h.
Referenced by llvm::R600AsmPrinter::getPassName().
#define R_028868_SQ_PGM_RESOURCES_VS 0x028868 |
Definition at line 158 of file R600Defines.h.
Referenced by llvm::R600AsmPrinter::getPassName().
#define R_028878_SQ_PGM_RESOURCES_GS 0x028878 |
Definition at line 166 of file R600Defines.h.
Referenced by llvm::R600AsmPrinter::getPassName().
#define R_0288D4_SQ_PGM_RESOURCES_LS 0x0288d4 |
Definition at line 167 of file R600Defines.h.
Referenced by llvm::R600AsmPrinter::getPassName().
#define R_0288E8_SQ_LDS_ALLOC 0x0288E8 |
Definition at line 169 of file R600Defines.h.
Referenced by llvm::R600AsmPrinter::getPassName().
#define S_02880C_KILL_ENABLE | ( | x | ) | (((x) & 0x1) << 6) |
Definition at line 148 of file R600Defines.h.
Referenced by llvm::R600AsmPrinter::getPassName().
#define S_NUM_GPRS | ( | x | ) | (((x) & 0xFF) << 0) |
Definition at line 151 of file R600Defines.h.
Referenced by llvm::R600AsmPrinter::getPassName().
#define S_STACK_SIZE | ( | x | ) | (((x) & 0xFF) << 8) |
Definition at line 152 of file R600Defines.h.
Referenced by llvm::R600AsmPrinter::getPassName().