Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.cpp3069 int64_t NumOfVReg = Amount / 8; in getVLENFactoredAmount() local
3072 assert(isInt<32>(NumOfVReg) && in getVLENFactoredAmount()
3083 ((NumOfVReg % 3 == 0 && isPowerOf2_64(NumOfVReg / 3)) || in getVLENFactoredAmount()
3084 (NumOfVReg % 5 == 0 && isPowerOf2_64(NumOfVReg / 5)) || in getVLENFactoredAmount()
3085 (NumOfVReg % 9 == 0 && isPowerOf2_64(NumOfVReg / 9)))) { in getVLENFactoredAmount()
3089 if (NumOfVReg % 9 == 0) { in getVLENFactoredAmount()
3091 ShiftAmount = Log2_64(NumOfVReg / 9); in getVLENFactoredAmount()
3092 } else if (NumOfVReg % 5 == 0) { in getVLENFactoredAmount()
3094 ShiftAmount = Log2_64(NumOfVReg / 5); in getVLENFactoredAmount()
3095 } else if (NumOfVReg % 3 == 0) { in getVLENFactoredAmount()
[all …]
H A DRISCVRegisterInfo.cpp452 int64_t NumOfVReg = ScalableValue / 8; in eliminateFrameIndex() local
454 Offset = StackOffset::getFixed(FixedValue + NumOfVReg * VLENB); in eliminateFrameIndex()
H A DRISCVFrameLowering.cpp399 const int64_t NumOfVReg = Amount / 8; in adjustStackForRVV() local
400 const int64_t FixedOffset = NumOfVReg * VLENB; in adjustStackForRVV()