Lines Matching defs:LMUL
26 const llvm::StringRef RISCVLMULInstrument::DESC_NAME = "RISCV-LMUL";
29 // Return true if not one of the valid LMUL strings
39 "Cannot get LMUL because invalid Data value");
40 // These are the LMUL values that are used in RISC-V tablegen
64 // These are the LMUL values that are used in RISC-V tablegen
112 StringRef LMUL;
115 LMUL = "M1";
118 LMUL = "M2";
121 LMUL = "M4";
124 LMUL = "M8";
127 LMUL = "MF2";
130 LMUL = "MF4";
133 LMUL = "MF8";
140 createInstrument(RISCVLMULInstrument::DESC_NAME, LMUL));
169 getEEWAndEMUL(unsigned Opcode, RISCVII::VLMUL LMUL, uint8_t SEW) {
202 auto EMUL = RISCVVType::getSameRatioLMUL(SEW, LMUL, EEW);
204 llvm_unreachable("Invalid SEW or LMUL for new ratio");
236 // Need LMUL or LMUL, SEW in order to override opcode. If no LMUL is provided,
243 uint8_t LMUL = LI->getLMUL();
245 // getBaseInfo works with (Opcode, LMUL, 0) if no SEW instrument,
246 // or (Opcode, LMUL, SEW) if SEW instrument is active, and depends on LMUL
247 // and SEW, or (Opcode, LMUL, 0) if does not depend on SEW.
252 RISCVII::VLMUL VLMUL = static_cast<RISCVII::VLMUL>(LMUL);
256 // Check if it depends on LMUL and SEW
257 RVV = RISCVVInversePseudosTable::getBaseInfo(Opcode, LMUL, SEW);
258 // Check if it depends only on LMUL
260 RVV = RISCVVInversePseudosTable::getBaseInfo(Opcode, LMUL, 0);
268 << ", LMUL=" << (LI ? LI->getData() : "Unspecified")
277 << MCII.getName(Opcode) << ", LMUL=" << LI->getData()