Lines Matching defs:LMUL
46 const llvm::StringRef RISCVLMULInstrument::DESC_NAME = "RISCV-LMUL";
49 // Return true if not one of the valid LMUL strings
59 "Cannot get LMUL because invalid Data value");
60 // These are the LMUL values that are used in RISC-V tablegen
84 // These are the LMUL values that are used in RISC-V tablegen
132 StringRef LMUL;
135 LMUL = "M1";
138 LMUL = "M2";
141 LMUL = "M4";
144 LMUL = "M8";
147 LMUL = "MF2";
150 LMUL = "MF4";
153 LMUL = "MF8";
160 createInstrument(RISCVLMULInstrument::DESC_NAME, LMUL));
189 getEEWAndEMUL(unsigned Opcode, RISCVII::VLMUL LMUL, uint8_t SEW) {
222 auto EMUL = RISCVVType::getSameRatioLMUL(SEW, LMUL, EEW);
224 llvm_unreachable("Invalid SEW or LMUL for new ratio");
256 // Need LMUL or LMUL, SEW in order to override opcode. If no LMUL is provided,
263 uint8_t LMUL = LI->getLMUL();
265 // getBaseInfo works with (Opcode, LMUL, 0) if no SEW instrument,
266 // or (Opcode, LMUL, SEW) if SEW instrument is active, and depends on LMUL
267 // and SEW, or (Opcode, LMUL, 0) if does not depend on SEW.
272 RISCVII::VLMUL VLMUL = static_cast<RISCVII::VLMUL>(LMUL);
276 // Check if it depends on LMUL and SEW
277 RVV = RISCVVInversePseudosTable::getBaseInfo(Opcode, LMUL, SEW);
278 // Check if it depends only on LMUL
280 RVV = RISCVVInversePseudosTable::getBaseInfo(Opcode, LMUL, 0);
288 << ", LMUL=" << (LI ? LI->getData() : "Unspecified")
297 << MCII.getName(Opcode) << ", LMUL=" << LI->getData()