Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.cpp1845 int64_t NumOfVReg = Amount / 8; in getVLENFactoredAmount() local
1850 assert(isInt<32>(NumOfVReg) && in getVLENFactoredAmount()
1852 if (isPowerOf2_32(NumOfVReg)) { in getVLENFactoredAmount()
1861 ((NumOfVReg % 3 == 0 && isPowerOf2_64(NumOfVReg / 3)) || in getVLENFactoredAmount()
1862 (NumOfVReg % 5 == 0 && isPowerOf2_64(NumOfVReg / 5)) || in getVLENFactoredAmount()
1863 (NumOfVReg % 9 == 0 && isPowerOf2_64(NumOfVReg / 9)))) { in getVLENFactoredAmount()
1867 if (NumOfVReg % 9 == 0) { in getVLENFactoredAmount()
1869 ShiftAmount = Log2_64(NumOfVReg / 9); in getVLENFactoredAmount()
1870 } else if (NumOfVReg % 5 == 0) { in getVLENFactoredAmount()
1872 ShiftAmount = Log2_64(NumOfVReg / 5); in getVLENFactoredAmount()
[all …]