llvm::RISCVVType::decodeVLMUL

Decode VLMul into an LMUL magnitude and fractional indicator.

Synopsis

Declared in <llvm/TargetParser/RISCVTargetParser.h>

std::pair<unsigned int, bool>
decodeVLMUL(VLMUL VLMul);

Return Value

Pair of (LMUL magnitude in {1,2,4,8}, true if fractional).

Parameters

NameDescription
VLMulEncoded LMUL value.