LLVM API Documentation
#include "llvm/MC/MCRegisterInfo.h"
Go to the source code of this file.
Definition in file R600Defines.h.
#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(), and llvm::R600InstrInfo::hasFlagOperand().
#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(), 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.
#define IS_TEX | ( | desc | ) | ((desc).TSFlags & R600_InstFlag::TEX_INST) |
Definition at line 63 of file R600Defines.h.
Referenced by llvm::R600InstrInfo::usesTextureCache().
#define IS_VTX | ( | desc | ) | ((desc).TSFlags & R600_InstFlag::VTX_INST) |
Definition at line 62 of file R600Defines.h.
Referenced by 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::R600TargetLowering::EmitInstrWithCustomInserter(), and 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::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(), and llvm::R600InstrInfo::getFlagOp().
#define MO_FLAG_PUSH (1 << 4) |
Definition at line 21 of file R600Defines.h.
Referenced by 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.
#define R_028844_SQ_PGM_RESOURCES_PS 0x028844 |
Definition at line 164 of file R600Defines.h.
#define R_028850_SQ_PGM_RESOURCES_PS 0x028850 |
Definition at line 157 of file R600Defines.h.
#define R_028860_SQ_PGM_RESOURCES_VS 0x028860 |
Definition at line 165 of file R600Defines.h.
#define R_028868_SQ_PGM_RESOURCES_VS 0x028868 |
Definition at line 158 of file R600Defines.h.
#define R_028878_SQ_PGM_RESOURCES_GS 0x028878 |
Definition at line 166 of file R600Defines.h.
#define R_0288D4_SQ_PGM_RESOURCES_LS 0x0288d4 |
Definition at line 167 of file R600Defines.h.
#define R_0288E8_SQ_LDS_ALLOC 0x0288E8 |
Definition at line 169 of file R600Defines.h.
#define S_02880C_KILL_ENABLE | ( | x | ) | (((x) & 0x1) << 6) |
Definition at line 148 of file R600Defines.h.
#define S_NUM_GPRS | ( | x | ) | (((x) & 0xFF) << 0) |
Definition at line 151 of file R600Defines.h.
#define S_STACK_SIZE | ( | x | ) | (((x) & 0xFF) << 8) |
Definition at line 152 of file R600Defines.h.