Enumerations | |
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 | { 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,InstFormatOther = 22,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, ForceTailAgnosticShift = VLMulShift + 3,ForceTailAgnosticMask = 1 << ForceTailAgnosticShift,IsTiedPseudoShift = ForceTailAgnosticShift + 1,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 } |
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 } |
Functions | |
staticunsigned | getFormat (uint64_t TSFlags) |
staticVLMUL | getLMul (uint64_t TSFlags) |
staticbool | doesForceTailAgnostic (uint64_t TSFlags) |
staticbool | isTiedPseudo (uint64_t TSFlags) |
staticbool | hasSEWOp (uint64_t TSFlags) |
staticbool | hasVLOp (uint64_t TSFlags) |
staticbool | hasVecPolicyOp (uint64_t TSFlags) |
staticbool | isRVVWideningReduction (uint64_t TSFlags) |
staticbool | usesMaskPolicy (uint64_t TSFlags) |
staticbool | hasRoundModeOp (uint64_t TSFlags) |
staticbool | usesVXRM (uint64_t TSFlags) |
staticbool | elementsDependOnVL (uint64_t TSFlags) |
staticbool | elementsDependOnMask (uint64_t TSFlags) |
staticunsigned | getVLOpNum (constMCInstrDesc &Desc) |
staticunsigned | getTailExpandUseRegNo (constFeatureBitset &FeatureBits) |
staticunsigned | getSEWOpNum (constMCInstrDesc &Desc) |
staticunsigned | getVecPolicyOpNum (constMCInstrDesc &Desc) |
static int | getFRMOpNum (constMCInstrDesc &Desc) |
static int | getVXRMOpNum (constMCInstrDesc &Desc) |
staticbool | isFirstDefTiedToFirstUse (constMCInstrDesc &Desc) |
anonymous enum |
Enumerator | |
---|---|
TAIL_UNDISTURBED_MASK_UNDISTURBED | |
TAIL_AGNOSTIC | |
MASK_AGNOSTIC |
Definition at line80 of fileRISCVTargetParser.h.
anonymous enum |
Definition at line31 of fileRISCVBaseInfo.h.
anonymous enum |
Definition at line270 of fileRISCVBaseInfo.h.
Enumerator | |
---|---|
LMUL_1 | |
LMUL_2 | |
LMUL_4 | |
LMUL_8 | |
LMUL_RESERVED | |
LMUL_F8 | |
LMUL_F4 | |
LMUL_F2 |
Definition at line69 of fileRISCVTargetParser.h.
Definition at line152 of fileRISCVBaseInfo.h.
ReferencesForceTailAgnosticMask.
Definition at line196 of fileRISCVBaseInfo.h.
ReferencesElementsDependOnMaskMask.
Definition at line190 of fileRISCVBaseInfo.h.
ReferencesElementsDependOnVLMask.
Definition at line144 of fileRISCVBaseInfo.h.
ReferencesInstFormatMask, andInstFormatShift.
Referenced byllvm::RISCVRegisterInfo::getFrameIndexInstrOffset(), andllvm::RISCVRegisterInfo::needsFrameBaseReg().
| inlinestatic |
Definition at line233 of fileRISCVBaseInfo.h.
ReferencesgetVLOpNum(),hasRoundModeOp(), andusesVXRM().
Referenced byllvm::RISCVTargetLowering::AdjustInstrPostInstrSelection(),INITIALIZE_PASS(), andllvm::RISCVInstrInfo::verifyInstruction().
Definition at line148 of fileRISCVBaseInfo.h.
ReferencesVLMulMask, andVLMulShift.
Referenced byllvm::RISCVVectorMaskDAGMutation::apply(),emitVFROUND_NOEXCEPT_MASK(), andllvm::RISCVVType::getEMULEqualsEEWDivSEWTimesLMUL().
| inlinestatic |
Definition at line217 of fileRISCVBaseInfo.h.
Referencesassert(),hasSEWOp(),hasVecPolicyOp(), andllvm::Offset.
Referenced byllvm::RISCVInstrInfo::copyPhysRegVector(),emitVFROUND_NOEXCEPT_MASK(),llvm::RISCVInstrInfo::foldMemoryOperandImpl(),llvm::RISCVVType::getEMULEqualsEEWDivSEWTimesLMUL(),getIntegerExtensionOperandEEW(),getOperandLog2EEW(),INITIALIZE_PASS(),vectorPseudoHasAllNBitUsers(), andllvm::RISCVInstrInfo::verifyInstruction().
| inlinestatic |
Definition at line211 of fileRISCVBaseInfo.h.
Referenced bycannotInsertTailCall().
| inlinestatic |
Definition at line226 of fileRISCVBaseInfo.h.
Referencesassert(), andhasVecPolicyOp().
Referenced byllvm::RISCVInstrInfo::convertToThreeAddress(), andllvm::RISCVInstrInfo::verifyInstruction().
| inlinestatic |
Definition at line200 of fileRISCVBaseInfo.h.
Referencesassert(),hasSEWOp(),hasVecPolicyOp(),hasVLOp(), andllvm::Offset.
Referenced byllvm::RISCVInstrInfo::copyPhysRegVector(),getFRMOpNum(),getVXRMOpNum(),vectorPseudoHasAllNBitUsers(), andllvm::RISCVInstrInfo::verifyInstruction().
| inlinestatic |
Definition at line248 of fileRISCVBaseInfo.h.
ReferencesgetVLOpNum(),hasRoundModeOp(), andusesVXRM().
Definition at line181 of fileRISCVBaseInfo.h.
ReferencesHasRoundModeOpMask.
Referenced bygetFRMOpNum(),getVXRMOpNum(),lowerRISCVVMachineInstrToMCInst(), andllvm::RISCVInstrInfo::verifyInstruction().
Definition at line160 of fileRISCVBaseInfo.h.
ReferencesHasSEWOpMask.
Referenced bygetSEWOpNum(),getVLOpNum(),isConvertibleToVMV_V_V(),lowerRISCVVMachineInstrToMCInst(),vectorPseudoHasAllNBitUsers(), andllvm::RISCVInstrInfo::verifyInstruction().
Definition at line168 of fileRISCVBaseInfo.h.
ReferencesHasVecPolicyOpMask.
Referenced byllvm::RISCVInstrInfo::convertToThreeAddress(),llvm::RISCVInstrInfo::findCommutedOpIndices(),getSEWOpNum(),getVecPolicyOpNum(),getVLOpNum(),lowerRISCVVMachineInstrToMCInst(),vectorPseudoHasAllNBitUsers(), andllvm::RISCVInstrInfo::verifyInstruction().
Definition at line164 of fileRISCVBaseInfo.h.
ReferencesHasVLOpMask.
Referenced bygetVLOpNum(),isConvertibleToVMV_V_V(),lowerRISCVVMachineInstrToMCInst(),vectorPseudoHasAllNBitUsers(), andllvm::RISCVInstrInfo::verifyInstruction().
| inlinestatic |
Definition at line264 of fileRISCVBaseInfo.h.
Referencesllvm::MCOI::TIED_TO.
Referenced bygetOperandLog2EEW().
Definition at line172 of fileRISCVBaseInfo.h.
ReferencesIsRVVWideningReductionMask.
Referenced byisConvertibleToVMV_V_V().
Definition at line156 of fileRISCVBaseInfo.h.
ReferencesIsTiedPseudoMask.
Referenced bygetOperandLog2EEW(), andlowerRISCVVMachineInstrToMCInst().
Definition at line176 of fileRISCVBaseInfo.h.
ReferencesUsesMaskPolicyMask.
Definition at line186 of fileRISCVBaseInfo.h.
ReferencesUsesVXRMMask.
Referenced bygetFRMOpNum(),getVXRMOpNum(), andllvm::RISCVInstrInfo::verifyInstruction().