Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVSubtarget.h218 unsigned VLen = getMinRVVVectorSizeInBits(); in getRealMinVLen() local
219 return VLen == 0 ? ZvlLen : VLen; in getRealMinVLen()
222 unsigned VLen = getMaxRVVVectorSizeInBits(); in getRealMaxVLen() local
223 return VLen == 0 ? 65536 : VLen; in getRealMaxVLen()
237 if (auto VLen = getRealVLen(); VLen && X.isScalable()) { in expandVScale() local
238 const unsigned VScale = *VLen / RISCV::RVVBitsPerBlock; in expandVScale()
H A DRISCVVectorPeephole.cpp229 if (auto VLen = ST->getRealVLen(), AVL = getConstant(VL); in convertToVLMAX() local
230 VLen && AVL && (*VLen * LMULFixed) / SEW == *AVL * 8) { in convertToVLMAX()
H A DRISCVTargetTransformInfo.cpp484 std::optional<unsigned> VLen, VectorType *Tp, in costShuffleViaVRegSplitting() argument
487 if (!VLen || Mask.empty()) in costShuffleViaVRegSplitting()
490 unsigned ElemsPerVReg = *VLen / ElemVT.getFixedSizeInBits(); in costShuffleViaVRegSplitting()
768 if (std::optional<unsigned> VLen = ST->getRealVLen(); in getShuffleCost() local
769 VLen && SubLT.second.getScalarSizeInBits() * Index % *VLen == 0 && in getShuffleCost()
770 SubLT.second.getSizeInBits() <= *VLen) in getShuffleCost()
H A DRISCVISelLowering.cpp4354 if (const auto VLen = Subtarget.getRealVLen(); in lowerBUILD_VECTOR() local
4355 VLen && VT.getSizeInBits().getKnownMinValue() > *VLen) { in lowerBUILD_VECTOR()
4357 unsigned ElemsPerVReg = *VLen / ElemVT.getFixedSizeInBits(); in lowerBUILD_VECTOR()
5411 const auto VLen = Subtarget.getRealVLen(); in lowerShuffleViaVRegSplitting() local
5412 if (!VLen || VT.getSizeInBits().getFixedValue() <= *VLen) in lowerShuffleViaVRegSplitting()
5423 unsigned ElemsPerVReg = *VLen / ElemVT.getFixedSizeInBits(); in lowerShuffleViaVRegSplitting()
10214 const auto VLen = Subtarget.getRealVLen(); in lowerEXTRACT_VECTOR_ELT() local
10216 IdxC && VLen && VecVT.getSizeInBits().getKnownMinValue() > *VLen) { in lowerEXTRACT_VECTOR_ELT()
10220 unsigned ElemsPerVReg = *VLen / ElemVT.getFixedSizeInBits(); in lowerEXTRACT_VECTOR_ELT()
11451 const auto VLen = Subtarget.getRealVLen(); in lowerINSERT_SUBVECTOR() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.cpp196 BTFTypeEnum::BTFTypeEnum(const DICompositeType *ETy, uint32_t VLen, in BTFTypeEnum() argument
199 BTFType.Info = IsSigned << 31 | Kind << 24 | VLen; in BTFTypeEnum()
235 BTFTypeEnum64::BTFTypeEnum64(const DICompositeType *ETy, uint32_t VLen, in BTFTypeEnum64() argument
238 BTFType.Info = IsSigned << 31 | Kind << 24 | VLen; in BTFTypeEnum64()
398 const DISubroutineType *STy, uint32_t VLen, in BTFTypeFuncProto() argument
402 BTFType.Info = (Kind << 24) | VLen; in BTFTypeFuncProto()
629 uint32_t VLen = Elements.size() - 1; in visitSubroutineType() local
630 if (VLen > BTF::MAX_VLEN) in visitSubroutineType()
637 auto TypeEntry = std::make_unique<BTFTypeFuncProto>(STy, VLen, FuncArgNames); in visitSubroutineType()
731 uint32_t VLen = Elements.size(); in visitStructType() local
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DItaniumMangle.cpp4281 unsigned VLen = VScale->first * llvm::RISCV::RVVBitsPerBlock; in mangleRISCVFixedRVVVectorType() local
4285 if (VecSizeInBits >= VLen) in mangleRISCVFixedRVVVectorType()
4286 TypeNameOS << (VecSizeInBits / VLen); in mangleRISCVFixedRVVVectorType()
4288 TypeNameOS << 'f' << (VLen / VecSizeInBits); in mangleRISCVFixedRVVVectorType()
4290 TypeNameOS << (VLen / VecSizeInBits); in mangleRISCVFixedRVVVectorType()