Home
last modified time | relevance | path

Searched refs:NumOfVReg (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVRegisterInfo.cpp216 const int64_t NumOfVReg = Offset.getScalable() / 8; in adjustReg() local
217 const int64_t FixedOffset = NumOfVReg * VLENB; in adjustReg()
245 uint32_t NumOfVReg = ScalableValue / RISCV::RVVBytesPerBlock; in adjustReg() local
252 if (UseVsetvliRatherThanVlenb && (NumOfVReg == 1 || NumOfVReg == 2 || in adjustReg()
253 NumOfVReg == 4 || NumOfVReg == 8)) { in adjustReg()
256 .addImm(NumOfVReg) in adjustReg()
273 (NumOfVReg == 2 || NumOfVReg == 4 || NumOfVReg == 8)) { in adjustReg()
274 unsigned Opc = NumOfVReg == 2 in adjustReg()
276 : (NumOfVReg == 4 ? RISCV::SH2ADD : RISCV::SH3ADD); in adjustReg()
282 TII->mulImm(MF, MBB, II, DL, ScratchReg, NumOfVReg, Flag); in adjustReg()
H A DRISCVFrameLowering.cpp617 uint32_t NumOfVReg = Amount / RISCV::RVVBytesPerBlock; in allocateAndProbeStackForRVV() local
620 TII->mulImm(MF, MBB, MBBI, DL, TargetReg, NumOfVReg, Flag); in allocateAndProbeStackForRVV()