LLVM: llvm::RISCVVType Namespace Reference (original) (raw)

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 }
Functions
static bool isValidSEW (unsigned SEW)
static bool isValidLMUL (unsigned LMUL, bool Fractional)
LLVM_ABI unsigned encodeVTYPE (VLMUL VLMUL, unsigned SEW, bool TailAgnostic, bool MaskAgnostic, bool AltFmt=false)
LLVM_ABI unsigned encodeXSfmmVType (unsigned SEW, unsigned Widen, bool AltFmt)
static VLMUL getVLMUL (unsigned VType)
LLVM_ABI std::pair< unsigned, bool > decodeVLMUL (VLMUL VLMul)
static VLMUL encodeLMUL (unsigned LMUL, bool Fractional)
static unsigned decodeVSEW (unsigned VSEW)
static unsigned encodeSEW (unsigned SEW)
static unsigned getSEW (unsigned VType)
static unsigned decodeTWiden (unsigned TWiden)
static bool hasXSfmmWiden (unsigned VType)
static unsigned getXSfmmWiden (unsigned VType)
static bool isValidXSfmmVType (unsigned VTypeI)
static bool isTailAgnostic (unsigned VType)
static bool isMaskAgnostic (unsigned VType)
static bool isAltFmt (unsigned VType)
LLVM_ABI void printVType (unsigned VType, raw_ostream &OS)
LLVM_ABI void printXSfmmVType (unsigned VType, raw_ostream &OS)
LLVM_ABI unsigned getSEWLMULRatio (unsigned SEW, VLMUL VLMul)
LLVM_ABI std::optional< VLMUL > getSameRatioLMUL (unsigned SEW, VLMUL VLMUL, unsigned EEW)

anonymous enum

Enumerator
TAIL_UNDISTURBED_MASK_UNDISTURBED
TAIL_AGNOSTIC
MASK_AGNOSTIC

Definition at line 84 of file RISCVTargetParser.h.

VLMUL

Enumerator
LMUL_1
LMUL_2
LMUL_4
LMUL_8
LMUL_RESERVED
LMUL_F8
LMUL_F4
LMUL_F2

Definition at line 73 of file RISCVTargetParser.h.

decodeTWiden()

decodeVLMUL()

std::pair< unsigned, bool > llvm::RISCVVType::decodeVLMUL ( VLMUL VLMul )

Definition at line 186 of file RISCVTargetParser.cpp.

References llvm_unreachable, LMUL_1, LMUL_2, LMUL_4, LMUL_8, LMUL_F2, LMUL_F4, and LMUL_F8.

Referenced by llvm::RISCVTargetLowering::computeKnownBitsForTargetNode(), llvm::RISCVInstrInfo::copyPhysRegVector(), getEMULEqualsEEWDivSEWTimesLMUL(), llvm::RISCVTargetLowering::getLMULCost(), getSEWLMULRatio(), llvm::RISCVTargetLowering::isLegalInterleavedAccessType(), isTupleInsertInstr(), llvm::RISCVRegisterInfo::lowerSegmentSpillReload(), printVType(), llvm::RISCVDAGToDAGISel::selectVLXSEG(), and llvm::RISCVDAGToDAGISel::selectVSXSEG().

decodeVSEW()

encodeLMUL()

VLMUL llvm::RISCVVType::encodeLMUL ( unsigned LMUL, bool Fractional ) inlinestatic

encodeSEW()

encodeVTYPE()

encodeXSfmmVType()

getSameRatioLMUL()

std::optional< VLMUL > llvm::RISCVVType::getSameRatioLMUL ( unsigned SEW,
VLMUL VLMUL,
unsigned EEW )

getSEW()

getSEWLMULRatio()

getVLMUL()

VLMUL llvm::RISCVVType::getVLMUL ( unsigned VType) inlinestatic

getXSfmmWiden()

hasXSfmmWiden()

bool llvm::RISCVVType::hasXSfmmWiden ( unsigned VType) inlinestatic

isAltFmt()

bool llvm::RISCVVType::isAltFmt ( unsigned VType) inlinestatic

isMaskAgnostic()

bool llvm::RISCVVType::isMaskAgnostic ( unsigned VType) inlinestatic

isTailAgnostic()

bool llvm::RISCVVType::isTailAgnostic ( unsigned VType) inlinestatic

isValidLMUL()

isValidSEW()

bool llvm::RISCVVType::isValidSEW ( unsigned SEW) inlinestatic

isValidXSfmmVType()

bool llvm::RISCVVType::isValidXSfmmVType ( unsigned VTypeI) inlinestatic

printVType()

printXSfmmVType()