LLVM
17.0.0git
|
Enumerations | |
enum | { InstFormatPseudo = 0, InstFormatR = 1, InstFormatR4 = 2, InstFormatI = 3, InstFormatS = 4, InstFormatB = 5, InstFormatU = 6, InstFormatJ = 7, InstFormatCR = 8, InstFormatCI = 9, InstFormatCSS = 10, InstFormatCIW = 11, InstFormatCL = 12, InstFormatCS = 13, InstFormatCA = 14, InstFormatCB = 15, InstFormatCJ = 16, InstFormatOther = 17, InstFormatMask = 31, InstFormatShift = 0, ConstraintShift = InstFormatShift + 5, ConstraintMask = 0b111 << ConstraintShift, VLMulShift = ConstraintShift + 3, VLMulMask = 0b111 << VLMulShift, HasDummyMaskOpShift = VLMulShift + 3, HasDummyMaskOpMask = 1 << HasDummyMaskOpShift, ForceTailAgnosticShift = HasDummyMaskOpShift + 1, ForceTailAgnosticMask = 1 << ForceTailAgnosticShift, HasMergeOpShift = ForceTailAgnosticShift + 1, HasMergeOpMask = 1 << HasMergeOpShift, HasSEWOpShift = HasMergeOpShift + 1, HasSEWOpMask = 1 << HasSEWOpShift, HasVLOpShift = HasSEWOpShift + 1, HasVLOpMask = 1 << HasVLOpShift, HasVecPolicyOpShift = HasVLOpShift + 1, HasVecPolicyOpMask = 1 << HasVecPolicyOpShift, IsRVVWideningReductionShift = HasVecPolicyOpShift + 1, IsRVVWideningReductionMask = 1 << IsRVVWideningReductionShift, UsesMaskPolicyShift = IsRVVWideningReductionShift + 1, UsesMaskPolicyMask = 1 << UsesMaskPolicyShift, IsSignExtendingOpWShift = UsesMaskPolicyShift + 1, IsSignExtendingOpWMask = 1ULL << IsSignExtendingOpWShift } |
enum | VConstraintType { NoConstraint = 0, VS2Constraint = 0b001, VS1Constraint = 0b010, VMConstraint = 0b100 } |
enum | VLMUL : uint8_t { LMUL_1 = 0, LMUL_2, LMUL_4, LMUL_8, LMUL_RESERVED, LMUL_F8, LMUL_F4, LMUL_F2 } |
enum | { TAIL_UNDISTURBED_MASK_UNDISTURBED = 0, TAIL_AGNOSTIC = 1, MASK_AGNOSTIC = 2 } |
enum | { MO_None = 0, MO_CALL = 1, MO_PLT = 2, MO_LO = 3, MO_HI = 4, MO_PCREL_LO = 5, MO_PCREL_HI = 6, MO_GOT_HI = 7, MO_TPREL_LO = 8, MO_TPREL_HI = 9, MO_TPREL_ADD = 10, MO_TLS_GOT_HI = 11, MO_TLS_GD_HI = 12, MO_DIRECT_FLAG_MASK = 15 } |
Functions | |
static unsigned | getFormat (uint64_t TSFlags) |
static VConstraintType | getConstraint (uint64_t TSFlags) |
static VLMUL | getLMul (uint64_t TSFlags) |
static bool | hasDummyMaskOp (uint64_t TSFlags) |
static bool | doesForceTailAgnostic (uint64_t TSFlags) |
static bool | hasMergeOp (uint64_t TSFlags) |
static bool | hasSEWOp (uint64_t TSFlags) |
static bool | hasVLOp (uint64_t TSFlags) |
static bool | hasVecPolicyOp (uint64_t TSFlags) |
static bool | isRVVWideningReduction (uint64_t TSFlags) |
static bool | usesMaskPolicy (uint64_t TSFlags) |
static unsigned | getMergeOpNum (const MCInstrDesc &Desc) |
static unsigned | getVLOpNum (const MCInstrDesc &Desc) |
static unsigned | getSEWOpNum (const MCInstrDesc &Desc) |
static unsigned | getVecPolicyOpNum (const MCInstrDesc &Desc) |
anonymous enum |
Definition at line 28 of file RISCVBaseInfo.h.
anonymous enum |
Enumerator | |
---|---|
TAIL_UNDISTURBED_MASK_UNDISTURBED | |
TAIL_AGNOSTIC | |
MASK_AGNOSTIC |
Definition at line 126 of file RISCVBaseInfo.h.
anonymous enum |
Enumerator | |
---|---|
MO_None | |
MO_CALL | |
MO_PLT | |
MO_LO | |
MO_HI | |
MO_PCREL_LO | |
MO_PCREL_HI | |
MO_GOT_HI | |
MO_TPREL_LO | |
MO_TPREL_HI | |
MO_TPREL_ADD | |
MO_TLS_GOT_HI | |
MO_TLS_GD_HI | |
MO_DIRECT_FLAG_MASK |
Definition at line 211 of file RISCVBaseInfo.h.
Enumerator | |
---|---|
NoConstraint | |
VS2Constraint | |
VS1Constraint | |
VMConstraint |
Definition at line 108 of file RISCVBaseInfo.h.
enum llvm::RISCVII::VLMUL : uint8_t |
Enumerator | |
---|---|
LMUL_1 | |
LMUL_2 | |
LMUL_4 | |
LMUL_8 | |
LMUL_RESERVED | |
LMUL_F8 | |
LMUL_F4 | |
LMUL_F2 |
Definition at line 115 of file RISCVBaseInfo.h.
|
inlinestatic |
Definition at line 151 of file RISCVBaseInfo.h.
References ForceTailAgnosticMask, and TSFlags.
Referenced by if().
|
inlinestatic |
Definition at line 138 of file RISCVBaseInfo.h.
References ConstraintMask, ConstraintShift, and TSFlags.
|
inlinestatic |
Definition at line 134 of file RISCVBaseInfo.h.
References InstFormatMask, InstFormatShift, and TSFlags.
Referenced by llvm::RISCVRegisterInfo::getFrameIndexInstrOffset(), and llvm::RISCVRegisterInfo::needsFrameBaseReg().
Definition at line 143 of file RISCVBaseInfo.h.
References TSFlags, VLMulMask, and VLMulShift.
|
inlinestatic |
Definition at line 179 of file RISCVBaseInfo.h.
References assert(), llvm::MCInstrDesc::getNumDefs(), hasMergeOp(), llvm::MCInstrDesc::isVariadic(), and llvm::MCInstrDesc::TSFlags.
Referenced by llvm::RISCVInstrInfo::verifyInstruction().
|
inlinestatic |
Definition at line 196 of file RISCVBaseInfo.h.
References assert(), llvm::MCInstrDesc::getNumOperands(), hasSEWOp(), hasVecPolicyOp(), llvm::MCInstrDesc::TSFlags, and TSFlags.
Referenced by llvm::RISCVInstrInfo::copyPhysReg(), llvm::RISCVInstrInfo::createMIROperandComment(), and llvm::RISCVInstrInfo::verifyInstruction().
|
inlinestatic |
Definition at line 205 of file RISCVBaseInfo.h.
References assert(), llvm::MCInstrDesc::getNumOperands(), hasVecPolicyOp(), and llvm::MCInstrDesc::TSFlags.
Referenced by llvm::RISCVInstrInfo::createMIROperandComment(), and llvm::RISCVInstrInfo::verifyInstruction().
|
inlinestatic |
Definition at line 185 of file RISCVBaseInfo.h.
References assert(), llvm::MCInstrDesc::getNumOperands(), hasSEWOp(), hasVecPolicyOp(), hasVLOp(), llvm::MCInstrDesc::TSFlags, and TSFlags.
Referenced by llvm::RISCVInstrInfo::copyPhysReg(), if(), and llvm::RISCVInstrInfo::verifyInstruction().
|
inlinestatic |
Definition at line 147 of file RISCVBaseInfo.h.
References HasDummyMaskOpMask, and TSFlags.
Referenced by lowerRISCVVMachineInstrToMCInst().
|
inlinestatic |
Definition at line 155 of file RISCVBaseInfo.h.
References HasMergeOpMask, and TSFlags.
Referenced by getMergeOpNum(), lowerRISCVVMachineInstrToMCInst(), and llvm::RISCVInstrInfo::verifyInstruction().
|
inlinestatic |
Definition at line 159 of file RISCVBaseInfo.h.
References HasSEWOpMask, and TSFlags.
Referenced by llvm::RISCVInstrInfo::createMIROperandComment(), getSEWOpNum(), getVLOpNum(), isConvertibleToVMV_V_V(), lowerRISCVVMachineInstrToMCInst(), and llvm::RISCVInstrInfo::verifyInstruction().
|
inlinestatic |
Definition at line 167 of file RISCVBaseInfo.h.
References HasVecPolicyOpMask, and TSFlags.
Referenced by llvm::RISCVInstrInfo::convertToThreeAddress(), llvm::RISCVInstrInfo::createMIROperandComment(), llvm::RISCVInstrInfo::findCommutedOpIndices(), getSEWOpNum(), getVecPolicyOpNum(), getVLOpNum(), if(), lowerRISCVVMachineInstrToMCInst(), and llvm::RISCVInstrInfo::verifyInstruction().
|
inlinestatic |
Definition at line 163 of file RISCVBaseInfo.h.
References HasVLOpMask, and TSFlags.
Referenced by getVLOpNum(), isConvertibleToVMV_V_V(), lowerRISCVVMachineInstrToMCInst(), and llvm::RISCVInstrInfo::verifyInstruction().
|
inlinestatic |
Definition at line 171 of file RISCVBaseInfo.h.
References IsRVVWideningReductionMask, and TSFlags.
Referenced by isConvertibleToVMV_V_V().
|
inlinestatic |
Definition at line 175 of file RISCVBaseInfo.h.
References TSFlags, and UsesMaskPolicyMask.
Referenced by if().