Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.cpp1478 int64_t NumOfVReg = Amount / 8; in getVLENFactoredAmount() local
1483 assert(isInt<32>(NumOfVReg) && in getVLENFactoredAmount()
1485 if (isPowerOf2_32(NumOfVReg)) { in getVLENFactoredAmount()
1486 uint32_t ShiftAmount = Log2_32(NumOfVReg); in getVLENFactoredAmount()
1493 } else if (isPowerOf2_32(NumOfVReg - 1)) { in getVLENFactoredAmount()
1495 uint32_t ShiftAmount = Log2_32(NumOfVReg - 1); in getVLENFactoredAmount()
1504 } else if (isPowerOf2_32(NumOfVReg + 1)) { in getVLENFactoredAmount()
1506 uint32_t ShiftAmount = Log2_32(NumOfVReg + 1); in getVLENFactoredAmount()
1517 if (!isInt<12>(NumOfVReg)) in getVLENFactoredAmount()
1518 movImm(MBB, II, DL, N, NumOfVReg); in getVLENFactoredAmount()
[all …]