LLVM
15.0.0git
|
Functions | |
static bool | isValidSEW (unsigned SEW) |
static bool | isValidLMUL (unsigned LMUL, bool Fractional) |
unsigned | encodeVTYPE (RISCVII::VLMUL VLMUL, unsigned SEW, bool TailAgnostic, bool MaskAgnostic) |
static RISCVII::VLMUL | getVLMUL (unsigned VType) |
std::pair< unsigned, bool > | decodeVLMUL (RISCVII::VLMUL VLMUL) |
static RISCVII::VLMUL | encodeLMUL (unsigned LMUL, bool Fractional) |
static unsigned | decodeVSEW (unsigned VSEW) |
static unsigned | encodeSEW (unsigned SEW) |
static unsigned | getSEW (unsigned VType) |
static bool | isTailAgnostic (unsigned VType) |
static bool | isMaskAgnostic (unsigned VType) |
void | printVType (unsigned VType, raw_ostream &OS) |
std::pair< unsigned, bool > llvm::RISCVVType::decodeVLMUL | ( | RISCVII::VLMUL | VLMUL | ) |
Definition at line 144 of file RISCVBaseInfo.cpp.
References llvm_unreachable, llvm::RISCVII::LMUL_1, llvm::RISCVII::LMUL_2, llvm::RISCVII::LMUL_4, llvm::RISCVII::LMUL_8, llvm::RISCVII::LMUL_F2, llvm::RISCVII::LMUL_F4, and llvm::RISCVII::LMUL_F8.
Referenced by printVType().
|
inlinestatic |
|
inlinestatic |
Definition at line 406 of file RISCVBaseInfo.h.
References assert(), isValidLMUL(), llvm::XCoreISD::LMUL, and llvm::Log2_32().
|
inlinestatic |
Definition at line 417 of file RISCVBaseInfo.h.
References assert(), isValidSEW(), and llvm::Log2_32().
Referenced by encodeVTYPE(), and lowerVectorIntrinsicScalars().
unsigned llvm::RISCVVType::encodeVTYPE | ( | RISCVII::VLMUL | VLMUL, |
unsigned | SEW, | ||
bool | TailAgnostic, | ||
bool | MaskAgnostic | ||
) |
Definition at line 130 of file RISCVBaseInfo.cpp.
References assert(), encodeSEW(), and isValidSEW().
|
inlinestatic |
Definition at line 422 of file RISCVBaseInfo.h.
References decodeVSEW().
Referenced by isConvertibleToVMV_V_V(), printVType(), and llvm::RISCVInstPrinter::printVTypeI().
|
inlinestatic |
Definition at line 398 of file RISCVBaseInfo.h.
Referenced by isConvertibleToVMV_V_V(), printVType(), and llvm::RISCVInstPrinter::printVTypeI().
|
inlinestatic |
Definition at line 429 of file RISCVBaseInfo.h.
Referenced by printVType().
|
inlinestatic |
Definition at line 427 of file RISCVBaseInfo.h.
Referenced by isConvertibleToVMV_V_V(), and printVType().
|
inlinestatic |
Definition at line 391 of file RISCVBaseInfo.h.
References llvm::isPowerOf2_32(), and llvm::XCoreISD::LMUL.
Referenced by encodeLMUL().
|
inlinestatic |
Definition at line 386 of file RISCVBaseInfo.h.
References llvm::isPowerOf2_32().
Referenced by computeInfoForInstr(), llvm::RISCVInstrInfo::createMIROperandComment(), encodeSEW(), and encodeVTYPE().
void llvm::RISCVVType::printVType | ( | unsigned | VType, |
raw_ostream & | OS | ||
) |
Definition at line 160 of file RISCVBaseInfo.cpp.
References decodeVLMUL(), getSEW(), getVLMUL(), isMaskAgnostic(), and isTailAgnostic().
Referenced by llvm::RISCVInstrInfo::createMIROperandComment(), and llvm::RISCVInstPrinter::printVTypeI().