LLVM 22.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 , InstFormatCU = 17 , InstFormatCLB = 18 , InstFormatCLH = 19 , InstFormatCSB = 20 , InstFormatCSH = 21 , InstFormatQC_EAI = 22 , InstFormatQC_EI = 23 , InstFormatQC_EB = 24 , InstFormatQC_EJ = 25 , InstFormatQC_ES = 26 , InstFormatNDS_BRANCH_10 = 27 , InstFormatOther = 31 , InstFormatMask = 31 , InstFormatShift = 0 , ConstraintShift = InstFormatShift + 5 , VS2Constraint = 0b001 << ConstraintShift , VS1Constraint = 0b010 << ConstraintShift , VMConstraint = 0b100 << ConstraintShift , ConstraintMask = 0b111 << ConstraintShift , VLMulShift = ConstraintShift + 3 , VLMulMask = 0b111 << VLMulShift , IsTiedPseudoShift = VLMulShift + 3 , IsTiedPseudoMask = 1 << IsTiedPseudoShift , HasSEWOpShift = IsTiedPseudoShift + 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 , HasRoundModeOpShift = IsSignExtendingOpWShift + 1 , HasRoundModeOpMask = 1 << HasRoundModeOpShift , UsesVXRMShift = HasRoundModeOpShift + 1 , UsesVXRMMask = 1 << UsesVXRMShift , TargetOverlapConstraintTypeShift = UsesVXRMShift + 1 , TargetOverlapConstraintTypeMask = 3ULL << TargetOverlapConstraintTypeShift , ElementsDependOnVLShift = TargetOverlapConstraintTypeShift + 2 , ElementsDependOnVLMask = 1ULL << ElementsDependOnVLShift , ElementsDependOnMaskShift = ElementsDependOnVLShift + 1 , ElementsDependOnMaskMask = 1ULL << ElementsDependOnMaskShift , DestEEWShift = ElementsDependOnMaskShift + 1 , DestEEWMask = 3ULL << DestEEWShift , ReadsPastVLShift = DestEEWShift + 2 , ReadsPastVLMask = 1ULL << ReadsPastVLShift , AltFmtTypeShift = ReadsPastVLShift + 1 , AltFmtTypeMask = 3ULL << AltFmtTypeShift , HasTWidenOpShift = AltFmtTypeShift + 2 , HasTWidenOpMask = 1ULL << HasTWidenOpShift , HasTMOpShift = HasTWidenOpShift + 1 , HasTMOpMask = 1ULL << HasTMOpShift , HasTKOpShift = HasTMOpShift + 1 , HasTKOpMask = 1ULL << HasTKOpShift } |
enum class | AltFmtType { DontCare , NotAltFmt , AltFmt } |
enum | { MO_None = 0 , MO_CALL = 1 , 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_TLSDESC_HI = 13 , MO_TLSDESC_LOAD_LO = 14 , MO_TLSDESC_ADD_LO = 15 , MO_TLSDESC_CALL = 16 , MO_DIRECT_FLAG_MASK = 31 } |
anonymous enum |
Definition at line 338 of file RISCVBaseInfo.h.
anonymous enum |
Definition at line 31 of file RISCVBaseInfo.h.
|
strong |
Enumerator | |
---|---|
DontCare | |
NotAltFmt | |
AltFmt |
Definition at line 202 of file RISCVBaseInfo.h.
Definition at line 218 of file RISCVBaseInfo.h.
References ElementsDependOnMaskMask.
Definition at line 212 of file RISCVBaseInfo.h.
References ElementsDependOnVLMask.
|
inlinestatic |
Definition at line 203 of file RISCVBaseInfo.h.
References AltFmtTypeMask, and AltFmtTypeShift.
Definition at line 165 of file RISCVBaseInfo.h.
References InstFormatMask, and InstFormatShift.
Referenced by llvm::RISCVRegisterInfo::getFrameIndexInstrOffset(), and llvm::RISCVRegisterInfo::needsFrameBaseReg().
|
inlinestatic |
Definition at line 298 of file RISCVBaseInfo.h.
References getTMOpNum(), getVLOpNum(), hasRoundModeOp(), hasTMOp(), hasTWidenOp(), and usesVXRM().
Referenced by llvm::RISCVTargetLowering::AdjustInstrPostInstrSelection(), INITIALIZE_PASS(), and llvm::RISCVInstrInfo::verifyInstruction().
|
inlinestatic |
Definition at line 169 of file RISCVBaseInfo.h.
References VLMulMask, and VLMulShift.
Referenced by llvm::RISCVVectorMaskDAGMutation::apply(), emitVFROUND_NOEXCEPT_MASK(), and getEMULEqualsEEWDivSEWTimesLMUL().
|
inlinestatic |
Definition at line 282 of file RISCVBaseInfo.h.
References assert(), hasSEWOp(), hasTWidenOp(), hasVecPolicyOp(), and llvm::Offset.
Referenced by llvm::RISCVInstrInfo::copyPhysRegVector(), emitVFROUND_NOEXCEPT_MASK(), getEMULEqualsEEWDivSEWTimesLMUL(), getFoldedOpcode(), getIntegerExtensionOperandEEW(), getOperandLog2EEW(), INITIALIZE_PASS(), vectorPseudoHasAllNBitUsers(), and llvm::RISCVInstrInfo::verifyInstruction().
|
inlinestatic |
Definition at line 276 of file RISCVBaseInfo.h.
Referenced by cannotInsertTailCall().
|
inlinestatic |
Definition at line 255 of file RISCVBaseInfo.h.
References assert(), hasTKOp(), and hasTWidenOp().
|
inlinestatic |
Definition at line 246 of file RISCVBaseInfo.h.
References assert(), hasTKOp(), hasTMOp(), and hasTWidenOp().
Referenced by getFRMOpNum().
|
inlinestatic |
Definition at line 237 of file RISCVBaseInfo.h.
References assert(), hasTKOp(), hasTWidenOp(), hasVLOp(), and llvm::Offset.
Referenced by getVLOpNum().
|
inlinestatic |
Definition at line 291 of file RISCVBaseInfo.h.
References assert(), and hasVecPolicyOp().
Referenced by llvm::RISCVInstrInfo::convertToThreeAddress(), llvm::RISCVInstrInfo::findCommutedOpIndices(), and llvm::RISCVInstrInfo::verifyInstruction().
|
inlinestatic |
Definition at line 261 of file RISCVBaseInfo.h.
References assert(), getTNOpNum(), hasSEWOp(), hasTWidenOp(), hasVecPolicyOp(), hasVLOp(), and llvm::Offset.
Referenced by llvm::RISCVInstrInfo::copyPhysRegVector(), getFRMOpNum(), getVXRMOpNum(), vectorPseudoHasAllNBitUsers(), and llvm::RISCVInstrInfo::verifyInstruction().
|
inlinestatic |
Definition at line 316 of file RISCVBaseInfo.h.
References getVLOpNum(), hasRoundModeOp(), and usesVXRM().
Referenced by INITIALIZE_PASS().
Definition at line 198 of file RISCVBaseInfo.h.
References HasRoundModeOpMask.
Referenced by getFRMOpNum(), getVXRMOpNum(), lowerRISCVVMachineInstrToMCInst(), and llvm::RISCVInstrInfo::verifyInstruction().
Definition at line 177 of file RISCVBaseInfo.h.
References HasSEWOpMask.
Referenced by getSEWOpNum(), getVLOpNum(), isConvertibleToVMV_V_V(), lowerRISCVVMachineInstrToMCInst(), vectorPseudoHasAllNBitUsers(), vectorPseudoHasAllNBitUsers(), and llvm::RISCVInstrInfo::verifyInstruction().
Definition at line 235 of file RISCVBaseInfo.h.
References HasTKOpMask.
Referenced by getTKOpNum(), getTMOpNum(), getTNOpNum(), and lowerRISCVVMachineInstrToMCInst().
Definition at line 233 of file RISCVBaseInfo.h.
References HasTMOpMask.
Referenced by getFRMOpNum(), getTMOpNum(), and lowerRISCVVMachineInstrToMCInst().
Definition at line 229 of file RISCVBaseInfo.h.
References HasTWidenOpMask.
Referenced by getFRMOpNum(), getSEWOpNum(), getTKOpNum(), getTMOpNum(), getTNOpNum(), getVLOpNum(), and lowerRISCVVMachineInstrToMCInst().
Definition at line 185 of file RISCVBaseInfo.h.
References HasVecPolicyOpMask.
Referenced by llvm::RISCVInstrInfo::convertToThreeAddress(), llvm::RISCVInstrInfo::findCommutedOpIndices(), getSEWOpNum(), getVecPolicyOpNum(), getVLOpNum(), lowerRISCVVMachineInstrToMCInst(), vectorPseudoHasAllNBitUsers(), and llvm::RISCVInstrInfo::verifyInstruction().
Definition at line 181 of file RISCVBaseInfo.h.
References HasVLOpMask.
Referenced by getTNOpNum(), getVLOpNum(), isConvertibleToVMV_V_V(), lowerRISCVVMachineInstrToMCInst(), vectorPseudoHasAllNBitUsers(), vectorPseudoHasAllNBitUsers(), and llvm::RISCVInstrInfo::verifyInstruction().
|
inlinestatic |
Definition at line 332 of file RISCVBaseInfo.h.
References llvm::MCOI::TIED_TO.
Referenced by getOperandLog2EEW().
Definition at line 189 of file RISCVBaseInfo.h.
References IsRVVWideningReductionMask.
Referenced by isConvertibleToVMV_V_V().
Definition at line 173 of file RISCVBaseInfo.h.
References IsTiedPseudoMask.
Referenced by getOperandLog2EEW(), and lowerRISCVVMachineInstrToMCInst().
Definition at line 224 of file RISCVBaseInfo.h.
References ReadsPastVLMask.
Definition at line 193 of file RISCVBaseInfo.h.
References UsesMaskPolicyMask.
Definition at line 208 of file RISCVBaseInfo.h.
References UsesVXRMMask.
Referenced by getFRMOpNum(), getVXRMOpNum(), and llvm::RISCVInstrInfo::verifyInstruction().