LLVM 17.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) |
unsigned | getSEWLMULRatio (unsigned SEW, RISCVII::VLMUL VLMul) |
std::pair< unsigned, bool > llvm::RISCVVType::decodeVLMUL | ( | RISCVII::VLMUL | VLMUL | ) |
Definition at line 155 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 llvm::RISCVInstrInfo::copyPhysReg(), getSEWLMULRatio(), hasFixedResult(), llvm::RISCVTargetLowering::isLegalInterleavedAccessType(), isLMUL1OrSmaller(), and printVType().
Definition at line 477 of file RISCVBaseInfo.h.
References assert().
Referenced by getSEW(), and llvm::RISCVDAGToDAGISel::selectVSETVLI().
|
inlinestatic |
Definition at line 471 of file RISCVBaseInfo.h.
References assert(), isValidLMUL(), and llvm::Log2_32().
Referenced by lowerGetVectorLength().
Definition at line 482 of file RISCVBaseInfo.h.
References assert(), isValidSEW(), llvm::Log2_32(), and SEW.
Referenced by lowerGetVectorLength(), and lowerVectorIntrinsicScalars().
unsigned llvm::RISCVVType::encodeVTYPE | ( | RISCVII::VLMUL | VLMUL, |
unsigned | SEW, | ||
bool | TailAgnostic, | ||
bool | MaskAgnostic | ||
) |
Definition at line 141 of file RISCVBaseInfo.cpp.
References assert(), MaskAgnostic, SEW, and TailAgnostic.
Referenced by llvm::RISCVDAGToDAGISel::selectVSETVLI().
Definition at line 487 of file RISCVBaseInfo.h.
References decodeVSEW().
Referenced by isConvertibleToVMV_V_V(), and llvm::RISCVInstPrinter::printVTypeI().
unsigned llvm::RISCVVType::getSEWLMULRatio | ( | unsigned | SEW, |
RISCVII::VLMUL | VLMul | ||
) |
Definition at line 196 of file RISCVBaseInfo.cpp.
References assert(), decodeVLMUL(), SEW, and VLMul.
|
inlinestatic |
Definition at line 463 of file RISCVBaseInfo.h.
Referenced by isConvertibleToVMV_V_V(), and llvm::RISCVInstPrinter::printVTypeI().
Definition at line 494 of file RISCVBaseInfo.h.
Definition at line 492 of file RISCVBaseInfo.h.
Referenced by isConvertibleToVMV_V_V().
Definition at line 456 of file RISCVBaseInfo.h.
References llvm::isPowerOf2_32().
Referenced by encodeLMUL().
Definition at line 451 of file RISCVBaseInfo.h.
References llvm::isPowerOf2_32(), and SEW.
Referenced by llvm::RISCVInstrInfo::createMIROperandComment(), encodeSEW(), and llvm::RISCVInstrInfo::verifyInstruction().
void llvm::RISCVVType::printVType | ( | unsigned | VType, |
raw_ostream & | OS | ||
) |
Definition at line 171 of file RISCVBaseInfo.cpp.
References decodeVLMUL(), and OS.
Referenced by llvm::RISCVInstrInfo::createMIROperandComment(), and llvm::RISCVInstPrinter::printVTypeI().