Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetMachine.cpp189 unsigned RVVBitsMax = RVVVectorBitsMaxOpt; in getSubtargetImpl() local
197 RVVBitsMax = *VScaleMax * RISCV::RVVBitsPerBlock; in getSubtargetImpl()
206 assert((RVVBitsMax >= RVVBitsMin || RVVBitsMax == 0) && in getSubtargetImpl()
210 assert((RVVBitsMax == 0 || (RVVBitsMax >= 64 && RVVBitsMax <= 65536 && in getSubtargetImpl()
211 isPowerOf2_32(RVVBitsMax))) && in getSubtargetImpl()
216 if (RVVBitsMax != 0) { in getSubtargetImpl()
217 RVVBitsMin = std::min(RVVBitsMin, RVVBitsMax); in getSubtargetImpl()
218 RVVBitsMax = std::max(RVVBitsMin, RVVBitsMax); in getSubtargetImpl()
224 RVVBitsMax = in getSubtargetImpl()
225 llvm::bit_floor((RVVBitsMax < 64 || RVVBitsMax > 65536) ? 0 : RVVBitsMax); in getSubtargetImpl()
[all …]